SUBMIT report RKPEP003 for CJI3
Hi Experts,
In my zreport i used submit to get the Indirect and direct Actual line items through cji3 transaction.
Syntax:
SUBMIT rkpep003 USING SELECTION-SCREEN '1000'
WITH SELECTION-TABLE li_rspari
EXPORTING LIST TO MEMORY
AND RETURN.
IMPORT i_act TO gi_indirect_act FROM MEMORY ID 'ZTAB'.
but i am not getting any data into gi_indirect_act internal table. please can any one help me regarding this issue.
Thanks
Pallavi
For retrieving list from memory use
DATA: ABAPLIST LIKE ABAPLIST OCCURS 0.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = ABAPLIST
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
or try using ID '%_LIST'
Similar Messages
-
Problem with submit report for transaction LT23
Hi,
I want to submit report for transaction LT23 based on the double click on a field in the output of my report. I am using selection table to pass values. The problem is I have something called dynamic selections. I am using some selection fields from the dynamic selection option. Can anyone tell me how do I pass the values in such a case?In your [submit|http://help.sap.com/abapdocu/en/ABAPSUBMIT.htm] statement in the [selection screen parameters|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] use the [WITH FREE SELECTIONS|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_5@5@] option to pass dynamic selections
NB: Use FREE_SELECTIONS_RANGE_2_EX to build the correct parameter texpr.
Regards
Raymond -
Error while RRI from BW reports to ECC CJI3 transaction
Hi All,
When we try to set up RRI from BW reports to ECC CJI3 transaction, we get an error message (Stop message):
You cannot use the report-report interface to call up report RKREP000
Diagnosis
Line Item report RKPEP000 is not suitable for the report/report interface
Procedure
Always enter RKPEP000 as the receiver report for project line items in the report/report interface. This program uses the transfer parameters to determine which line item reports can be accessed.
<b>As per the other reply tried the ABAP Report RKPEP000/3 also ..no use ..
can you please suggest , how to go about this CJI3 issue for RRI , what settings need to be done in the RSBBS ...</b>
We have attemped to use "S_ALR_87013543" as well but the parameters don't go through properly which means when a user jumps from a BW report, they end up at the ECC selection screen of S_ALR_87013543.
Drill through is working for our Cost Center reports. Just not this one in particular.
Any advice would be greatly appreciated.
prasadHi,
I'm facing the same problem so please If you have found some solution please tell me what should I do to use RRI from BEX query to CJI3 transaction.
Regards,
Ana -
Will SUBMIT report EXPORTING LIST TO MEMORY work, when Run in Background?
You can use SUBMIT <report> EXPORTING LIST TO MEMORY, and then Call the FM LIST_FROM_MEMORY to get the Data.
This works fine, when the Program is Run in Foreground. My question is, will it work when I Run the Program in Background? i.e. When I Run the Program in Background, will the SUBMIT Statement, Export the List to Memory? Because only then the FM LIST_FROM_MEMORY will get the Data.
Any alternate solution to meet the same requirement will be appreciated.It works for me... my spool output looked like:
11.01.2008 JC: Calling program - test list to memory 1
ZLOCAL_JC_SDN_CALLING_PROGRAM started at 12:54:29
ZLOCAL_JC_SDN_CALLING_PROGRAM call complete 12:54:30
ZLOCAL_JC_SDN_CALLING_PROGRAM started at 12:54:30
11.01.2008 JC: Called program - testing list to memory
ZLOCAL_JC_SDN_CALLED_PROGRAM was called at: 12:54:29
for the following code:
report zlocal_jc_sdn_calling_program.
parameters:
p_start(1) type c.
start-of-selection.
perform testcase.
*& Form testcase
form testcase.
data:
lt_list type table of abaplist.
write: / sy-repid, 'started at', sy-uzeit.
submit zlocal_jc_sdn_called_program
exporting list to memory
and return.
write: / sy-repid, 'call complete', sy-uzeit.
call function 'LIST_FROM_MEMORY'
tables
listobject = lt_list.
write: / sy-repid, 'started at', sy-uzeit.
call function 'WRITE_LIST'
tables
listobject = lt_list.
endform. "testcase
and
report zlocal_jc_sdn_called_program.
start-of-selection.
write: / sy-repid, 'was called at:', sy-uzeit. -
Skip Error message in submit report
Hello Gurus,
I am using SUBMIT <REPORT> command inside a loop of my calling report. For one record the SUBMIT <report> is throwing an eror message due to which my report is getting stopped by displaying the error message.
My requirement is to skip the record if there is any error in SUBMIT <report> and process rest of the records.
Please help me out.Hi,
Vasanth's idea regarding doing a CALL FUNCTION IN BACKGRUOND TASK does work, unless you need to get back some information from the SUBMIT, as export parameters can't be set when using IN BACKGRUOND TASK.
As i need to get data from the SUBMIT, i'll keep looking for other alternatives, so other ideas are still welcome...
Regards,
mr.
Hi Manuel,
Try calling report in background task like below:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = c_name "this name can be any name defined in constants(you do not have to create a job name anywhere in system or SM36)
IMPORTING
jobcount = w_number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
*" Job opened successfully
IF sy-subrc EQ c_0.
*" Call program to process IDoc
SUBMIT ZSubmit WITH <any value> " e.g. p_field1 EQ <value>
VIA JOB c_name NUMBER w_number
AND RETURN.
[Note: In ZSubmit report you can send the data to calling program through ABAP memory i.e. Use EXPORT parameter to export data
Ex: constants: c_memory(7) type c value 'MEMORY1'.
At the end of ZSubmit report, before returning to the calling program write below statement:
EXPORT i_message TO MEMORY ID c_memory1.]
*" Successful processing of IDoc
IF sy-subrc EQ c_0.
"Here you can import data from ZSubmit report
import i_message from memory id c_memory1.
After retrieving the data, free the memory otherwise it will affect the performance of your report:
Free memory id c_memory1.
*" Close the job
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_number
jobname = c_name
strtimmed = c_x
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
ENDIF.
ENDIF.
Hope this helps!
Regards,
Saba -
Submit report using internal table
Hi Experts!!,
REPORT 1
TYPES: BEGIN OF ty_out_table,
partner LIKE /sapsll/pntbp-partner,
bpvsy LIKE /sapsll/pntbp-bpvsy,
country LIKE adrc-country,
END OF ty_out_table.
internal table declaration & definition
DATA: gt_out_table TYPE STANDARD TABLE OF ty_out_table
WITH KEY partner
bpvsy.
I have data in internal table gt_out_table.
I want to pass data gt_out_table in report 2. using SUBMIT REPORT.
How to do that ?
REPORT 2
select-options: s_partnr for /sapsll/pntbp-bpvsy.
parameters: p_upd,
p_value .
please suggest.
Thanks
Aneehai,
... WITH SELECTION-TABLE rspar
Effect
If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
SELNAME (length 8),
KIND (length 1),
SIGN (length 1),
OPTION (length 2),
LOW (length 45),
HIGH (length 45).
To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
Notes
In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display. -
when I submitted the report RM06BA00 in other program using
SUBMIT (REPORT)
USING SELECTION-SET VARIANT
EXPORTING LIST TO MEMORY AND RETURN.
It's not coming to program from where I called...it's displaying the report
so when I used FM LIST_FROM_MEMORY for further process like emailing this report...I am not getting any data.
Could you pls. let me know why this is displaying report instead of coming back to the program from where it's submitted?
Reply ASAP.
Regards,
Sreedevi PHi Sreedevi,
Refer to the codes in this link.
Re: Submit Statement
Regards,
Arun Sambargi. -
SUBMIT REPORT statement issue in abap
Hi Experts,
I am facing issue while doing SUBMIT REPORT statement.
Below are the details for the Issue:
1. We want to execute another report ZTEST2 from one report , so we have written code in report ZTEST1 as below:
SUBMIT ZTEST2 AND RETURN.
2. It goes to ZTEST2 successfully but when we execute ZTEST2 and click on BACK buttton , it directly goes to ZTEST1 selection screen.
Instead we want to go ZTEST2 program's selection screen. As this back button is standard ALV button is there any way we can handle this without creating new PF-STATUS.
Regards,
SanjanaThat's very limiting.
It depends, there are some things you can do if you ztest2 does something that is traceable.
Without any more info I suggest to check time-lapse between submit calls. If it's inferior to 2 seconds I'd suppose user want's to leave.
mind you the syntax is wrong:
do.
g_initial = get time.
SUBMIT ZTEST2 AND RETURN.
g_final = get time.
if g_final - g_initial <= 2.
exit.
endif.
enddo.
For the user is in most cases transparent, only if he remains a lot of time in selection screen he'll remain there.
regards,
Edgar -
Submit report and export to memory
Hi
I am using this code to submit report
submit ZM005REP
WITH S_BLEND IN R2
WITH S_GROUP IN R3
WITH S_WERKS IN r1
exporting list to memory and return.
I am using LIST_FROM_MEMORY to read the list.
I want to further use the values from this list for calculations , but when I saw the list its just an array of strings.
I want to read the opening bal field which is returned in this list.
Any advice on this ?
Thanks,
ShitalHi,
DATA BEGIN OF itab_list OCCURS 0.
INCLUDE STRUCTURE abaplist.
DATA END OF itab_list.
DATA: BEGIN OF vlist OCCURS 0,
filler1(01) TYPE c,
field1(06) TYPE c,
filler(08) TYPE c,
field2(10) TYPE c,
filler3(01) TYPE c,
field3(10) TYPE c,
filler4(01) TYPE c,
field4(3) TYPE c,
filler5(02) TYPE c,
field5(15) TYPE c,
filler6(02) TYPE c,
field6(30) TYPE c,
filler7(43) TYPE c,
field7(10) TYPE c,
END OF vlist.
SUBMIT zreport EXPORTING LIST TO MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = itab_list
EXCEPTIONS
not_found = 4
OTHERS = 8.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = vlist
listobject = itab_list
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
Then you can use the ITAB_LIST for caliculation which is having all the values.
Thanks
Sudheer -
Submit report repeatedly through loop
Hi Experts,
I need to submit report in loop. For that i have used SUBMIT as follows
loop at itab into wa_it.
SUBMIT ('ABC') VIA SELECTION-SCREEN
WITH s_item = wa_it-item
AND RETURN.
endloop.
The above statement works fine. But i want next item no (wa_it-item) to be filled automatically as soon called report executes for current item number instead of pressing 'BACK' button.
If anybody worked on this please help me.
Thanks and regards,
Shivanand Kalagi.> I need to submit report in loop. For that i have used SUBMIT as follows
> loop at itab into wa_it.
> SUBMIT ('ABC') VIA SELECTION-SCREEN
> WITH s_item = wa_it-item
> AND RETURN.
> endloop.
>
> The above statement works fine. But i want next item no (wa_it-item) to be filled automatically as soon called report executes for current item number instead of pressing 'BACK' button.
>
Just take out the selection-screen option since you dont want to go through the selection screen.
You can write as follows
loop at itab into wa_it.
submit abc with with s_item = wa_it-item and return. <<< This will call the program without selection screen but passes the
clear: wa_it. parameters required to the program .
endloop.
Try this.... Sure it works -
Submit Report (Regarding Background Processing)
Hi Guru's,
I want help regarding Background Processing.
I have developed a program which is running fine in forground but in Background mode no values are comming.
All values are becomig Zero.
Plz help.
*--- Submit Report for 'COGI' (Postprocessing of Error Records from Automatic Goods Movements)
SUBMIT coruaffw USING SELECTION-SCREEN '1000'
WITH r_cumul = 'X'
EXPORTING LIST TO MEMORY
AND RETURN.
*---- Get the List
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = it_list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
*--- Convert to Ascii
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listobject = it_list_tab
listasci = it_asci_tab
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE i000 WITH 'Problem in converting LIST to ASCII'.
ENDIF.
DESCRIBE TABLE it_asci_tab LINES w_cogi.
w_cogi = w_cogi - 5.
CALL FUNCTION 'LIST_FREE_MEMORY'
TABLES
listobject = it_list_tab.Hi Arbind,
You have used return you need to add the addition with.Try this way hope it works
SUBMIT zreport EXPORTING LIST TO MEMORY
AND RETURN
WITH P_1 = P_1
WITH P_2 = P_2
WITH P_3 = P_3
WITH S_4 IN S_4
WITH S_5 IN S_5
WITH S_6 IN S_6. -
Report output list to internal table using submit report
Hello,
I have a report that generates the output in the form of an abap list. I want this data in an internal table for further processing. the report internally does not do a export data to memory so i cannot use import later on to get the data.
i did the following
SUBMIT <report name> exportING LIST TO MEMORY and return.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = itab_list
EXCEPTIONS
not_found = 4
OTHERS = 8.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = ascitab
listobject = itab_list
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
This returns the data in the ascitab, but the data contains additional unwanted info like lines and hyphens etc. Also the data is in a table with a single column, so pulling out individuals fields is again an issue. Is there a way to get this data into an internal table directly?
best regards,
Surajhi suraj
export the internal table of report
DATA: BEGIN OF SR_VBAK ,
VBELN LIKE VBAK-VBELN,
END OF SR_VBAK.
DATA: IR_VBAK LIKE STANDARD TABLE OF SR_VBAK WITH HEADER LINE.
EXPORT IR_VBAK TO MEMORY ID 'SALES'.
SUBMIT <program name in which u want internal table records > AND RETURN.
now import that data in submit program .
here u have to creat a internal table with same structure as the internal table from which u r trying to export the data
DATA: BEGIN OF SR_VBAK,
VBELN LIKE VBAK-VBELN,
END OF SR_VBAK.
DATA : IR_VBAK LIKE STANDARD TABLE OF SR_VBAK WITH HEADER LINE.
IMPORT IR_VBAK FROM MEMORY ID 'SALES'.
regards
ANIL CHAUDHaRY -
Regarding SUBMIT (report) statement.
Hi experts,
Inside an RFC I am calling a custom report which gives the output in the form of ALV grid. I have used SUBMIT (report) in the RFC for a given set of inputs.
it_sel is an internal table with the selection screen parameters and values.
This is my code.
SUBMIT zmmrep03_r3ent WITH SELECTION-TABLE it_sel
EXPORTING LIST TO MEMORY AND RETURN.
Doing so, I am encountering a problem. When I run the RFC in test frame I am viewing the output which should not happen since i am using <b>Exporting List to Memeory And Return</b>. After that I am getting a runtime exception <b>"NOT FOUND"</b>.
How to resolve this problem.
Regards,
Arul Jothi.Arul,
1. ALV does not export the list to memory.
2. You cannot call a RFC that writes data to the screen.
You need to find a differen way of doing this in your case.
Regards,
Ravi
Note : Please mark the helpful answers -
Webcast-OBIEE Analytics/Reporting Solutions for E-Business Ste, Sep 9 12EDT
TODAY: I invite you all to an Oracle BI Applications related Techcast, let's use this for interactive Q&A as well. We can follow up on the question here.
See more details at http://OracleBIWA.org
Wednesday, September 9, 12 noon Eastern
OBIEE Analytics/Reporting Solutions for E-Business Suite
Audio Dial-In: 888 967 2253 Audio Meeting ID: 572994 Audio Meeting Passcode: 334451
Web Conference: https://conference.oracle.com/imtapp/app/cmn_jm_hub.uix?mID=150764532
BIWA Wednesday TechCast Series - Sixth Event!
This presentation will showcase different options for OBIEE-based Analytical Reporting such as:
1) Oracle BI Applications for supported Oracle E-Business Suite Modules and other Oracle Applications.
It will include real world experiences for implementing BI Apps Version 7.9.6
2) Custom OBIEE Development against E-Business Suite (when no BI apps are available)
3) Migration of Discoverer EUL to OBIEE RPD using Migration Utility
While OBIEE and BI Apps are clearly the strategic analytics reporting direction from Oracle, only certain Analytics applications are available. Sometimes all customer needs for BI reporting may not be met by these pre-built analytics. For instance, JD Edwards has pre-built ETL connectors only for Financial Analytics. While more BI Apps and ETL connectors are in the pipeline, how can users meet their reporting needs today as they go live in near future? In this session, we will look at several short and medium term solutions without deviating from the long term strategic goal of using pre-built BI applications to reduce the overall risk.
Several real life situations will be evaluated with demonstration of the steps involved such as how to Migrate Discoverer reports to OBIEE with the highest degree of automation. Likewise, we will cover how DBI views be used for custom OBIEE reporting.
Presenter: Shyam Varan Nath is an OBIEE Architect for IBM Global Business Services with extensive experience in implementing OBIEE and BI Apps. He has worked on several Oracle Data Warehousing Projects for customers including Citigroup, Air Force, Land O'Lakes, and Blue Cross Blue Shield Association. Shyam has been a Certified Oracle DBA since 1998 and has 18 years of industry experience. He is a regular speaker at BIWA Summit, IOUG/Collaborate, Regional User Groups and Oracle Openworld since 2003. Shyam has also worked at Oracle (BI Consulting Practice) and Deloitte Consulting. Currently, he is the top expert in Oracle OBI apps Forum, in terms of user awarded points. Shyam is also the Founder and President of BIWA SIG.
Audio Dial-In: 888 967 2253 Audio Meeting ID: 572994 Audio Meeting Passcode: 334451
Web Conference: https://conference.oracle.com/imtapp/app/cmn_jm_hub.uix?mID=150764532
Compatibility Check: If you have not used Oracle's web conference system before, please ensure your system compatibility by going to https://conference.oracle.com/imtapp/app/nuf_sys.uix.
Edited by: shyamvaran on Sep 9, 2009 5:21 AMIf you would like to share your OBIEE and OBIA knowledge and experiences, please submit your proposals below:
http://submissions.miracd.com/ioug2010/login.asp
Collaborate 2010 (april 18-22) will have a special focus on BI => "Get Analytical with BIWA Training Days" -
Suppress spool in Submit Report
Hi All
I am doing a Submit Report in background in loop.
I can check from the background job if the Submit was successful or not. But if it is successful I dont want any output in spool.
By default it is creating a spool request for every Submit.
But dont want any spool to be created as the submit will be executed no. of times.
Kindly let me know if and how we can suppress the spool request. The code I have written is attached below.
LOOP AT lt_t320a INTO ls_t320a.
SUBMIT XYZ
WITH matnr IN matnr
WITH werks = ls_t320a-werks
TO SAP-SPOOL SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB job NUMBER jno
AND RETURN .
ENDLOOP.
Thanks in advance.
Regards
PrafullaHi Narinder,
I have tried without TO SAP-SPOOL but it doesn't work.
Submit is automatically creating the spool request when run in background mode.
Kind Regards
Prafulla
Maybe you are looking for
-
64 bit packages in i686 repos?!?
Just another day with pacman... I thought. [root@lysithea stijn]# pacman -Syu :: Synchronizing package databases... borromini is up to date core is up to date extra is up to date community is up to date :: Starting full system upgrade... warning: pan
-
Console message just prior to time of latest freeze MBP i7
6/5/10 6:32:14 PM PreferenceSyncClient[244] Preference plist was NOT a dictionary. 6/5/10 6:32:14 PM PreferenceSyncClient[244] Preference plist was NOT a dictionary. 6/5/10 6:32:19 PM PreferenceSyncClient[244] Preference plist was NOT a dictionary. 6
-
IPhoto Cannot Be Launched!!!!
My iPhoto application was working fine until I enabled Photo Stream and tried to move some pics. to Photo Stream. Now when I try to launch iPhoto, I get a screen that the says "iPhoto application unexpectedly quit while trying to restore its windows.
-
MySQL 5.0.27-max xserve g5 dual run very slow
Hi to all, I have a very strange problem on my dual G5 xserve running php and mysql5. I upgrated from mysql 4.01 to mysql 5 5.0.27 and now my server is very slow during queries. My CPU is always used at 45% by MySQL and I have not too much connection
-
ALAC on iTunes and a lossy format on the iPod
I have all my itunes tracks stored in ALAC, but this size is far too big to sync a reasonable number of songs to the iPod. I know there is a create AAC version in iTunes, but this then seems to create a duplicate item in the iTunes library....and mak