Call of a submit in an RFC FM
Hi Friends,
Iam using a submit command in an RFC function module to create a spool(means cretaing the spool using SAP script). This RFC FM is being called from a third party system(Java platform) using a COMMUNICATION user.
If I execute RFC from SM37 it creates the spool but when I try to run the same from the third party system it doesnt create a spool.If I check the system log in SM21 it says "Perform rollback, An error has causes an SAP rollback. All database updates are reset.".
So I wrote a small program to call this RFC using the logical destination(I have provided this RFC user and password) then also it doesnt create a spool and the same message in SM21 "Perform rollback, An error has causes an SAP rollback. All database updates are reset.".
The user has got required authorizations as I checked it in authorization trace when I ran the RFC from the third party system.
Just to make doubly sure, I have logged on to this user and executed the RFC with this RFC user(before that I have changed this user type to service user) then it creates the spool perfectly!!!!
Question: Why it doesnt create a spool?
Please let me know if you have faced this situation or please advise something.
Thanks in advance a ton for the help and replies
Regards,
Santhosh
Hi,
I tried to submit it in background but since the user is communication user it doesnt allow. In SM21 " User XXX cannot be scheduled due to its type
", "The background processing user check established that a background
processing job cannot run under the specified user because of the user
type.
Similar Messages
-
Call of function module "SUBST_START_BATCHJOB" by RFC failed
Hello Guru's,
We have the following Issue:
In Phase PREP_INIT/JOB_RSUPDTEC we get this error from EHPI (Version 710-1)
Checks after phase PREP_INIT/JOB_RSUPDTEC were negative!
Last error code set: BATCHJOB RSUPDTEC FAILED: Calling RSUPDTEC failed - repeat phase.
In the file PSUPDTEC.LOG are the following error:
4 ETQ260 Starting batchjob "RSUPDTEC"
4 ETQ230 Starting RFC Login to: System = "E11", GwHost = "sape11", GwService = "sapgw00"
4 ETQ359 RFC Login to: System="E11", Nr="00", GwHost="sape11", GwService="sapgw00"
4 ETQ232 RFC Login succeeded
4 ETQ233 Calling function module "SUBST_START_BATCHJOB" by RFC
4 ETQ399 JOBNAME='RSUPDTEC', REPNAME='RSUPDTEC', VARNAME='', BATCHHOST='sape11', IV_SCHEDEVER=' '
4 ETQ234 Call of function module "SUBST_START_BATCHJOB" by RFC succeeded
4 ETQ399 Returned JOBCOUNT='14230100'
2EETQ235 Call of function module "SUBST_START_BATCHJOB" by RFC failed (error-status "27")
2EETQ261 Start of batchjob "RSUPDTEC" failed
In the Sysem we can see, that the Job RSUPDTEC was created by DDIC but not started.
We can start (and finish) the job successfully as logged in DDIC.
We don't know whats the problem. The EHPI stopped every time at this point.
Need Help...
regards
ChrisIssue solved.
In /etc/hosts the first entry was SAPE11.
But it must be sape11, because the instance is sape11_E11_00.
In SM51 we could see that
sape11_E11_00 SAPE11 Dialog Batch Update Upd2 Spool Enqueue ICM active
We changed the entry and restarted SAP.
Then the job can be started. -
Hi guys,
I have a problem with calling a program(or transaction code).
I want to call a program with a variant by "CALL TRANSACTION" or "SUBMIT".
I checked that "SUBMIT" is possible by using "SELECTION-SET" but I can't use it because it doesn't allow calling a program with a variable which has the program name like below.
'SUBMIT gv_program SELECTION-SET gv_variant.'
Is there a solution for this?
Thanks.No, it is not possible to call a program/transaction using a variable in place of program name.
As SUBMIT statement executes a report. Can only execute reports of type '1'.And the ways that it could be used are :-
*Code used to execute a report
SUBMIT Zreport.
*Code used to populate 'select-options' & execute report
SUBMIT zreport with selection-table seltab
via selection-screen.
*Code used to populate 'parameters' & execute report
SUBMIT zreport with p_param1 = 'value'
with p_param2 = 'value'.
*Submit report and return to current program afterwards
SUBMIT zreport AND RETURN.
*Submit report via its own selection screen
SUBMIT zreport VIA SELECTION-SCREEN.
*Submit report using selection screen variant
SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
*Submit report but export resultant list to memory, rather than
*it being displayed on screen
SUBMIT zreport EXPORTING LIST TO MEMORY.
And CALL TRANSACTION statement calls the transaction whose transaction code is contained in data object ta.
CALL TRANSACTION ta
{ [AND SKIP FIRST SCREEN] ---- suppresses the display of a screen of the initial dynpro
| [USING bdc_tab [bdc_options]] }. ----- enables the transaction to be executed using a batch input table. This requires an internal table bdc_tab of row type BDCDATA to be passed from ABAP Dictionary to a dialog transaction
Wish this helps you...
Regards,
Bishwajit -
Error When Calling Up IGS (Error opening an RFC connection.)
hi experts,
i am getting error Error When Calling Up IGS (Error opening an RFC connection.)
when i excute in wad, i checked in forums regarding this issue ,it is suggested that in check in se38--> se38->GRAPHICS_IGS_ADMIN(execute)->then it opens one more window (IGS_RFC_DEST)execute(could not reach to IGS)
in RSRT if i execute IGS test button it is showing page cannot be displayed
can anybody give answer for this what to do
thanks
venuHi Venu,
I would suggest that you contact your basis team and ask them to check the entry for the IGS in SM59. -
RFC call failed : Error when opening an RFC connection
Hi,
As a result of "Start Data Collection" operation in the t-code RZ70, I have got this error.
"RFC call failed : Error when opening an RFC connection"
Others things are with success message.
Regards,
Bala Rajahi
check this links
http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
also check Tcode: SLDAPICUST.
run tcode SLDCHECK? any error?
Thanks
Rodrigo
PS: If useful reward points -
Use call transaction or submit statement
Hi, i have a complex transaction, it has two control programs, a Z program and a standard program. I need execute it by call transaction or submit statement. In this transaction there are some select-options that i want fill with specific values.
Can you help me with it?Hi Robin, the SHDB transaction was very useful. Now i have other problem. This transaction execute a jobs set.I already have filled all of fields in the transaction, i saved the parameters for the execution by SAVE button (BDC_OKCODE=SAVE), but the transaction don't release the jobs and must do it. The last action (to release the jobs set) is executed by the OK button(BDC_OKCODE=OK).
This is the code that i'm implementing:
REPORT ZPRUEBA_SALDOS_ANTERIORES .
DATA: BDCDATA TYPE TABLE OF BDCDATA.
DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
DATA: WA_ITAB TYPE BDCMSGCOLL.
DATA: PROGRAM LIKE SY-REPID ,
WA_BDCDATA TYPE BDCDATA.
DATA: DATE_ID(10).
DATA: DATE_CONV(11).
DATA: T_ID(6).
DATA: DES_ERROR(500).
*"parametro zdo(para tipo de documentos)
*RANGES: R_BLART FOR DFKKOP-BLART,
* R_VKONT FOR FKKVKP-VKONT.
*INITIALIZATION.
START-OF-SELECTION.
CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
EXPORTING
INPUT = SY-DATUM
IMPORTING
OUTPUT = DATE_CONV.
DATE_ID = SY-DATUM.
CONCATENATE DATE_ID+6(2) '.' DATE_ID+4(2) '.' DATE_ID+0(4) INTO DATE_ID.
CONCATENATE DATE_CONV+3(3) '_' DATE_CONV+0(2) INTO T_ID.
WA_BDCDATA-PROGRAM = 'SAPLFKKAKTIV2'.
WA_BDCDATA-DYNPRO = '1000'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'FKKAKTIV2_DYNP_1000-LAUFD'.
WA_BDCDATA-FVAL = '11.06.2008'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'FKKAKTIV2_DYNP_1000-LAUFI'.
WA_BDCDATA-FVAL = 'MAR_38'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
* WA_BDCDATA-PROGRAM = 'SAPLZ_CL_PROCESOS_EN_MASA'.
WA_BDCDATA-PROGRAM = 'SAPLFKKAKTIV2'.
* WA_BDCDATA-DYNPRO = '1001'.
WA_BDCDATA-DYNPRO = '1000'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'P_STICHT'.
WA_BDCDATA-FVAL = DATE_ID.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'S_BUKRS-LOW'.
WA_BDCDATA-FVAL = 'PCS'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'S_VKONT-LOW'.
WA_BDCDATA-FVAL = '0'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'S_VKONT-HIGH'.
WA_BDCDATA-FVAL = '999999999999'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=%01410010001580545'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPLALDB'.
WA_BDCDATA-DYNPRO = '3000'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
* CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(01)'.
WA_BDCDATA-FVAL = 'BS'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(02)'.
WA_BDCDATA-FVAL = 'FS'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(03)'.
WA_BDCDATA-FVAL = 'CD'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(04)'.
WA_BDCDATA-FVAL = 'EF'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(05)'.
WA_BDCDATA-FVAL = 'TR'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(06)'.
WA_BDCDATA-FVAL = 'TF'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(07)'.
WA_BDCDATA-FVAL = 'TC'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(08)'.
WA_BDCDATA-FVAL = 'LP'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'RSCSEL-SLOW_I(09)'.
WA_BDCDATA-FVAL = 'NC'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=ACPT'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
* WA_BDCDATA-PROGRAM = 'SAPLZ_CL_PROCESOS_EN_MASA'.
WA_BDCDATA-PROGRAM = 'SAPLFKKAKTIV2'.
* WA_BDCDATA-DYNPRO = '1001'.
WA_BDCDATA-DYNPRO = '1000'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=TAB03'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=PRPRN'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPLSPRI'.
WA_BDCDATA-DYNPRO = '0100'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'PRI_PARAMS-PDEST'.
WA_BDCDATA-FVAL = 'LOCAL'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'PRI_PARAMS-PLIST'.
WA_BDCDATA-FVAL = '1604_SA_16'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=SAVE'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPLFKKAKTIV2'.
WA_BDCDATA-DYNPRO = '1000'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
* CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=TAB04'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'FKKAKTIV2_DYNP_1190-VARI'.
WA_BDCDATA-FVAL = 'INTERES'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'FKKAKTIV2_DYNP_1200-JOBS_LOAD_BALA'.
WA_BDCDATA-FVAL = '6'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=SAVE'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=DISP'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPLFKJO_JOB'.
WA_BDCDATA-DYNPRO = '0100'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'D100_FIELDS-XBACKGR'.
WA_BDCDATA-FVAL = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'D100_FIELDS-XIMMEDIATE'.
WA_BDCDATA-FVAL = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
WA_BDCDATA-FNAM = 'BDC_OKCODE'.
WA_BDCDATA-FVAL = '=OK'.
APPEND WA_BDCDATA TO BDCDATA.
CALL TRANSACTION 'ZPSA' USING BDCDATA MODE 'A'
MESSAGES INTO ITAB.
Edited by: Marcel ochoa on Jun 12, 2008 5:01 PM
Edited by: Marcel ochoa on Jun 12, 2008 5:03 PM
Edited by: Marcel ochoa on Jun 12, 2008 5:06 PM
Edited by: Marcel ochoa on Jun 12, 2008 10:43 PM
Edited by: Marcel ochoa on Jun 12, 2008 10:45 PM
Edited by: Marcel ochoa on Jun 12, 2008 11:37 PM -
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMI
I am trying to submit the payables open interface import program using BPEL process. BUT I am unable to submit the concurrent program. The invoke function is failing with below message.
[2010/08/25 17:06:22] Faulted while invoking operation "OFAPOPIIMPORT" on provider "OFAPOPIIMPORT".less
-<messages>
-<input>
-<Invoke_1_OFAPOPIIMPORT_InputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
-<InputParameters xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/XX_BPEL_FND_REQUEST_SUBMIT_REQ/FND_REQUEST-24SUBMIT_REQUEST/" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/XX_BPEL_FND_REQUEST_SUBMIT_REQ/FND_REQUEST-24SUBMIT_REQUEST/">
<db:APPLICATION>200</db:APPLICATION>
<db:PROGRAM>APXIIMPT</db:PROGRAM>
<db:DESCRIPTION>Test</db:DESCRIPTION>
<db:START_TIME/><db:SUB_REQUEST/>
<db:OperatingUnit>NYSIF</db:OperatingUnit>
<db:Source>DBL</db:Source>
<db:Group/>
<db:BatchName>TESTRAMBPEL1</db:BatchName>
<db:HoldName/>
<db:HoldReason/>
<db:GLDate/>
<db:Purge>N</db:Purge>
<db:TraceSwitch>N</db:TraceSwitch>
<db:DebugSwitch>N</db:DebugSwitch>
<db:SummarizeReport>N</db:SummarizeReport>
<db:CommitBatchSize>1000</db:CommitBatchSize>
<db:UserID>4842</db:UserID>
<db:LoginID>1683090</db:LoginID>
</InputParameters>
</part>
</Invoke_1_OFAPOPIIMPORT_InputVariable>
</input>
-<fault>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="code">
<code>6550
</code>
</part>
-<part name="summary">
<summary>
file:/C:/product/10.1.3.1/OraBPEL_1/bpel/domains/default/tmp/.bpel_APOPIIMPORT_1.0_91d4c6c1050ed25d005bc0d396a9db24.tmp/OFAPOPIIMPORT.wsdl [ OFAPOPIIMPORT_ptt::OFAPOPIIMPORT(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'OFAPOPIIMPORT' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.XX_BPEL_FND_REQUEST_SUBMIT_REQ.FND_REQUEST$SUBMIT_REQUEST API. Cause: java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
[Caused by: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
; nested exception is:
ORABPEL-11811
Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.XX_BPEL_FND_REQUEST_SUBMIT_REQ.FND_REQUEST$SUBMIT_REQUEST API. Cause: java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
[Caused by: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
</summary>
</part>
-<part name="detail">
<detail>
Internal Exception: java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Error Code: 6550
</detail>
</part>
</remoteFault>
</fault>
</messages>
[2010/08/25 17:06:22] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. More...
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="code">
<code>6550
</code>
</part>
-<part name="summary">
<summary>
file:/C:/product/10.1.3.1/OraBPEL_1/bpel/domains/default/tmp/.bpel_APOPIIMPORT_1.0_91d4c6c1050ed25d005bc0d396a9db24.tmp/OFAPOPIIMPORT.wsdl [ OFAPOPIIMPORT_ptt::OFAPOPIIMPORT(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'OFAPOPIIMPORT' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.XX_BPEL_FND_REQUEST_SUBMIT_REQ.FND_REQUEST$SUBMIT_REQUEST API. Cause: java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
[Caused by: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
; nested exception is:
ORABPEL-11811
Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.XX_BPEL_FND_REQUEST_SUBMIT_REQ.FND_REQUEST$SUBMIT_REQUEST API. Cause: java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
[Caused by: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
</summary>
</part>
-<part name="detail">
<detail>
Internal Exception: java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00306: wrong number or types of arguments in call to 'FND_REQUEST$SUBMIT_REQUEST'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Error Code: 6550
</detail>
</part>
</remoteFault>
I thought I am providing the values for the required parameters. But still I am unable to submit. Could some one help me on fixing this issue?
Thanks,That's probably your problem.
Look at http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28351/T430238T430241.htm
Search for "One-time Workaround for Concurrent Programs" in that document. -
How to get data from the called program using SUBMIT in a background job?
Hi Experts,
I've a program which creates a background job using JOB_OPEN and JOB_CLOSE function modules.
Between the above function modules I need to call a program using SUBMIT VIA JOB statement.
My problem is, How do I fetch some data in an internal table in the called program to the calling program after the SUBMIT statement?
I tried to EXPORT and IMPORT the data, but they are giving a failed sy-subrc when using this background job.
Kindly let me know your inputs and valuable suggestions.Kumar,
When we execute a program as a background job then the output will be sent to Spool which needs to be fetched again.I guess we need to use Submit via spool as mentioned by Rajat.
Check these threads to get some idea
submit report to spool & import spool id
Re: Generate Spool for a report
K.Kiran. -
Calling a JAVA program from an RFC in SAP ABAP
Hi All,
I have an RFC for a specific purpose in which I need to call a JAVA program whose path is given to me. Please suggest a possible process to do the same .
Your's <removed by moderator> responce is highly appreciated.
Thank you.
Edited by: Thomas Zloch on Nov 26, 2010 1:33 PM - priority normalisedHi Priyanth,
I am not sure but check this out
If you are using any commands , check if that command is configured in SM69 -
Error calling "RfcRegisterServer" with NW or SAP-RFC
Hello,
with our customer upgrading to the EHP 7.0 we run into an erroro while calling the function "RfcRegisterServer"
with SAP-NetWeaver:
Contents of structure “RFC_ERROR_INFO“:
code = 1
message = (0x0A)ERROR service '?' unknown(0x0A)(0x0A)TIME Thu Apr 10 15:24:30 2014(0x0A)RELEASE 711( 0x0A)COMPONENT NI (network interface)(0x0A)VERSION 39(0x0A)RC -3(0x0A)DETAIL NiErrSet(0x0A)COUNTER 120(0x0A)
key = RFC_COMMUNICATION_FAILURE
group = 4
abapMsgNumber =
abapMsgClass =
abapMsgType =
abapMsgV1 =
abapMsgV2 =
abapMsgV3 =
abapMsgV4 =
Function “RfcWaitForRequest“ with classical SAP-RFC:
Contents of structure “RFC_ERROR_INFO_EX“:
key = RFC_ERROR_COMMUNICATION
message = CPIC-CALL: 'SAP_CMACCPTP : rc=20(0x0A)(0x0A)LOCATION SAP-Gateway on host dehensv233.de.henkelgroup.net / sapgw92(0x0A)ERROR registration of tp master.down.wtr from host(0x0A) dewtdbtec03.de.henkelgroup.net not allowed(0x0A)(0x0A)TIME Thu Apr 10 14:33:45 2014(0x0A)RELEASE 740(0x0A)COMPONENT SAP-Gateway(0x0A)VERSION 2(0x0A)RC 720(0x0A)MODULE /bas/740_REL/src/krn/si/gw/gwxxrd.c(0x0A)LINE 3536(0x0A)COUNTER 880458233(0x0A)
Any thoughts of how we can fix this issue?
With king regards.Hi Jan,
Please go through SAP Note "1850230 - GW: "Registration of tp <program ID> not allowed" and try to again rerun this step where you are getting error.
Regards,
Jitendra -
ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario
Hello Experts,
I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
I hope you could help me on this one.
Runtime Errors DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Date and Time 28.09.2010 09:31:23
Short text
SQL error in the database when accessing a table.
What happened?
The database system detected a deadlock and avoided it by rolling back
your transaction.
What can you do?
If possible (and necessary), repeat the last database transaction in the
hope that locking the object will not result in another deadlock.
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The database system recognized that your last operation on the database
would have led to a deadlock.
Therefore, your transaction was rolled back
to avoid this.
ORACLE always terminates any transaction that would result in deadlock.
The other transactions involved in this potential deadlock
are not affected by the termination.
Regards,
AlfredNormally such an error comes when the DB of SAP PI is full.
Contact your BASIS or ADMIN team and ask them to free the DB space.
Regards,
Abhishek. -
Can you call a class method as an RFC function
Hi
I would like to know whether it is possible to instantiate a class in another system via RFC and then call a method eg. cl_abap_typedescr=>describe_by_name, of that class in the other system like you can with an RFC enabled function.
Thanks
FaaiezIts not possible to call a method like RFC.
What you could do is write a RFC and within that instantiate the class and call desired method .
And now you can call this RFC from the other system.
Regards
Raja -
Call several .exe program via one RFC destination
Hi,
We use a RFC destination (one for each connected user) to communicate between SAP R/3 (4.6c) and an AS400 application via RFC server in .NET.
We need to call some .NET functions (for transactionnal purpose) and we wish not to mix functions refering to AS400 and .NET.
Is it possible to use one RFC destination to call functions in at least 2 .NET program ?
If not, is there other ways to make those communications work ?Hi
It is not possible. I don't think of any other way to resolve this.
Thanks & Regards,
Govind. -
Calling Transaction from other system using RFC
Hi ,
I have one button on screen(say Screen-A), in ECC. when its pressed the transaction '/SAPAPO/BOPIN' gets called from APO.
For calling transaction from APO I am using FM - 'ABAP4_CALL_TRANSACTION'.
I want the initial screen of that transaction to retain some values which I fill on the Screen-A(the screen which has that button).
When I call the transaction from ECC itself (ex. C006), the initial screen of C006 retains the value on Screen-A.
I want the same to happen in case of calling transaction from APO.
How to achieve this? Would it need the changes in IMG (SPRO)?
Please note that, Screen-A is initial screen of transaction 'md05' and I want to retain vaules of Material, MRP Area, Plant.
Thanks,
SujeetBuilld a RFC enabled FM () that wrap the call of Smartforms (*) in the other system.
Regards,
Raymond
(*) [Writing Remote Function Modules in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
(**) [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm] -
Calling a C program as an RFC from SAP : VERY URGENT
Hi All,
I have got a SAP program which is trying to call a C program on the UNIX server of the SAP system. I have created the RFC destination in SM59 and have tested the connection to be working fine. inside the C program , a code has been written to create a sample file on the server. Now when i am executing the SAP program, though the file gets created, but i am getting an Exception of "SYSTEM ERROR" at the SAP side.
Can anybody help on this regard why I am getting that error?
Its very URGENTHi Priyanth,
I am not sure but check this out
If you are using any commands , check if that command is configured in SM69
Maybe you are looking for
-
Error in ME59N- Internal number assignment not defined
Dear Gurus, I am getting error while creation automatic PO In ME59N. Below error shows Error Name Massage Class Msg No. PO header data still faulty
-
How do I add tag words to my website in iweb
I need to learn how to add tag words to my website (in iweb).
-
Hi there, Thanks in advance for help on this - its simple yet I can't seem to do this either on design on coding mode. Usually when do a template on Dreamweaver, it produces a small space on the upper, bottom and left sides. Hence, you can see the ba
-
I have a query as shown below select w.columns1, w.cloumn2, w.counter Select a.columns1, a.cloumn2, a.rownum counter from (subquery a union subquery b) ) w view b where w.counter(+) = y.counter, The view has standard 12 records with a value 0. Now my
-
Help Adobe form for Purchase Request
Hi all, Can anyone please send me some document or help me some pointers as to how to create or modify an ADOBE form? I need use the Adobe form for a Purchase Request. Eventually could me indicate some standard forms? Kindly reply immediately as this