01-18-2008 12:43 PM
Hi!!
I have two issue please help me!!
1)If i post a data to bapi bapi_acc_manual_alloc_post ,then if error are there then how to write records to a batch input file.
2) how to append work area to custom table.
suppose i have
custom table :yrepost
internal table : it_yrepost
work area : wa_repost
then how to append data from wa_repost to yrepost.
thank you
amit.
01-18-2008 3:12 PM
Hi Amit
I didn't get your 1st question. Could you plz let us know your requirement in detail.
BAPI BAPI_ACC_MANUAL_ALLOC_POST returns messages ( Error/Warning/Info etc ) in RETURN table parameter. You can check RETURn table parameter for message type 'E' ( Error )
2) how to append work area to custom table.
Syntax is
INSERT INTO dbtab [CLIENT SPECIFIED] VALUES wa.
In your case it should be
INSERT INTO YREPOST VALUES wa_repost.
Hope it will help you.
Regards,
Naren
01-18-2008 3:12 PM
Hi Amit
I didn't get your 1st question. Could you plz let us know your requirement in detail.
BAPI BAPI_ACC_MANUAL_ALLOC_POST returns messages ( Error/Warning/Info etc ) in RETURN table parameter. You can check RETURn table parameter for message type 'E' ( Error )
2) how to append work area to custom table.
Syntax is
INSERT INTO dbtab [CLIENT SPECIFIED] VALUES wa.
In your case it should be
INSERT INTO YREPOST VALUES wa_repost.
Hope it will help you.
Regards,
Naren
01-23-2008 5:06 AM
Hi!!
Actually i have to write a batch input file for all the errors returned by bapi,return parameters.
thanks
amit.
01-28-2008 9:46 AM