cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create a purchase order using a web service

hiroyayoneyama
Explorer
0 Kudos
1,004

Most of the items can be registered from the Web service, but the value is not set in the detail tab> detail details> basic data> text. I think that the text associated with the set product ID is set, but why isn't the value set? The service I'm using is "ManagePurchaseOrderIn's ManagePurchaseOrderInMaintainBundle".

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

did you check the translations in the materials data master?

Answers (3)

Answers (3)

hiroyayoneyama
Explorer
0 Kudos

Dear Giancarmelo,

What I want to do is not update the material master text, but want to know if the item text displayed on the purchase order can be set to any value. The language is set to Japanese in the first place, but it is strange that the text of the English sentence is set to the detailed text in the API. Is this an API specification?

0 Kudos

I believe that the default language is dependent from the company language/country.

If you refer to the web service for the material creation, it is possible to manage different language description

Regards

<n0:MaterialBundleMaintainRequest_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
    <BasicMessageHeader>
        <ID>1234567890ABCDEF0123456789ABCDEF</ID>
    </BasicMessageHeader>
    <Material actionCode="01">
        <InternalID>P100702</InternalID>
        <ProductCategoryID>180</ProductCategoryID>
        <BaseMeasureUnitCode>EA</BaseMeasureUnitCode>
        <Description actionCode="01">
            <Description languageCode="EN">Wooden Pallet</Description>
        </Description>
    </Material>
</n0:MaterialBundleMaintainRequest_sync_V1>

hiroyayoneyama
Explorer
0 Kudos

Dear Giancarmelo,

Thank you.
When I checked the English translation of the materials data master, the text was not entered.

By the way, is it possible to set any value to the text from the web service?