2011 May 13 1:21 PM
Req: to redetermine tax condition for the items when the document date in Sales order is change
I changed DocumentDate from 01.09.2010 to 29.07.2010 or opposite and the tax condition should be redetermine for the items.
In Bapi 'BAPI_SALES_ORDER_CHANGE', I am passing
2) header structure ,
b) Pricing type 'G' to structure '' and
c) item table with details such as posnr, matnr.
Consider there are 2 items:
Now when I pass only 1 item (supposed item 10) and Pricing type = G , tax condition of both items are redetermined.
I would like the tax condition of only the item passed (i.e item 10) to the item's table should be redermined. Tax condition for item 20 should not be determined.
How could I achieve this?
Req: to redetermine tax condition for the items when the document date in Sales order is change
I changed DocumentDate from 01.09.2010 to 29.07.2010 or opposite and the tax condition should be redetermine for the items.
In Bapi 'BAPI_SALES_ORDER_CHANGE', I am passing
2) header structure ,
b) Pricing type 'G' to structure '' and
c) item table with details such as posnr, matnr.
Consider there are 2 items:
Now when I pass only 1 item (supposed item 10) and Pricing type = G , tax condition of both items are redetermined.
I would like the tax condition of only the item passed (i.e item 10) to the item's table should be redermined. Tax condition for item 20 should not be determined.
How could I achieve this?
2011 May 13 6:57 PM
What is the field name for pricing type ? where are you passing? i mean, which structure?
if you are passing the same at header level then it is for every item in the order. Find the field (at least i didnt find the pricing type) at item and pass those items with pricing type G for which you want to redetermine the taxes. However, do not pass at header.
2011 May 16 7:32 AM
Hi Sampath,
Thanks for the reply.
I am passing pricing type 'G' in structure 'logic_switch-pricing'.
I could find the pricing type field only in this structure and I think it should be at header level.
My requirement is to change the pricing type of only the selected items.
Thanks & Regards,
Abhishek Singh
2011 May 19 8:30 AM
Hi All,
Any solution to the above problem.
Thanks in advance.
Regards,
Abhishek