We are facing a issue with regards loading of Planned Independent Requirements from IBP to S/4 using BAPI_REQUIREMENTS_CREATE as a webservice.
We have been able to successfully execute the HCI task withone product and one location as filter. But when i execute the task with multiple locations for one product, the PIR's are getting summed up across all locations and puts in the same value (summed up value) across all the locations.
For e.g. Lets assume Product 1001201 has 2 locations AB01 and AB02.
Following is the CONSENSUSDEMANDPLANQTY in weekly buckets;
We believe that there is an issue with the mapping of the iteration rule, since there are 2 repeatables in the BAPI Webservice XML Map, but we can only map the same iteration rule at the top level and at Item level.
Pl find below the dataflow with webservice;
In the webservice payload step, we have to define 2 iteration rules - One at top level
And 2nd Iteration rule at RequirementsScheduleIn - Item level
Since there is only one Input structure, we can map the same input repeatables to both on the right side repeatables.
I even tried to create 2 repeatables on the input side, but it still didn't work.
Has anyone experienced this and if so what is the resolution?
Appreciate your help in advance.