Skip to Content
0

How can i automatically release a Return To Supplier?

Mar 20, 2017 at 12:43 PM

54

avatar image
Former Member

i already succeed to create Return to Supplier from Web Service. my question, how could i release the Created Return To Supplier automatically?

regards,

Ayoub

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sahalya Begum
Jan 09 at 12:32 PM
0

Dear Ayoub,

The release of RTS will automatically happen.

Use the action code 4 "<ReturnToSupplierMaintBundle actionCode="04">" and you have to explicitly trigger save from a A2X service only then it will be released.

Best regards,

Sahalya

Share
10 |10000 characters needed characters left characters exceeded
Arun Mavinahally Lakshmikantha
Feb 16 at 12:34 PM
0

Hi Ahmed,

You can use the below sample request to create RTS in the system.

Below Action codes represent an instruction to the recipient of the web service request to process transmitted message node elements.

Action CodeDescription01 Create; the system returns an error message if the node element already exists.02Update; the system returns an error message if the node element does not exist.03Delete; the system returns an error message if the node element does not exist.04 Save; the system creates or changes the node element data.05 Remove; the system deletes the node element. If the node element does not exist, the system does not send an error message.06 No Action; the system does not change the node element.

Here is an example web service request to create Returns to Supplier:

<n0:ReturnToSupplierMaintainBundleRequest xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BasicMessageHeader/>
<ReturnToSupplierMaintBundle actionCode="01">
 <BuyerParty actionCode="01">
  <PartyKey>
   <PartyTypeCode>200</PartyTypeCode>
   <PartyID>MC10000</PartyID>
  </PartyKey>
 </BuyerParty>
 <Item>
  <ItemID>1</ItemID>
  <BusinessTransactionDocumentItemTypeCode>18</BusinessTransactionDocumentItemTypeCode>
  <Quantity unitCode="EA">1</Quantity>
  <DeliveryPeriod>
   <StartDateTime timeZoneCode="UTC-8">2016-11-30T12:00:00.1234567Z</StartDateTime>
   <EndDateTime timeZoneCode="UTC-8">2016-11-30T12:00:00.1234567Z</EndDateTime>
  </DeliveryPeriod>
  <ItemInboundDeliveryReference ActionCode="01">
   <BusinessTransactionDocumentReference>
    <ID>2222</ID>
    <TypeCode>24</TypeCode>
    <ItemID>10</ItemID>
    <ItemTypeCode>14</ItemTypeCode>
   </BusinessTransactionDocumentReference>
  </ItemInboundDeliveryReference>
 </Item>
</ReturnToSupplierMaintBundle>
</n0:ReturnToSupplierMaintainBundleRequest>

Could you please try creating using above action codes?

Best Regards,

Arun

Share
10 |10000 characters needed characters left characters exceeded