2011 Jan 19 12:14 PM
Dear Experts,
I am unable to post two line items using BAPI_CTRACDOCUMENT_CREATE.
When I append one record to partnerpositions, one line item is created and there are no errors.
When I append two records to partnerpositions I get the error Formal error in table FKKOP: Item numbering is inconsistent
Please help me.
Regards,
Nasreen
2011 Jan 19 12:54 PM
Hi ,
Kindly check the following :
1. in Partnerpostion are you getting the value for ' ITEM ' and componenet type ' OPUPK_KK '. As the entry is required for line item number in contract account document and as you are appending 2 records , it would be required .
Hope this helps.
Regards ,
Dewang T
2011 Jan 19 12:54 PM
Hi ,
Kindly check the following :
1. in Partnerpostion are you getting the value for ' ITEM ' and componenet type ' OPUPK_KK '. As the entry is required for line item number in contract account document and as you are appending 2 records , it would be required .
Hope this helps.
Regards ,
Dewang T
2011 Jan 26 9:10 AM
Hello Nasreen .
This FM can only work with 1 Value !
Store your yalues in an internal Table.
Loop At it_TT
Call funktion BAPI_CTRACDOCUMENT_CREATE
Endloop.
regards
Chris
2011 Jan 26 9:32 AM
no Chris i don't this that is the case.
My problem was solved by changed the item value !
Regards,
Nasreen