Skip to Content
author's profile photo Former Member
Former Member

BAPI_ACC_DOCUMENT_POST

Hi,

Even am using BAPI BAPI_ACC_DOCUMENT_POST to post my FI doc and its working fine except some 3 problem in that

1. for some document type for eg AB it calculate some tax in BAPI the description of field is (Amount eligible for cash discount in document currency) and field name is DISC_BASE and when we c the field while posting it through fb01 or through bdc it name is bseg-skfbt , please let me some thing about it if some one can.

2. Field rstgr in bseg table am not able to field this field in BAPI so couldnt enter this field so what can be doen about this.

3. For document type zd the BAPI return error give error like document type ZD can be posted only through batch please suggest me some thing is this.

Thanks in advance.

Regards.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Feb 18, 2005 at 07:48 AM

    Hi Pawan,

    1) SKFBT: Part of the invoiced amount for which cash discount is granted.

    E.g. Amount net : 1000 EUR

    DISC_BASE (SKFBT) = 900 EUR

    Terms of payment : 14 days, 2 %

    Bline date = 2005/02/18

    -> so Cash discount amount net = 2 % * 900 EUR = 18 EUR

    When amount is paid until 2005/03/04

    3) see TA OBA7 and double click to document type , which you'll change

    here's a check box "btch input only", which you can modify to test posting manual.

    Hope that will help you

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 18, 2005 at 09:00 AM

    Hi Andreas,

    Thanks for the help for OBA7 tc yaa i have check it and make the necessary changes .

    But for skfbt what my concern is while manually posting document the system automatically calculate the amount

    DISC_BASE(SKFBT)( and populate it when we c the document from FB03 TC ) i want to know that what is the logic of this is there any FM to get this because in my BAPI program am not passing any value in it that means it should calculate automatically that value as it does in batch input .

    If you can help me in this please send your suggestion fast

    thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 21, 2005 at 03:43 PM

    Hi,

    did you find an answer about your problem?

    I have the same problem with BAPI_ACC_DOCUMENT_POST, could you help me please?

    Thank in advance,

    Fabio.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2007 at 11:14 AM

    "2. Field rstgr in bseg table am not able to field this field in BAPI so couldnt enter this field so what can be doen about this."

    I now have this isue. Anyone know how to solve it ?

    Tnks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Check the user exit for this BAPI. In there you can change internal table it_accit (structure ACCIT), which contains the line items. Here the field RSTGR is available, so if you change it here it will get posted.

      Reward points if helpfull.

      Regards,

      Bart

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.