Introduction:
SAP Business Network > SAP Ariba Buyer Portal > Planning Collaboration
There are various processes on Planning Collaboration like Forecast, SMI etc.
Buyers send various parts along with their timeseries data. There are hundreds of materials which are sent from Buyer's ERP system to SBN Buyer portal and Suppliers can see those buyer parts. There could be a requirement to make these parts active or inactive in bulk. There is an option to make these parts inactive or active on the portal itself, but it can be cumbersome to do it page wise or single items. So this blog lists the way on how to automate this process.
Audience: Buyer planners, Technical Leads, Buyer Integrators, ABAP Developers, Integration experts.
This process can be automated using ProductActivityMessage Proxy XML message triggered from SAP S/4HANA or ECC system using an ABAP Enhancement.
There could be materials with various statuses 04, 05, 81 or any other status in your organization, which means they are inactive materials, same should be reflected to SAP Business Network Buyer/Supplier with the correct status so that suppliers are not able to view the inactive materials and do a commit for those materials.
Pre-requisite condition: Only those materials with status inactive should be sent in a single run. No active materials timeseries data should be sent in the same run. Multiple materials can be sent for a single supplier with the inactive status.
How to form a message:
Extrinsic AribaExtension should be added with attributes fieldname = "status", fieldValue = "inactive"
<n0:ProductActivityMessage xmlns:n0="http://sap.com/xi/ARBCIG1"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:prx="urn:sap.com:proxy:H19:/1SAI/TASFC5B8F89F4A21FCA924F:754">
<Header>
<VendorID>17300002</VendorID>
<SystemID>S4HCLNT400</SystemID>
<CreationDate>2023-07-19</CreationDate>
<MessageID>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</MessageID>
<DocumentID>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</DocumentID>
<TimeZone>-07:00</TimeZone>
<EnterTime>11:49:26</EnterTime>
<ProcessType>Forecast</ProcessType>
<ProductDetails>
<AribaExtension fieldName="status" fieldValue="inactive"/>
<ItemID>
<BuyerPartID>RM1_CP</BuyerPartID>
</ItemID>
</ProductDetails>
</Header>
</n0:ProductActivityMessage>
When above message reaches Managed Gateway, it is to be handled using below mapping on Managed Gateway for ProductActivityMessage:
Multiple ProductDetails with buyer part details can be sent in a single message for a particular supplier that we want to make inactive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
9 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |