10-18-2007 9:34 AM
Hi All,
i got a requirement to add some feilds to the the existing layout and remove some of them.
can any body explain me in detail how to do the necessary changes.
very urgent plzz...
Message was edited by:
ram g
10-18-2007 9:55 AM
1st know the location of the fields to be printed...
add those fields in the respectife window and under respective element...
e.g. * &fld1&
the value should be fetched (in fld1) in the main report before calling the element that prints fld1.
to remove the fields.. check if any other field is getting printed after that.. in same line.. then align the other field to get printed in usual location...
if some fields are getting printed in next line..then give one line space after deletinf the field.. to maintain previous spacings of fields...
10-18-2007 9:55 AM
1st know the location of the fields to be printed...
add those fields in the respectife window and under respective element...
e.g. * &fld1&
the value should be fetched (in fld1) in the main report before calling the element that prints fld1.
to remove the fields.. check if any other field is getting printed after that.. in same line.. then align the other field to get printed in usual location...
if some fields are getting printed in next line..then give one line space after deletinf the field.. to maintain previous spacings of fields...
10-18-2007 10:00 AM
10-18-2007 10:18 AM
how to know the exact location where we are going to insert the feild
10-18-2007 10:35 AM
10-18-2007 10:46 AM
Hi,
You need to debug and check all the fields & the values in each window.If you find the required fields you want to display, display only those fields in the appropriate window, comment all other fields.
(use Utilities-> Activate Debugger)
addind fields similarly you can add yourself by checking out the position in the layout.
Rewards if useful.
kavitha
10-18-2007 11:26 AM
Not yet got the correct help regarding the addition of feilds in scripts
10-18-2007 11:41 AM
1st look into the final print...
then as per the location of the field that you want to remove...
search for the window in the SAP Script..
you need to do some guess work.. otherwise... search for all the windows with similar structure...
In the Graphical form painter you can get the structure and spacing of all the windows...
still you dont fintd the desired field debug the script...
go to SE71.. in Utilities -> Activate debugger
now execute your TCODE which calls this SAPScript...
there you'l get SAPScript Debug window...
here do F5 to proceed like normal debugging...
you'l get your desired field somewhere in the debugging...
there note down the element and window name of the field..
and remove the field from the respective window element