Skip to Content
avatar image
Former Member

SAP Script

Hi,

In my Invoice I want Customer Name & address instead of Customer Code

Can We functional do it without ABAper's Help

I have Script form also

If yes How?

Regards,

Rahul

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 20, 2008 at 07:41 AM

    Hi,

    Goto SE71. enter script name and click on change.

    First you have to identify in which window customer information displays?

    In menu click on settings>Form Painter>SAP script tab> select the graphical form painter.

    You will get another layout screen,there identify the window name for customer information. E.g Address/Info window.

    Go back and deselect the graphical form painter.

    Click on page windows tab, select the Address window and press F9.

    system takes billing header information from VBDKR structure.

    Change the customer code here, VBDKR-KUNRG to

    VBDKR-NAME1

    &VBDKR-STRAS& etc.... save and activate.

    Regards,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 07:06 AM

    in the script where the customer number is getting populated, the value that it is taking right now would be from VBAK-KUNNR and hence you get the customer code.

    Use an internal table to first read the vlaue VBAK-KUNNR and then using this as a key, goto KNA1 (with key as KUNNR) and get the vlaue of field NAME1.

    Take some ABAP help if you are not familiar but it is pretty easy to do so.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 07:27 AM

    Hi Rahul

    If u don't know ABAP than u cann't do this. Take help of some ABAPer, it's a very simple task. Even if know a little bit of programming u can do it.

    Add comment
    10|10000 characters needed characters exceeded