cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Dear,

Thanx for reply

can u pls give me steps by step in details

regards,

rahul