‎2009 Jul 30 3:36 PM
Dear all,
When the records are uploading of purchase order using BAPI method,it has been created,but my problem is the corresponding account assignment (TAB) values has not uploaded,rest of the things as fine .I have passed the value 'X' to POITEMX-ACCTASSCAT , POITEMX-ITEM_CAT ,also POITEM-ACCTASSCAT = 'K' and POITEM-ITEM_CAT = '0'.
In POACCOUNT and POACCOUNTX ,also i have declared the values like
I assigned value 'X' to C_FLAG.
MOVE : WA_PO-EBELP TO POACCOUNTX-PO_ITEM,
V_ASLNO TO POACCOUNTX-SERIAL_NO,
C_FLAG TO POACCOUNTX-COSTCENTER,
C_FLAG TO POACCOUNTX-PO_ITEMX,
C_FLAG TO POACCOUNTX-GL_ACCOUNT,
C_FLAG TO POACCOUNTX-CO_AREA.
MOVE : WA_PO-EBELP TO POACCOUNT-PO_ITEM,
V_ASLNO TO POACCOUNT-SERIAL_NO,
WA_PO-KOSTL TO POACCOUNT-COSTCENTER,
WA_PO-SAKTO TO POACCOUNT-GL_ACCOUNT,
V_CO_AREA TO POACCOUNT-CO_AREA.
Expecting your valuable answers....Thanks
<=<< Sharing Knowledge is a way to Innovative >>=>
Regards!
Yoga
‎2009 Aug 03 9:38 AM
‎2009 Aug 03 11:11 AM
Hi,
It has very helpful to me.Actually,i had passed the GL account value to BAPI without internal conversion exit,Now,its working fine.
With Regards!
Yoga
‎2009 Aug 03 11:17 AM
Hi,
U can Try like this.
MOVE : WA_PO-EBELP TO POACCOUNT-PO_ITEM,
V_ASLNO TO POACCOUNT-SERIAL_NO,
WA_PO-KOSTL TO POACCOUNT-COSTCENTER,
WA_PO-SAKTO TO POACCOUNT-GL_ACCOUNT,
V_CO_AREA TO POACCOUNT-CO_AREA.
I assigned value 'X' to C_FLAG.
MOVE : WA_PO-EBELP TO POACCOUNTX-PO_ITEM,
V_ASLNO TO POACCOUNTX-SERIAL_NO,
C_FLAG TO POACCOUNTX-COSTCENTER,
C_FLAG TO POACCOUNTX-PO_ITEMX,
C_FLAG TO POACCOUNTX-GL_ACCOUNT,
C_FLAG TO POACCOUNTX-CO_AREA.
it will resolves ur proble.
regards,
Venkat
‎2009 Aug 03 12:26 PM
Hi venkatesh,
I have coded the same logic... What you are telling,first pass the value to POITEM ,then go for POITEMX.Actually,that is nothing but format to see the codes...Finally we have to pass the values in the BAPI function module.that problem was solved, i also replied about it..thanks for your suggestion
<=<< Sharing Knowledge is a way to Innovative >>=>
By,
Yoga