Skip to Content

enter g/l Acoount posting(F-02) by using bdc program

Hi Friends !

I have upload into 'F-02' Tcode by using Bdc program first i have four items in one row on excel sheet it posted one document no. then after the next Row have three items but atlast one mandatory field is business area in fourth screen it shows error it is not uploaded.how to Skip the screen in runtime.If any solution please share me .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 05, 2014 at 05:34 AM

    Hi Mahesh,

    You need to be clear with your requirement. It is a bit confusing what you have said. Could you please clarify more in detail.

    It is advisable to use BAPI rather than BDC.

    Use 'BAPI_ACC_GL_POSTING_POST' and try.

    Thanks,

    Naveen

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Naveen,

      I send a excel sheet it is uploaded into 'F-02' tcode by using Bdc program .First I am uploaded first row it's have four items but again i want to upload second row it's have three items but it goes to fourth screen in that one madantory field is there(i.e., Business area ) the error rise then document no. not posted.i don't want to go fourth screen.How to avoid that.Please tell me .That mens i want depend upon the item's the screen's will be ended.

      Document Date Doc. Type Co. Code Posting Date Period Currency Reference Text Posting Key G/L Amount Bus. Place Assignment Item Text Posting Key G/L Bus. Area Amount Bus. Place Assignment Item Text Posting Key G/L Bus. Area Amount Bus. Place Assignment Item Text Posting Key G/L Bus. Area Amount Bus. Place Assignment Item Text Bus. Area 04.12.2014 sa tspl 04.12.2014 9 inr testing testing 40 111010 12345 3000 testing testing 50 442512 8001 10000 3000 testing testing 50 442512 8001 2000 3000 testing testing 50 442512 8001 345 3000 testing testing 8001 04.12.2014 sa tspl 04.12.2014 9 inr testing testing 40 111010 12345 3000 testing testing 50 442512 8001 10000 3000 testing testing 50 442512 8001 2345 3000 testing testing 50 442512 8001
  • Posted on Dec 05, 2014 at 07:05 AM

    Well, better use BAPI as already written, there are also CHECK versions of the BAPI

    • BAPI_ACC_GL_POSTING_POST -> BAPI_ACC_GL_POSTING_CHECK
    • BAPI_ACC_DOCUMENT_POST -> BAPI_ACC_DOCUMENT_CHECK

    Or use some FM that build the BDC for you (they manage the screen sequence), look at following FM:

    • POSTING_INTERFACE_START
    • POSTING_INTERFACE_DOCUMENT
    • POSTING_INTERFACE_END

    Else if you are not in a hurry, you could play with FM as FI_CHECK_ACCOUNT_ASSIGNMENT to identify required fields and dynpro, or ask your functional for some rules.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

    • Wat is you exact requirement

      • If there is no data in 4th block then don't add relative records in the BDC and inert the ok_code BUCH data as soon as there is no data ?
      • If not every data available, then CALL TRANSACTION with incomplete bdcdata (no 4th screen and no final ok_code) and with option (NOBIEND = 'X') and let user end the input ?

      Regards,
      Raymond

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.