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

Preliminary_Posting_Doc_Write Function

Hi,

I'm trying to use Preliminary_Posting_Doc_Write Function , to create a Vendor Invoice without a purchase order. the 'Blart' parameter has to be type 'KR', and the account type in the items table has to be 'K' with the tax code 'V1' in MWSKZ.

I'm using the Ides system, and can't seem to get it to work. It adds the header and the items to the database tables, but when I try and display using FBV3 , I can't see the items. Has any one got any test data with the above parameters, am I missings something obvious?

One of the error messages I get is "Vendor is not defined in comapnay code 1000"

amny Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 19, 2005 at 06:10 AM

    Hi,

    you can simulate your booking with TA <b>FBV1</b> before

    using your bapi.

    regards Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2005 at 03:08 PM

    Hi sims,

    You will need to eliminate all errors before you can see the posted document in the database.

    So if you are getting the error message "Vendor is not defined in comapnay code 1000", then you will need to use another vendor or set up that vendor in company code 1000, or change the company code you are posting to.

    These application errors must be addressed before your document will be posted.

    Cheers,

    Brad

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Pick a vendor from table LFB1 for the company(BUKRS) 1000, use this vendor in the function module (check to see if the vendor is not deleted or inactivated)

      Verify the Vendor exists for the company code using transaction <b>FK02</b> (combination of Vendor and Company code).

      Rishi

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.