‎2008 Oct 21 2:37 PM
Hi,
Would appreciate some help on this one.
We are using this FM to get a price specific to a customer.
It does this OK except for a certain condition with a specific access. This troublesome access is :-
Camp. ID/Sales org./Distr. Chl/Customer/Material, where the customer field is a hierarchy field (09)
In debug (in SD_COND_ACCESS), I can see that the hierarchy fields are not set, howeber when i debug VA01 i can see these fields set to be the correct hierarchy node and the codition type is brought back to VA01.
When I call the FM it does not return the required condition. It looks like the import structure ORDER_HEADER_IN does not have an area for hierarchy data.
I have also tried to add the hierarcjy data into the import partner table with no luck either.
Any ideas anyone?
Thanks
Tony
‎2008 Oct 21 3:37 PM
It looks like VA01 fills in the field VBAK-HITYPE. But where on the import structures can we fill this on BAPI_SALESORDER_SIMULATE????