on 08-06-2008 6:35 AM
Dear experts,
I have two issues to get clear working with delivery note.
1
First issue is that using nace i have attached my own developed zform and specified the driver program.On execution,in the dialog for output type selection,i get only
preview either i click preview button or print button as i have customized it to display only preview.
Still user can go to Text->Print and take the printout so no worries.
Now as he has taken output print ,the moment he clicks back button message comes 'Output cannot be issued' .I conclude this is because standard transaction control is lost once it goes to smartform program or is there some way i have to customize my program which i am missing.This thing is not clear to me.To get rid of this error i used.
LEAVE TO TRANSACTION SY-TCODE.
I need an alternative solution by which i get a valid message
'Output issued successfully' which i do note get using this way.
2
Next issue is that in my coding , i have used getparameter to fetch memory variable for vbeln.Further i use it to display the delivery note.
In transaction VL71,if i type only one Outbound delivery number, i get output correctly but if i select more than one
delivery item number using checkboxes i get a blank form.
How should i control my smartform to take input here.
Does more than one value point to some separate memory location other than the one i am using.
Kindly help these get clarified.
Thanx in advance.
Ans for point 1.
After call function 'SF_name'.
if sy-subrc = '0'.
message 'Output successful' type 'S'.
CALL TRANSACTION sy-tcode.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Point (1) is happening with VL02N and 2 with VL71N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.