‎2009 Apr 28 9:03 AM
Hi All,
I am using below submit statement in my program.When I freshly log in to SAP and try to execute my program , program stops at selection screen of submit program rv50sbt1.With no values on selection screen even though in debugger I can see that values are being passed.
After this if I again try to execute my Z program SUBMIT works fine and everything goes well.
Then what is the issue that SUBMIT doesnt work only when I freshly log in to system and execute Z program.
SUBMIT rv50sbt1
WITH vstel EQ w_vstel
WITH s_ledat-high EQ w_date
WITH s_ledat IN s_ledat
WITH s_vbeln IN t_vbeln1
WITH samml EQ c_const2
WITH anzei EQ c_const1
AND RETURN.
Thanks
Saurabh
‎2009 Apr 28 3:42 PM
Are you on a release > 4.6? The report you use has been released as of this release and the first time you run this program a popup is issued, which will not be issued the next time (unless you log off and log on again).
You should use report RVV50R10_PRESTEP instead.
Regards,
John.
‎2009 Apr 28 4:32 PM
Hi Saurabh,
When you try to log for the first time and execute the Program the value of the
Parameter Id LE_VL10_VL04_OLD is not 'X' which is why values are not passed.
Just Debug the code and check the value of the parameter id.
Try these codes:
DATA : w_VSTEL TYPE vbco2-vstel,
c1.
w = '0001'.
GET PARAMETER ID 'LE_VL10_VL04_OLD'
FIELD c1. " Get the value
IF c1 NE 'X'. " If execute for the first time it will no be 'X'
c1 = 'X'.
SET PARAMETER ID 'LE_VL10_VL04_OLD'
FIELD c1. " Seting the parameter ID if Its no 'X'
ENDIF.
SUBMIT rv50sbt1
WITH vstel EQ w_VSTEL
and return.Note: If the Value of Parameter Id LE_VL10_VL04_OLD is not 'X' value will not be passed.
Regards,
Pinaki
‎2009 Apr 28 4:57 PM
Check out the INFO button help ON POPUP
The upgrade information dialog box appears a maximum of once per
terminal session. You can avoid this message after a system restart
or when you call up the old delivery list processing function for
the first time if you set user parameter LE_VL10_UPG_NOMSG = 'X' by
choosing System -> User profile -> Own data.
‎2009 Apr 29 4:40 AM
Hi Saurabh Joshi,
As per my knowledge what all screen fields names in rv50sbt1 program should be same, I mean
SUBMIT rv50sbt1
WITH vstel EQ w_vstel " This should be vstel = vstel (you need to declare in our Zprogram as same)
WITH s_ledat-high EQ w_date " Same with all like s_ledat-high = s_ledat-high
WITH s_ledat IN s_ledat " and s_ledat in s_ledat
WITH s_vbeln IN t_vbeln1 " s_vbeln in s_vbeln
WITH samml EQ c_const2 " samml = samml
WITH anzei EQ c_const1 " anzei = anzei
AND RETURN.
Regards,
Suneel G
‎2009 Oct 07 7:38 AM
‎2009 Oct 07 7:47 AM