‎2013 Feb 16 7:33 PM
HI
I am creating a PO using BAPI BAPI_PO_CREATE1 and I need to add condition record for the material using the same BAPI. I am able to create PO as well as insert condition record for the material in PO. How ever I am facing an issue in condition record.
I am providing condition record value in POCOND table in field cond_val but the value is getting displayed in Amount column in PO not in Condition value column. I want the value to be in condition value column in PO.
wa_pocond-ITM_NUMBER = lv_item.
wa_pocond-COND_TYPE = 'ZEXD'.
wa_pocond-COND_VALUE = 25.
wa_pocond-CHANGE_ID = 'I'.
APPEND wa_pocond TO it_pocond.
wa_pocondx-ITM_NUMBER = c_x.
wa_pocondx-COND_TYPE = c_x.
wa_pocondx-COND_VALUE = c_x.
wa_pocondx-CHANGE_ID = c_x.
APPEND wa_pocondx TO it_pocondx.
I want the value 25 to come in Condition value column not in aAmount column as in the screen shot attched.
Kondly help.
Thanks
Sumit
‎2013 Feb 18 11:56 AM
Hi Guys,
Thanks for the replies. I got it resolved. I just changed my condition type pricing and it worked..:):)
Thanks ,
Sumit K.
‎2013 Feb 16 9:23 PM
Hi Sumit,
Maybe the value getting updated is correct.
Check the below links. You might get a clue
‎2013 Feb 18 4:52 AM
Hi Aniket,
Yeah the value is not getting updated in KONV-KWERT field but it is coming in the Amount column not in the Condition column . I want it to come in Condition value column. Kindly refer screen shot attached..
Thanks
Sumit K.
‎2013 Feb 17 10:17 AM
Hello,
Please change and check.
wa_pocond-ITM_NUMBER = lv_item.
wa_pocond-COND_TYPE = 'ZEXD'.
wa_pocond-COND_VALUE = 25.
wa_pocond-CHANGE_ID = 'I'.
wa_pocond-CHANGE_ID = 'U'.
APPEND wa_pocond TO it_pocond.
Thanks,
Abhijit
‎2013 Feb 18 4:53 AM
‎2013 Feb 18 11:56 AM
Hi Guys,
Thanks for the replies. I got it resolved. I just changed my condition type pricing and it worked..:):)
Thanks ,
Sumit K.
‎2020 Nov 04 4:15 PM
Hi Sumit K.
I have the same problem. when you say: "I just changed my condition type pricing". what does it means? thanks a lot
Tito