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

Create a credit memo from NACE - how to get the VBRP-VBELN value?

Howdy,

I've got a problem:

I gotta craete a credit memo when an output type is triggered in NACE via a debit memo (billing).

Only problem is I don't know how to get the billing document number from VBRP for the specific dcument that has triggered the output type in NACE?

Can anyone help?

Have I been Clear.

Thanks y'all!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 18, 2005 at 04:21 PM

    Hello Steve,

    give NAST-OBJKY a try. NAST is globally defined by calling program, so you should find VBRK-VBELN in this field.

    Compare also program RVADIN01, form get_data. There SAP determines VBELN out of NAST.

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Christian!

      Just got a niggle though.

      How do I know which entry in NAST is my one i.e. the one that was recently triggered from the output type?

      DO we look for the most recently created one?

      Or is there a flag? If so do I then need to close this flag field when I've finished witht the data?

      Much obliged

  • Posted on Jan 18, 2005 at 06:01 PM

    Hi Steve,

    I thought you implement your credit memo creation like a print program for sapscript (or smartforms):

    Having a report with entry routine.

    This program/routine you can assign as processing routine in your output type (in NACE).

    Then NAST-selection and calling will be part of standard.

    Regards,

    Christian

    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.