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

Creating a new condition record in table B027 by a FM

Hi,

Is there a FM which can create an entry in table B027 (condition records for PO output determination with key purchasing org and vendor)?

Many thanks in advance,

Peter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 04:26 PM

    I had to debug transaction NACR to find the answer ...

    Use FM NUMBER_GET_NEXT to get last used condition number, passing OBJECT = 'NACH' and NR_RANGE_NR = '01'.

    Populate internal tables for VAKE and NACH.

    Then use FM

    NACHRICHTEN_SICHERN_V13B to create the condition record from the next available number, also passing VAKE and NACH. Don't forget the all-important field UPDKZ at the end of internal table NACH! (Populate it with 'I' to create a condition record).

    The data is stored in tables NACH and B027, linked by condition number (KNUMH). Use can also use these functions to populate tables B025 and B026, among others.

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

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.