Skip to Content

how to write records into batch input file

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 23, 2008 at 05:06 AM

    Hi!!

    Actually i have to write a batch input file for all the errors returned by bapi,return parameters.

    thanks

    amit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2008 at 09:46 AM

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.