07-04-2006 8:00 AM
Hii avery body ...
well i am having a problem that when i am displaying the output with tcode va02 .. the first time i am issuing the output the tel no is not getting diaplayed and when i am 2nd time again issuing the output thn the same is getting populated corectly .. can anybody help me with this..
07-04-2006 8:04 AM
Hi Rohit,
Put the break point in the print program where the data s getting populated and activate debugger for your sapscript form.You will get good idea why it is happening.
07-04-2006 8:04 AM
Hi Rohit,
Put the break point in the print program where the data s getting populated and activate debugger for your sapscript form.You will get good idea why it is happening.
07-04-2006 8:11 AM
well i have debugged it but wat common thnk i have fnd in both the cases is that ...
PERFORM FETCH_STREET_NO IN PROGRAM Z_BASIS_COMMON_ROUTINE
USING &VBDKA-ADRNR_WE&
CHANGING &STR&
CHANGING &TEL& *
CHANGING &MOB& *
ENDPERFORM
this is the code which is there in the script .. so whene debbuging i cant c the filds of &tel& and &mob& while debugging . i mean the 2 stattements marked as *
07-04-2006 8:14 AM
go to se38 enter <b>Z_BASIS_COMMON_ROUTI</b>NE programm
u find that.
07-04-2006 8:16 AM
Execute it second time see from where these two fields are getting populated as you told in the earlier thread that when you are executing it second time the telephone number is getting printed.
Put the break point in the program Z_BASIS_COMMON_ROUTINE
the processing will go to the program Z_BASIS_COMMON_ROUTINE after the Sapscript form.Check what is happening.
Message was edited by: mukesh kumar
07-04-2006 8:21 AM
ya the values r getting populated the 2nd time ... but the * marked statemnet r not there ...
the values r getng displayed by the folwng statement
,,TELNO./MOBNO,,<B>&TEL&</> / <B>&MOB&</>
07-04-2006 8:31 AM
Just debugg smartly.In the sapscript data does not gets populated.All the data will be populated in the print program only.Sapscript form only displays the populated data from the print program.Check at which point the data is getting populated in print program,and why it is not getting populated at that point first time.
07-04-2006 8:47 AM
thanks mr mukesh it has been solved .. actualy i had included the 2 statemnet in a diff perform ..