on 12-13-2011 11:17 AM
Hi Experts,
I have a problem to print a label.
When I use the default format page (DINA4) in a sapcript basic settings the label was print correctly. But, when I use the new format page (ZGB_PRAT - created by basis) the error happens.
In a debbug mode I can see that: The functions to open and start form returns correctly (subrc = 0). But the function to print the main window returns with error (subrc = 7) and leave the process.
The message error is that: END_FORM is invalid, OPEN_FORM is missing.
I checked the size of main window and it's according to size of format page.
To make sure, I created a new sapscript and since the start I use the page format size. Didn't work.
I don't know how I can resolve this.
Please, Help me.
Hi,
Can you post the error, when you are executing driver program (THAT IS NOT IN DEBUGGING MODE).May be the problem is with your new Page format.it might not created correctly.please let me know the error ,when your executing the driver program.
with regards
Naresh bammidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
call function 'OPEN_FORM'
exporting
device = '??????' "what is the printer used ?
it might be possible that you are printing on an wrong /invalid printer .May be this printer cant print the page format you specified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let me explain more about the problem...
I have two labels.. The first one work perfectly and uses the same device type. The second one uses different format page. And is the only difference between both.
I have a perform to call the function. The perform to start and open form is the same to everyone, the only different parameters is the name of form.
So, all leads to belive the problems in the format page.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.