SAP Knowledge Base Article - Public

2972150 - How to retrieve Code List for the Element OutputRequestFormTemplateCode (ManageGoodTags) Using the Webservice II_QUERY_CODE_LIST_IN

Symptom

You are using the web service "ManageGoodTags" to create labels, but you are unable to choose the output forms from the web service. However, you can see that there is an Element that is called "OutputRequestFormTemplateCode", but you cannot find any information about the values accepted by this tag.

Environment

SAP Business ByDesign

Cause

There is a generic web service - II_QUERY_CODE_LIST_IN - to fetch the code list and its values. You can use the same to get the code list of the Element OutputRequestFormTemplateCode.

Resolution

A sample payload (for English language code) would be:

<n0:CodeListByIDQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<CodeListSelectionByID>
<SelectionByCodeDataType>
<Name>OutputRequestFormTemplateCode</Name>
<NamespaceURI>http://sap.com/xi/AP/Common/GDT</NamespaceURI>
</SelectionByCodeDataType>
<SelectionByLanguageCode>EN</SelectionByLanguageCode>
</CodeListSelectionByID>
</n0:CodeListByIDQuery_sync>

You can find further explanation on how to use this query in this blog post: https://blogs.sap.com/2015/03/12/how-to-get-bydesign-code-lists-via-web-service/

See Also

 How to get ByDesign Code Lists via Web Service QueryCodeListIn

Keywords

Label, Labels, Code List, GoodsTag, Production, Outbound Delivery, OutputRequestFormTemplateCode , KBA , AP-GTP , Goods Tag Processing , How To

Product

SAP Business ByDesign all versions