Pls provide coding for executing 3 reports at one click
Hi Friends,
Iam getting one issue ie... iam having 3 reports so now i want to run all the 3 reports i want to execute one ie.. by clicking Run i want to execute all the three reports at a time and i want to print the o/p in one file on desktop
So pls provide the coding for this
Thanks & Regards
Mohan Reddy
Hi,
Run those three reports one by one just for determining time delay between those execution starts.
Consider delays are 2 Sec and 3 Sec
i.e 1. between report A and report B,
2. between report B and report C.
Now delay execution start of the report A by
3 Sec using 'WAIT' statement and report B by
1 Sec using the same statement.
Try this.
Regards,
R.Nagarajan.
Similar Messages
-
Hi i want to execute 3 reports at one click without user interaction
hi Friends,
Hi i want to execute 3 reports with one click ie by putting radio button when we click on this this wants to execute all 3 reports with out user interaction pls try to understand and provide the solution pls
Thanks & Regards
Mohan ReddyHello,
To achieve this you can use the SUBMIT command after an user action.
Example
The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
Program accessed
REPORT report1.
DATA text TYPE c LENGTH 10.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
SELECT-OPTIONS: selcrit1 FOR text,
selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
Calling program
REPORT report2.
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
Regards. -
Transfer executable report from one server to another
hi all,
How to transfer executable report from one server to another?
please reply fast
its urgent
thnx in advanceKush,
To transfer a object from one server to another server it should be assigned to a package ie Dev Class so that a transport request can be created.Once the request is created we will release it using SE09 and then ask the basis consultant to move the request from Dev to Quality and then Dev to Production.
$TMP objects are called as local objects and can't be transported.
K.Kiran. -
Run Multiple report with one click
hi
I have 60 reports with me and i want to run all 60 reports with one click. Is it possible to fire next report at the end of previous using code?????
Any help would be appreciatedHi Swapnil,
Yes it can be done in many ways. But you will need to analyze what exactally is required and what kind of reports are to be executed in sequence. WHats the report supposed to do, do they need to send some file or some data to external world, does it need to display any output?
From within the program you can use the SUBMIT command to call each report program one after the other. Or schedule all the 60 reports in a background job such that each report is executed in each step.
There are many other ways but i am really not sure why there is such a request? This is something really out of the odd :-).
Hope this helps
Cheers
VJ -
Dear friends,
Greets...........................
Pls provide apt definitions for my question though my question is basic please....
1.Exactly how many language does SAP supports all over the world ?
2.Purpose of text symbols ?
3.Write a program to display text as " Ajay's Father ".
4.Waht is the latest version in SAP now ?
5.How many maximum no of break points we can have in a program ?
6.SubObjects of an ABAP program ?
7.Program name to list the symbols ?
8.Difference between internal table with header and without header line ?
9..Difference between SY-TABIX and SY-INDEX ?
10.What is the structure of the internal table when select-options is declared ?
Thanks in Advance....................
Regards
Raj kumarThe Three Best Alternatives for Security Questions and Rescue Mail
1. Use Apple's Express Lane.
Go to https://expresslane.apple.com ; click 'See all products and services' at the
bottom of the page. In the next page click 'More Products and Services, then
'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
ID security questions' and click 'Continue'. Please be patient waiting for the return
phone call. It will come in time depending on how heavily the servers are being hit.
2. Call Apple Support in your country: Customer Service: Contact Apple support.
3. Rescue email address and how to reset Apple ID security questions.
A substitute for using the security questions is to use 2-step verification:
Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID. -
Printouts for multiple forms in one click
Hello Experts,
I have one print program for Adobe form. Here If I enter 10 pernrs in the selection screen.. I will get 10 adobe forms in the output. By clicking right/left arrow in the application tool bar (which appears if there are more than one form generated), I can see all forms and I can print each form.
Now the problem is, I got the requirement where I can click on one push button or icon on the output screen and It should print(sending to Printer) all 10 forms in one attempt.
Please let me know if you need any further information on this.
Note that its not about output display.. It should be remain same. The solution required only for the Paper printouts in one click.
Thanks,
Naveen Inuganti.Same question asked here: Printing all Adobe form in one attempt
Two things I can add here:
- if you want to achieve a better performance, set up the caching, the forms will then not be reloaded during each printing, the cached version will be used instead. Be careful, that may mean the form will behave a little crazy during the development (that is why I always turn off the caching on the development system)
- if you want to be precise as possible loop at the source table outside the printing block, get the data and next inside the printing block (JOB_OPEN and JOB_CLOSE) loop at the data again and ask for the prints. Since everything is inside one block, it will be exchanged with the webservice (ADS) in one call
Hope that helps, Otto -
hi
This is sqlserver table i want to find days
checking payment details, i select days like 0 to 30 days and then click paid button i want list out days,bookname, rate, pay details, i already create report form i need to coding to connect, pls help me
this is example model picture
karthikHi Karthik,
Like your title mentioned, this is a
crystal report case.
This forum is to discuss problems of C# development. Your question is not related to the topic of this forum. I would suggest you ask question in their
official forum.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi can any body can give me an idea to code this
a. Mark as O (open) = Get the VBUK-LFSTK where VBAK-VBELN, If VBUK-LFSTK is A show the sales order status open
b. Mark as H (on Hold) = Pull the VBAK-VBELN reference to VBAK-LIFSK. If the sales order has the delivery block (15 IBM Pending BOP file )
c. Mark as D (Drop/Pull) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is A then it is dropped.
d. Mark as N (pending) = Get LIKP-LIFSK from the LIKP-VBELN where VBAK-VBELN if the status is either 12, 13,14,15,16 and 17
e. Mark as F (Floor) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is C then it is transferred to the floor.
f. Mark as K (Kitted) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is B then it is kitted.
g. Mark as P (packed)= Get LIKP-VBELN reference VBAK-VBELN and give LIKP-VBELN as an input for VBUK- PKSTK and PKSTK isC
h. Mark as G (PGI) = Get LIKP-VBELN reference VBAK- VBELN and give LIKP-VBELN as an input for VBUK-WBSTK is C
i. Mark as E (EDI Error) in following two scenarios = If VBUK-LFGSK not equal to C for the sales order, then search VBAK-LIFSK then it is an EDI Error if values are: 14 or 17. On the other hand, If VBUK-LFGSK is equal C for the sales order, then search the delivery header LIKP-LIFSK it is an EDI Error if values are: 14 or 17Hi,
try TC abapdocu or http://help.sap.com
Regards, Dieter -
I am using Adobe Acrobat XI Pro for Windows. I have created an action. When I want to execute the action, I must click on the action, then click start to execute the action. Is there a way to bypass having to click start and simply execute the action when I click on it. I want to run the action on a single file at a time, so I don't need to select multiple files before doing so. Any advice would be appreciated. Thank you.
No, you can't do that. But if you're running it on a single file at a time
then you could possibly use a script to do it with a single click,
depending on what the Action does. -
Providing link in alv report and on clicking it, a file should open
Hi friends,
I have a requirement where in i have to create alv grid report, in which 1 of the column should
display a link to a text file, which is on server.
On clicking that link, relevent text file should open. So that user can see the data in file there only.
I am trying to do this but not getting it.
Kindly help.
Edited by: kiran chorge on Apr 17, 2010 12:21 PMHi PG,
If I understood you have to handle some different links.
Well,
you can try to do this:
1- when you fill the fieldcat structure you have to add --> fieldcat-hotspot = 'X', for each column you want to handle like hotspot.
2- manage the method hotspot_click of class cl_event_receiver where you can handle your different excel files.
Let me know,
bye
Alessandro -
Hi i want to add three reports so pls provide the solution
Hi Friends,
Actually iam having three reports so the requirement is i want to execute those three reports under one click ie... when iam executing first one the remaing two also wants to execute under that one only\
So pls provide the solution and at the same time logic also
Thanks & Regards
Mohan ReddyHello,
Create a new report eg ZTEST.
Put in following sample code
the sample code is.
submit <prog-name> with parameter1 = val1
with parameter = val2......and so on
Use the above statement 3 times and execute it.
All 3 reports will be executed 1 by 1 without user intervention.
Hope this helps,
Rajat -
hi
we have one requirement for execute report in background
we want to run the report ME5A for a large date range and at plant level.
Due to this, transaction data selected is large and so reportis taking very long time when executed in foreground.
so requirement is
execute report in background (i know possible in SAP)
download the report output on desktop automatically
can you pl suggest how to do this without customisation
regards
saraHi Sara,
Go to ME5A then enter the required field then go to Programme and then select the option execute in background -
Internal tables & select query for clasical report
hello all,
i am a novice in ABAP.i need to retrive data from 4 DB tables to do a classical report. i declared internal tables as below and then retrieved the data as per the below select statements. is there any other way in which i can do the same with a comparitively lesser amt of code.
data: begin of i_vbak occurs 0,
vbeln like vbak-vbeln,
kunnr like vbak-kunnr,
waerk like vbak-waerk,
end of i_vbak.
data: begin of i_vbap occurs 0,
vbeln like vbap-vbeln,
kwmeng like vbap-kwmeng,
posnr like vbap-posnr,
vrkme like vbap-vrkme,
netpr like vbap-netpr,
end of i_vbap.
data: begin of i_lips occurs 0,
vbeln like lips-vbeln,
vgpos like lips-vgpos,
vrkme like lips-vrkme,
lfimg like lips-lfimg,
end of i_lips.
data: begin of i_vbep occurs 0,
vbeln like vbep-vbeln,
posnr like vbep-posnr,
edatu like vbep-edatu,
end of i_vbep.
data: begin of i_out occurs 0,
kunnr like vbak-kunnr,
vbeln like vbak-vbeln,
kwmeng like vbap-kwmeng,
netpr like vbap-netpr,
waerk like vbak-waerk,
vrkme like vbap-vrkme,
lfimg like lips-lfimg,
posnr like vbep-posnr,
edatu like vbep-edatu,
end of i_out.
RETRIVING THE DATA INTO INTERNAL TABLE *
select vbeln kunnr waerk from vbak into table i_vbak where kunnr in
s_kunnr and vbeln in s_vbeln.
select vbeln kwmeng posnr vrkme netpr from vbap into table i_vbap for
all entries in i_vbak where vbeln = i_vbak-vbeln.
select vbeln vgpos vrkme lfimg from lips into table i_lips for all
entries in i_vbak where vbeln = i_vbak-vbeln and vgpos in s_vgpos.
select vbeln posnr edatu from vbep into table i_vbep for all entries in
i_vbak where vbeln = i_vbak-vbeln.
<b>Points are guaranteed for good answers.</b>
Thanks in advance
seenuHi,
If u will use in ALV means how many tables u want u can put it. After that u can maintain one internal table that's enough. Afterthat put select queries after that display the internal table fileds.
If u will ALV report means u have to code same coding for every report slight changes only there.
Herewith i am sending sample ALV REPORT it is useful for u.
REPORT CODING:
REPORT YMS_COLOURALV NO STANDARD PAGE HEADING.
TYPE-POOLS: SLIS, ICON.
DATA: FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: BEGIN OF IMARA OCCURS 0,
LIGHT(4) TYPE C,
MATNR TYPE MARA-MATNR,
MTART TYPE MARA-MTART,
MAKTX TYPE MAKT-MAKTX,
COLOR_LINE(4) TYPE C,
TCOLOR TYPE SLIS_T_SPECIALCOL_ALV, "cell
END OF IMARA.
DATA: XCOLOR TYPE SLIS_SPECIALCOL_ALV.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM WRITE_REPORT.
Get_Data
FORM GET_DATA.
WRITE ICON_GREEN_LIGHT AS ICON TO IMARA-LIGHT.
IMARA-MATNR = 'ABC'.
IMARA-MTART = 'ZCFG'.
IMARA-MAKTX = 'This is description for ABC'.
APPEND IMARA.
WRITE ICON_YELLOW_LIGHT AS ICON TO IMARA-LIGHT.
IMARA-MATNR = 'DEF'.
IMARA-MTART = 'ZCFG'.
IMARA-MAKTX = 'This is description for DEF'.
APPEND IMARA.
WRITE ICON_RED_LIGHT AS ICON TO IMARA-LIGHT.
IMARA-MATNR = 'GHI'.
IMARA-MTART = 'ZCFG'.
IMARA-MAKTX = 'This is description for GHI'.
APPEND IMARA.
LOOP AT IMARA.
IF SY-TABIX = 1.
IMARA-COLOR_LINE = 'C410'. " color line
ENDIF.
IF SY-TABIX = 2. " color CELL
CLEAR XCOLOR.
XCOLOR-FIELDNAME = 'MTART'.
XCOLOR-COLOR-COL = '3'.
XCOLOR-COLOR-INT = '1'. " Intensified on/off
XCOLOR-COLOR-INV = '0'.
APPEND XCOLOR TO IMARA-TCOLOR.
ENDIF.
MODIFY IMARA.
ENDLOOP.
ENDFORM. "get_data
WRITE_REPORT
FORM WRITE_REPORT.
DATA: LAYOUT TYPE SLIS_LAYOUT_ALV.
LAYOUT-COLTAB_FIELDNAME = 'TCOLOR'.
LAYOUT-INFO_FIELDNAME = 'COLOR_LINE'.
PERFORM BUILD_FIELD_CATALOG.
CALL ABAP LIST VIEWER (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FIELDCAT
TABLES
T_OUTTAB = IMARA.
ENDFORM. "write_report
BUILD_FIELD_CATALOG
FORM BUILD_FIELD_CATALOG.
DATA: FC_TMP TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
CLEAR: FIELDCAT. REFRESH: FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Status'.
FC_TMP-FIELDNAME = 'LIGHT'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '4'.
FC_TMP-ICON = 'X'.
APPEND FC_TMP TO FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Material Number'.
FC_TMP-FIELDNAME = 'MATNR'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '18'.
APPEND FC_TMP TO FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Material Type'.
FC_TMP-FIELDNAME = 'MTART'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '10'.
APPEND FC_TMP TO FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Material'.
FC_TMP-FIELDNAME = 'MAKTX'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '40'.
FC_TMP-EMPHASIZE = 'C610'. " color column
APPEND FC_TMP TO FIELDCAT.
ENDFORM. "build_field_catalog
Thanks,
Shankar -
Restrict 'Executing report in background' from selection screen
I want user to not to select option for executing report in background from Selection Screen of the program.
i.e. 'Execute Program in Background' option in 1st menu bar tab should either be disabled OR if user clicks on it then he should get error message on selection screen itself.
Thanks,
FalguniHi Falguni,
Write the code based on function code SJOB in the event AT SELECTION-SCREEN. Write the following code :
AT SELECTION-SCREEN
CASE SY-UCOMM.
WHEN 'SJOB'.
MESSAGE E000 WITH 'You cannot schedule background job'.
ENDCASE.
Thanks & Regards,
Faheem. -
Activation of Infotype for Interactive reporting
I know that from SAP CRM 7.0 EHP 1.0 sap provides support for interactive report on Service requests. My question
- Is there any standard interactive report on service request provided by SAP CRM? I checked in ORDYWB(Interactive workbench), I did not see any report for Service report. Kindly confirm is that is the case.
Now I believe if I activate report area (Infotype) Service request in the workbench then I can create by own interactive reports for service requests. How do I activate the report area Service request- When i select and activate it - I get the message - " Info type Service request switched of"Hi!
I hope this comes not too late, or maybe it will help others: In order to activate report area Service Requests, you have to enable business function SAP BusinessObjects Integration and CRM Interactive Reporting (CRM_ANA_BOB).
SAP does not deliver any pre-defined reports for the new report areas that are enabled by this business function. You may, however, create your own reports, just as you were able to do with the previously delivered report areas.
Best regards
Maybe you are looking for
-
Hi, I have requirement , in me21n
Hi, I have requirment , when i am entering document type is 'return to vendor', the payment terms should be 'z511'. How to fill the values.. pls guide me
-
I have updated software with iOS 7.0.6 but lost connection to wifi
-
Dictionaries in v2.1 on iPod Touch?
According to http://www.apple.com/ipodtouch/softwareupdate.html ... v2.1 includes dictionaries: "Updated Keyboard and Dictionary Support. In addition to its complete support for 17 languages, iPod touch now supports 30 international keyboard layouts
-
Tapping freezes,or is dislocated
When I tap an icon or an entry I am either sent to another place, or receive no result at all. And, to make matters worse, I cannot access the preferences menu or on the desktop to access preferences in order to digitize because the screen is frozen.
-
JavaHelp problem with JBuilderX
I write an example using JavaHelp.It runs well in the Win Console(CMD).When I run it in the JBuilderX,some exceptions appear: javax.help.HelpSetException: Could not parse Got an IOException (null) Parsing failed for null I do config the jh.jar in the