Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP scripts - Text Elements

Former Member
0 Likes
504

Hi Abapers..

I am using SAP 4.7EE version. I wanted to generate a Script to show all the Order details of each customer. My main page consists of the following windows

1. Header

2. Address (Of that particular customer)

3. Body (To show the order details)

When I tried to Right click 'Address' window and select 'Text Elements' it takes me to a <b>plain window where there are no lines in it.</b>

If i write for example &KNA1-KUNNR& in this window the same thing is displayed at the O/P as a text but, not the Name of the customer which is required.

When i type the system field like &DATE& it works!!. I request u r feed back on

Why i am getting the plain window ? insted of getting the usuall window with lines and all other stuff. And is there any syntax error in writing the above mentioned fields?

1 ACCEPTED SOLUTION
Read only

dani_mn
Active Contributor
0 Likes
478

HI,

to get the lines in the layout you have to use the menu.

Actully there are two editors you can switch between them using the following menu path.

GOTO-->CHANGE EDITOR

to display value of &KNA1-KUNNR& it should be declared and filled in the driver program and then use here.

Regards,

4 REPLIES 4
Read only

Former Member
0 Likes
478

&KNA1-KUNNR& : here u have to get the data from the tables in that driver program , then only u will get it in o/p.

&date& : u get data bcos this is system variable ,so no need to pass the data to this field.

regards

Prabhu

Read only

dani_mn
Active Contributor
0 Likes
479

HI,

to get the lines in the layout you have to use the menu.

Actully there are two editors you can switch between them using the following menu path.

GOTO-->CHANGE EDITOR

to display value of &KNA1-KUNNR& it should be declared and filled in the driver program and then use here.

Regards,

Read only

Former Member
0 Likes
478

change ur editor option for this is..

GOTO-->CHANGE EDITOR

Read only

Former Member
0 Likes
478

Thanks guys, I have also noticed that later..

But any way once again thnaks for spending your time