on 06-06-2011 9:31 AM
Hi All,
I am new to SAP Script. I have a requirement to add additional footer part in the existing custom script. I tried creating a new window as additional foter included the text in it. But when I execute the form, it is not showing this added text at all on the form. Is there anything to do with print program? something to link script window with print program something like that? Please suggest.
Thank you in advance.
Regards,
Ashwini
Moderator message: please choose more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Jun 6, 2011 11:47 AM
Hi Ashwini,
If you could go the layout section and check whether the window is displaying there ,it would be helpful.
settings>form painter->check the boxes that pop-up and then you would be able to see an overview of the layout of your windows.
If your footer window appears and there has to be some issue in calling this window in your driver program.
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Kevin, I feel the same. I am able to see the window which I created from form painter. And also, when I go to Utilities->Test print-> Print preview, i am able to see the text which I entered in the window I created (this is even when I didnt call my window in driver program). but same I am unable to see thru actual transaction where interface has done.
Pleas suggest.
Regards,
Ashwini
Hi,
It seems tht u might have not called it in Driver program.
please look it in ur driver program tht u must hav written their or if not please write ..
so it will call in the script also ..
and it will resolve ur problem also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
have you copied the window to all pages?
The window will be passed at end of the main-window.
Do you print some hardcoded text in this window with a standard paragraph and character?
Is your window overlapped with the main window?
PLs check and may post some code here.....
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scripts are client dependent , are you testing in the same client as in the one you made changes or a different client?
Also are you printing static text or variables?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have included my window in Main page where all other windows are there.And driver program is calling the main window. And some of the other window name I didnt find calling in driver pgm. Can u tell me hw to chk window is called in driver pgm or not? and also tell me is it neccessary call all windows created need to called from driver pgm?
Hi,
if you want to find whether the window is calling your driver prg or not click the fine button in the text type the window name or element name. In that write_form they call window name and element name.
If you want to pass the value from driver program to sap script use the write_form FM. before calling the function module
in the layout we need to create Text Element(/E Element) for the particular window. In the write_form you just pass the
window name and element name like as bellow example.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = SPACE "pass the element
WINDOW = 'MAIN' "pass the window name
*FUNCTION = 'SET'
*TYPE = 'BODY'
*IMPORTING
*PENDING_LINES =
*EXCEPTIONS
*ELEMENT =
*FUNCTION =
*TYPE =
*UNOPENED =
*UNSTARTED =
*WINDOW =
we should find the place when we call the foot window that time you have to call the write_form.
Regards,
Dhina.
Your steps done sound reasonable and i see no problem.
So either you were doing something wrong in the process, or you forgot to activate, or whatever.
Try debugging it. Switching on SAP-Script debugger -> SE71 -> utilities -> activate debugger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.