04-16-2014 6:51 PM
hi.
have a look on 'one' image.
i am getting the below error...
---
i create a form through the Se71
Simply i put one page and 3 Windows.
have a look on 'page window.' image.
After that i double click on the address and then i enter.
& wa_lfa1-lifnr &
& wa_fla1-name1 &
& wa_fla1-ort01 &
at page window
i double click on the 'address'(window name) and then i click on the text at header level
have a look on 'problem' image.
through the se38 i am calling the form
but i am not getting the result.
in se38 i think no problem plz have a look on
in dubug mode i put break point
and i checked it
wa_lfa1-lifnr and other fields are capturing the values i mean getting
dbcount is 1
but in sap -script i am not getting..
--------------------------------------------------------------
i think the problem is at text element..
is it correct way to enter the variables.
plz suggest me any idea..
04-16-2014 7:53 PM
Hi.
you are writting the name of the variables with space between the &.
should be sth like this &wa_lfa1-name1& and not separated as you did.
Regards
Miguel
04-16-2014 7:10 PM
Hi,
As it is now, what you have entered in SapScript Text element (problem.png) are not the variables but text '& wa_lfa1-lifnr &' ... That text is getting printed... I have no idea how to enter variables when using MS Word as Sapscript editor, but to the very least there should be no spaces between & and variable names.
cheers,
Janis
04-16-2014 7:53 PM
Hi.
you are writting the name of the variables with space between the &.
should be sth like this &wa_lfa1-name1& and not separated as you did.
Regards
Miguel
04-17-2014 5:12 AM
hi. Right now i am learning Sap script...
my first question. is..
in my script form address one window is there..
on address window i am double clicking and then i am pressing text element at the toolbar..
my quesiton is am i entering in currect place....
i seen one video in that video i have seen diff editor for entering the value
&wa_lfa1_lifnr&
plz give me suggestions...
and also i remember
i all ready tried...
&wa_lfa1_lifnr& without spaces..
04-17-2014 5:38 AM
Hi Srinvas,
You have to write the value as shown below.
You have to write your coding in the editor Below.
Regards,
Sindhuja.
04-17-2014 5:44 AM
Hi, Sindhuja
Thanks For your reply...
i will check it.
Give me some time..
right now i dont have Environemnt to check it..
i will update u later..
04-17-2014 6:47 PM