Skip to Content
avatar image
Former Member

FB01 link between screen and posting key

Hello  experts

im doing a recording for   FB01  and i notices that for each different posting key  it display  a different scree.**

example    if my posting key is 31  then the next screen generated by the recorder is 302

IF  POSTING KEY IS 40   or 50       then screen 300 is displayed

if  posting key is  39    then   screen 303   get displayed

my question is there a table where all these posting key are difined with appropriate screen   that i can acess and read  to determine my screen in the program ?

Thnaks for your help

Tahar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 29, 2014 at 10:30 AM

    Hi Tahar,

    Use BAPI BAPI_ACC_DOCUMENT_POST for FB01 posting. There are so many posts available for the same on SCN. Please check those. BDC could be cumbersome and this bapi gives better alternative.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2014 at 10:23 AM

    Hi,

    Seems you are posting accounting documents and hence doing recording for FB01 transaction.

    I would suggest to use BAPI "BAPI_ACC_DOCUMENT_POST" instead of using BDC.

    As accounting document will have lots many other parameters too for which BDC recording would be difficult and screens varies from different parameters.

    for example. for COPA fields, tax field, vendor specific fields etc.

    In BAPI "BAPI_ACC_DOCUMENT_POST" you can pass Posting keys for separate line items(we can pass or BAPI will automatically determine). Hence its easy and suggested to use BAPI instead of BDC.

    Hope this helps for your problem.

    Thanks,

    Sagar

    Add comment
    10|10000 characters needed characters exceeded