Sap Script - Where to find "bipmap" objects.
Hi All,
In a window of the Sap Script I find this code:
BITMAP EC_LG_0020 OBJECT GRAPHICS ID BMAP TYPE BMON
INCLUDE EC_ST1_0020 OBJECT TEXT ID ST LANGUAGE IT PARAGRAPH H1
My question: where can I find the objects saved on the Sap System, like EC_LG_0020?
If I launch the tcode SO10 I can find only the object EC_ST1_0020.
Any help will be well appreciated.
Thanks in advance.
Regards,
Giovanni
Hi
All Images in SAP can be Found using SE78 Tcode , based on the whether it is Color or Blackn white image u can search in this Tcode.
And all Standard texts can be found using SO10 tcode..
for further information chk this link
https://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript
surya
Similar Messages
-
Read Before Posting - Where to find Business Objects Java SDK Resources
Before posting you should look through the various resources below for the answers to your questions. A lot of the "how to" or "where can I find" questions are already answered in the material below.
Search the Forums
Use the search feature in these forums to see if your question has already been answered.
SDK Libraries
[BI 4.0|http://www.sdn.sap.com/irj/boc/sdklibrary]
[BusinessObjects Enterprise XI 3.0|http://www.sdn.sap.com/irj/boc/sdklibrary?rid=/webcontent/uuid/90db428d-71ba-2e10-7eb7-d3286eec5ac0]
[BusinessObjects Enterprise XI Release 2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
[BusinessObjects Enterprise XI Release 1|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm]
Crystal Enterprise 10, Not available online.
[Online Viewable JavaDocs|http://help.sap.com/javadocs/index.htm#sapbobj]
SAP Notes
(Formerly known as the Business Objects Knowledge Base)
This is a good location to find known issues, look up error messages, and general tips and tricks with the BusinessObjects Enterprise product line.
[https://service.sap.com/notes] (this requires logon to the SAP Service Marketplace).
Crystal Reports Server, Crystal Reports and Xcelsius SAP Notes are accessible here:
[https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
Sample Code Search
[BusinessObjects Enterprise SDK|https://wiki.sdn.sap.com/wiki/x/HQBmBQ]
[RAS SDK|https://wiki.sdn.sap.com/wiki/x/HgBmBQ]
[Web Services SDK|https://wiki.sdn.sap.com/wiki/x/HwBmBQ]
[Report Engine SDK|https://wiki.sdn.sap.com/wiki/x/IABmBQ]
[Crystal Reports Java SDK|https://wiki.sdn.sap.com/wiki/x/JgBmBQ]
[Java Reporting Component SDK|https://wiki.sdn.sap.com/wiki/x/JwBmBQ]
Business Objects Downloads
- Service Packs and Fix Packs
- Merge Modules and Installation Packages
- Sample Reports and Databases
[http://service.sap.com/bosap-downloads] (requires logon to SAP Service Marketplace).
Crystal Report For Eclipse
[WIKI|https://www.sdn.sap.com/irj/boc/crystalreports-java]
[Product Portal|https://www.sdn.sap.com/irj/boc/crystalreports-java]
Crystal Reports Server, Crystal Reports, and Xcelsius Downloads
[https://www.sdn.sap.com/irj/sdn/businessobjects-downloads]
Business Objects Articles
[https://www.sdn.sap.com/irj/sdn/businessobjects-articles]
Edited by: Aasavari Bhave on Oct 25, 2011 8:49 AMThanks. That was useful.
-Rajini -
SAP script command for finding string length
Hi ,
Can anyone please let me know what is the equivalent command to strlen() in sap script editor. I need to find the string length of a symbol in sap script editor itself without writing the logic in print program or by calling any includes in the sap script editor.
Regards,
DeepthiHi Deepthi,
As an alternative, you can use the perform statement in SAPscript so that it will execute a subroutine you implemented in another report.In the subroutine, you can do everything you want.
Have a look at this link to find out how exactly.
http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
Best regards,
George -
View all script labels and find an object by its script label
Hello,
I have an InDesign document in which many objects get a script label. I know how to view and edit the script label of an object, but is it possible to:
1 - See a list of all the script labels of the document (as can be done with the styles for example)?
2 - Search an object in the document by its script label?If you are using OSX this AppleScript displays a list of document labels:
global labels
set labels to []
tell application "Adobe InDesign CS6"
set x to every page item of active document
repeat with i in x
if class of i is group then
my checkGroup(i)
else
my getLabel(i)
end if
end repeat
display dialog labels as string
end tell
on checkGroup(g)
tell application "Adobe InDesign CS6"
set gi to all page items of g
repeat with a in gi
if class of a is group then
my checkGroup(a)
else
my getLabel(a)
end if
end repeat
end tell
end checkGroup
on getLabel(pageitem)
tell application "Adobe InDesign CS6"
if label of pageitem is not "" and label of pageitem is not in labels then
set labels to labels & label of pageitem
end if
end tell
end getLabel -
PLZ HELP SAP SCRIPT ISSUE (DYNAMIC BOX)
Hi all
I want to include a dynamic text (means number of lines can vary) inside a box .
please guide me how i can create this box whose size would be dynamic according to this text.
plz help i am not able to find ne solution
Thanx in advance
Edited by: SARABPREET CHADHA on Mar 14, 2008 11:33 AMFollowing things to be done in Driver program.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = TEXT_ID
LANGUAGE = PRINT_LANGUAGE
NAME = TEXT_NAME
OBJECT = TEXT_OBJECT
IMPORTING
HEADER = TABLE_HEADER
TABLES
LINES = TABLE_LINES
EXCEPTIONS
ID = 01
LANGUAGE = 02
NAME = 03
NOT_FOUND = 04
OBJECT = 05
REFERENCE_CHECK = 06.
then
CALL FUNCTION 'WRITE_FORM_LINES'
EXPORTING
HEADER = TABLE_HEADER
WINDOW = WINDOW
IMPORTING
FROMPAGE = FROMPAGE " not interested ?
TABLES
LINES = TABLE_LINES
EXCEPTIONS
FUNCTION = 01
TYPE = 02
UNOPENED = 03
UNSTARTED = 04
WINDOW = 05.
and then in sap script.
/: INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID&
/: PARAGRAPH T6 LANGUAGE
Your text will apper in sapscript.
Award points if useful... -
Hi All,
I am modifying a sap script.
when i open the PC editor in sap script (where i can find PERFORM statements), i dont find the page with signs " /: ".
Instead i am observing plane white screen with PERFORM statements.
what might be the reason for this..????
PavanHi,
You have to WRITE PERFORM statements in the script explicitley for your requirement, when you wants to get some extra data displayed on your script output.
They are not predefined in script.
To calculate totals and sub totals in sap scripts you have to use subroutines.
Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
/: DEFINE &TOT_PRICE&
/: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
Then write the variable where ever you want it to be printed (mostly it will be in footer window)
Then create subroutine pool program and you have to write the code.
FORM F_GET_PRICE tables int_cond structure itcsy
outt_cond structure itcsy. data : value type kbert.
statics value1 type kbert.
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
regards,
Anji -
SAP Script Box Width Vs Font Size
Hi All,
I have a SAP Script where Boxes Width are based on CH for ex..
BOX YPOS 1 LN WIDTH 3 CH HEIGHT 1 LN FRAME 1 TW'
BOX YPOS 1 LN XPOS 3 CH WIDTH 18 CH HEIGHT 1 LN FRAME 1 TW
Now i have to populate the value in that 2 box with some values say mandt and matnr which are 3 and 18 char in length (Keeping those length in mind i desined the boxes)
When i use Courier Font Size 12 , it fits fine in box boxes but when i use font size 8 then everything is messed up...
It start up properly then the first character of matnr is displayed in the first box...
How do i determine the box size width based on the font size ...
In SAP Script header setting i have char/inch set up as 10 --Would that make any difference
Please the client needs in SAP Script only...
ThanksAny suggestions will be appreciated
-
Regarding Multiple pages in SAP Script Output
Hi All,
I have a requirement in SAP Script where i need to print data in multiple pages. I had created 1 page - FIRST with properties <b>Next Page</b> as FIRST , <b>Mode</b> as INC.
In the output i have multiple line items, the data will carry upto 3 pages.
Now In the output First page data is printing correctly.
In the second page all the windows are carried forward to print all the data correctly except in MAIN WINDOW.
In Second page in MAIN Window i have ITEM HEADER which i want to print on every page as it is printing in First page of output, but i am not been able print ITEM HEADER though i am able to print all the ITEM DETAILS correctly on every page.
Can anybody tell how can i print ITEM HEADER on every page which is in MAIN Window.
Thanks in advance.
Thanks & Regards,
Rayeezuddin.Hi Shaik,
If you are only printing Item Details in the Main Window, why don't you create a saperate window just above your main window for Item Headers.
Hope this should solve your problem or Please elobarate your query.
Thanks,
Vinod. -
Question on form printing in SAP scripts
Hi,
I would like to know whether it is possible to print color logos in forms using sap scripts or not ?
If possible, please provide the steps for uploading a color logo into the form using a sap script.
Is the color of the logo displayed only in the printout or can it seen in the print preview as well after uploading the logo?
If anybody has good material on sap scripts, pls mail the same to my email id - [email protected] .
Thanks & Regards,
VijayHi,
First you have to import the logo into SAP through TCode SE78 (if it is a BMP file) and using program RSTXLDMC (if it is of TIFF file).
Go to SE78 -> Double click Graphics -> double click BMAP -> then go to Menu Graphic then select Import. Then give the name and description. Then choose whether it should be in colour or black and white. This completes the process of importing the logo into SAPscript.
Then you can use the name of this object in SCRIPTS .IN Sap script, YOu can include text object(if you have uploaded the image using rstxldmc) or include graphic if you have used se78 in text elements section of the Page windows.
SAPScripts
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
SAP SCRIPT FIELDS
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
scripts easy material
http://www.allsaplinks.com/sap_script_made_easy.html
http://www.sappoint.com/abap/ssintro.pdf
http://www.sappoint.com/abap/sscript.pdf
http://www.sappoint.com/abap/sscript.pdf
http://www.sappoint.com/abap/lsetssap.pdf
http://www.sappoint.com/abap/sscrtpex1.pdf
http://www.sap-img.com/sapscripts.htm
http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
http://www.sappoint.com/abap/sscrtpex1.pdf
http://www.sap-img.com/sapscripts.htm
http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
Other Links
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
http://www.allsaplinks.com/dialog_programming.html
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://www.geocities.com/ZSAPcHAT
Regards,
Priyanka. -
Where do we find a box command in sap script
Hai,
where do we find a box command in sap script, how to create box command ,
its urgent help outHi
SAPScripts
POSITION WINDOW
SIZE WIDTH '160' MM HEIGHT '140' MM
BOX FRAME 10 TW
Box
BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
linessssssss
BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
Boxes, Lines, Shading: BOX, POSITION, SIZE
Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX Command
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
XPOS, YPOS
Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame.
Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
Default: 100 (full black)
Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
The following conversion factors apply:
1 TW = 1/20 PT
1 PT = 1/72 IN
1 IN = 2.54 CM
1 CM = 10 MM
1 CH = height of a character relative to the CPI specification in the form header
1 LN = height of a line relative to the LPI specification in the form header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
POSITION Command
Syntax
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
XORIGIN, YORIGIN
Origin of the coordinate system.
WINDOW
Sets the values for the left and upper edges to match those of the current window (default setting).
PAGE
Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE Command
Syntax
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
WIDTH, HEIGHT
Dimensions of the rectangle or line.
WINDOW
Sets the values for the width and height to the values of the current window (default setting).
PAGE
Sets the values for the width and height to the values of the current output page.
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
Regards
anji -
How to find List of Z forms in sap script?
Hi Could any one help me to trace out how could we find the List of z FORMS(sap script forms) in sap system..
For instance if i put z* in smartforms and press f4 i will find list of customized forms where as
when i did the same thing in sapscripts (se71) it will display a tree structure ...where its hard to trace out...waiting for your inputs!!
Regards
SasGoto SE38
& execute program RSTXFCAT.
Enter Z* in FORM field.
Best regards,
Prashant
Hi Viswa when i gone through above format i can see 6 output forms
but when i see the same in TADIR with object name as FORM i can see 10 forms
which 4 are extra but unable to get them in the sap script . when i am entering the names in form and using diaply button system is prompting as the form(those 4 FORMS ) are not existing?
WHY SO any idea...im table even i didnt find any difference as such
Regards
Sas -
Where to find Crystal Report Formats for SAP B1 8.8 (India Localization) ?
Hi Experts,
do anybody knows Where to find Crystal Report Formats for SAP B1 8.8 (India Localization) ?
For example
Sales Register
Purchase Register
Journal Register
Sales Analysis - Crystal Report
Purchase Analysis - Crystal Report
Check Register - Crystal Report
Production register
Pending Sales Order
Outstanding Receivable
Outstanding Payable
BankBook
CashBook
General Ledger
BP Ledger (Customer / Supplier)
Trial Balance
Balance Sheet
Profit & Loss Statment
Cash Flow statment
Excise reports
RG 23 A Part I
RG 23 A Part II
RG 23 C Part I
RG 23 C Part II
Daily Stock Account
RG 1
ER 1
etc....
Documets Layout
Incoming Payment
Outgoing Payment
Journal Entry
Transaction Journal Report - Crystal Report
Sales Quotation
Sales Order
Sales Delivery
Sales Return
Sales Invoice (A/R Invoice)
Purchase Order
Goods Receipt PO
Purchase Goods Return
Purchase Invoice (A/P Invoice)
Inventory Transfer
Inventory - Goods Receipt
Inventory - Goods Issue
Best Regards,
Samir GandhiHi Neetu,
Do you wish that at all customer site all concern involved in implemtation do the same work ?
I believe ERP is meant for single entry system, and it should be true for implementation also, why to invest man hours for the same task ?
I expect it standard reports should be released by SAP, so that speed of implementation improve, we have more nos. of satisfied customers.
customised reports is all together different and it is understood that it is needed to be developed after study the exact requirement.
Best Regards,
Samir Gandhi -
Finding last page in SAP Script when there are multiple layouts involved?
Hi,
I want to find out the last page in the SAP script. I have used &NEXTPAGE& = '0', this is finding the last page of a one layout however I do have three layouts in my script. I have also used the &SAPSCRIPT-JOBPAGES(3ZC)& and I have taken one counter and comapred as follows-
If &SAPSCRIPT-COUNTER_1(+)& = &SAPSCRIPT-JOBPAGES(3ZC)&
LAST PAGE.
endif.
This is also not working. Please advise if there is anyway to find out the last page from print program.
Thanks,
JyotiHi,
U can do like this, Set a flag in ur driver program when u reach to print the last layout then pass this flag value to Script. In script check when this FLAG = 'X' & &NEXTPAGE& = 0 then u print the required in ur last page.
Eg:
define a FLAG in ur driver program and make the value as 'X' when it reach the last layout.
in script, write the condition like:
/: IF &FLAG& = 'X' AND &NEXTPAGE& = 0
write text.
/: ENDIF.
Hope it helps!!
Rgds,
Pavan -
Find total no of pages in a sap script
Hi,
How do i find the no of pages that is generated in SAP script, with out generating a spool.
thanks.Dear friend
new system symbols (note upper case) were therefore introduced:
&SAPSCRIPT-FORMPAGES&
Total page number based on the current output layout set:
&SAPSCRIPT-JOBPAGES&
Total page number based on all output layout sets created with the function modules OPEN_FORM, START_FORM .. ENDFORM, START_FORM .. END_FORM, ..., CLOSE_FORM
Examples:
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
Specifies the current page number and total page number. The additional specification (C) outputs the symbol in a compressed form, that is the leading blanks are omitted in the 4-character output (default).
Number of all output pages: &SAPSCRIPT-JOBPAGES(C)&
Outputs the total number of output pages. Caution: When using this symbol, all output pages must be held in the main storage so that the total page number can be inserted at the end of the output. Larger outputs can affect performance. -
To find the Calling Program of an sap script
Hi All,
Can any body please let me know how to find the calling program ( main program ) of an SAP Script Form.
Thanks and Regards,
RupeshHi,
if it's possible to create the form online (no background job), this works:
From SE71 (Form painter), use menu Utilities-->activate debugger.
Then start the program creating the SAPscript form.
As soon as form processing starts, you are inside the SAPscript debugger. At this point, enter /h in command line to activate ABAP debugger. Continue to get into abap debugging. In ABAP debugger, use button 'calls' to see the call stack. The program at the bottom is the starting point, this or one of the more upwards program triggers the form.
Hope this helps.
regards,
C.
Maybe you are looking for
-
Exception condition "FAILED" raised.
My TRM functional consultant has been trying to run end of day processes in the Transaction RKLNACHT but the following dump appears: Runtime Errors RAISE_EXCEPTION Date and Time
-
Capture single click in a cell in JTable
I have a Table which has a column that needs to act like a URL link. I.e. when clicked it will bring up a web page. How can I get the mouse event when a specific cell is clicked as well as what cell was clicked? The table can not be editable as well
-
Bluetooth is not working properly on my notebook
i am unable to send file to laptop via mobile . i can send only fm notebook to mobile only but now i am facing problem in sending file to mobile.earlier it was working ...and one more thing is that the sound of my notebook also has been reduced to
-
Business user needs to view tables with out SE16 access
Hi , There is a requirement where business user ( Data team) need to view some master and transactional data tables in production . But , as per our process , end users will not be given SE16 access . Is there any solution where we can allow
-
Item Check out/in in content areas published as portlet
I have a content area I have published as a portlet. I have noticed that if I add an item (a file) and enable item check out, the icon to check out the file doesn't appear in the portlet. You have to open the content area in the content area navigati