Skip to Content
avatar image
Former Member

Invoice posting throught IDOC

Invoice posting is done from SRM to R/3 using IDOC. My requirement is to update the bseg-zlsch for the invoice posted based on segment in IDOC.

Please suggest how to acheive this.

Regards,

RaajaKumar V.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 12, 2013 at 01:02 PM

    Solved by own.

    Created an enhancement in "POST_DOCUMENT" and updated BSEG-ZLSCH with the required value.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 12, 2013 at 07:06 AM

    Raaja,

    Try and updated fields VBRK-LAND1(Dest. Country) & VBRK-ZLSCH(Pmt Method) to get respective entry in BSEG-ZLSCH.

    Thanks, JP

    Add comment
    10|10000 characters needed characters exceeded

    • Generally, a preferred Payment Method is maintain in Sales Order - Header Data - Accounting Tab in the sales order. Same flows in billing doc and subsequenlty, same flows into the respective accounting doc.

      I'm not sure though. As you are interest in userexit or BADI to push your desired entiries in accounting, you can refer following discussion for further understanding:

      - update zlspr and zlsch in ABAP program

      Thanks, JP