Problem with RFC-Call within BPM
Hello Experts,
I am developing a scenario in which I call an rfc-function-module for saving information from an incoming xml which will be transmitted as Idoc to another SAP System.
The Idoc transmission is doing properly. But the RFC-Call I try to do always ends with a red flag. Error-Message: message has error status on outbd. side at the Process-Engine.
Can someone help solving that problem?
Thanks in advance.
Regards, Alexander
Hi Rajhans,
1) The user mentioned in the RFC communication channel is having the authorization.
Yes, he have the authorizations.
2) Go to Communication channel monitoring and check what error you are getting for the communication channel is showing.
There is an error about the FileSenderChannel. Error: java.lang.NullPointerException.
3) Check whether the RFC created at abap stack is remote enabled or not.
The function module is remote enabled.
Similar Messages
-
Problem with RFC Communication in BPM
Hi,
I'm again facing problem with transfer of
File->RFC->File scenario.The error in sxmb_moni is given below .
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
<SAP:P1>Error opening an RFC connection.</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>"COMMUNICATION FAILURE" during JCo call. Error
opening an RFC connection.</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Can anyone help me in fixing out this problem.
Regards,
Prashanth K.R,Hi Prashant,
Just click onto your namespace and verify the details given in the "Connection data for import from SAP system". Check whether its matching the system from where you have called the RFC.
hope this will help u.
regards
divya
Message was edited by: Divya Nambiar -
Problem with RFC call between different clients. Plesae help!
Hi Experts,
I have a RFC enabled function module in one SAP instance 'A' where the client is 130. I am trying to call this function module from another SAP systen 'N' where client is 220. RFC destination has been set in 'N' system.
The RFC functin module pulls data fromm a custom table. For a given input it is puuling data in 'A' system.
But when I call it from 'N' system with the same input it is not pulling the data.
I feel the problem is with teh different clients.
please help me how to resolve this.
Is there any setting in RFC destination?
Thanks
GopalHi gopalkrishna,
1. Is there any setting in RFC destination
Ofcourse there is.
2. The tcode is sm59.
3. Where u have maintained in system 'N',
we have to specify
a) Server 'A'
<b> b) Client Number 130</b>
4. So while calling from N(220),
it will connect A(130)
and fetch data from A(130) only.
regards,
amit m. -
Facing a problem with RFC Call receiver error while importing the table sap sandbox
Hi All,
I am trying to import a table from sap sand box . while importing it is showing below error..
RFC CallReceive error <Function DDIF_FIELDINFO_GET: RFC_ABAP_EXCEPTION-(Exception_Key: NOT_FOUND, No active nametab exists for /BIC/OHZ_ISP_SCX)[SAP NWRFC 720][SAP Partner 731 ][SCX][ics106046124][APOBODS][4103]>.
Please suggest me how can i overcome this problem ??Hi Kishore,
Can you quickly check with your SAP Basis Team whether they have installed necessary functions related to BODS on the SAP Application server.
Please check Supplement for SAP Guide
Regards
Arun Sasi -
Problem with RFC exception in BPM
Hi,'
I have created control step for RFC exception. Assigned the alert catagory and given alert message.
i have below steps:
Transformation-control-send RFC-cancel process.
while trying to test i changed ip address of rfc channel and tested but i am not receiving any alert but messages are getting stucked in BPM with error -
permanent error in message proccessing
could you please suggest how to trigger rfc execptionSuggestions..
refer BPMPatternReqRespTimeout for triggering exception.
Basically you might change the sequence of steps as follow
Create Block with deadline branch where you use control step to trigger exception and have another branch exception handler and in that branch you have transformation and senderror. This will help. -
Problem with servlet call within servlet
I have already a servlet that generates a jpeg images that works fine.
a second servlet generates an pdf document via the iText library and works also fine.
the problem or question is how to call the first servlet to insert an
image into the generated pdf??
tia
markyHave a look to HttpURLConnection object (in java.net package). A example of the code :
URL url = "http://myServer/myJpegServlet";
HttpURLConnection uc = (HttpURLConnection) url.openConnection();
uc.setDoInput(true);
uc.setUseCaches(false);
uc.setAllowUserInteraction(false);
InputStream dataIn = uc.getInputStream();
byte[] buf = new byte[512];
while( (dataIn.read(buf)) != -1 ) {
//Do what you want with the data
datain.close();
uc.close;
Hope this helps!
Simon Pierre NOLIN -
Problem with BAPI CALL in BPM(with in a loop)
Hi All,
I have a scenario where i invoke a BAPI by name BAPI_IPAK_START which pushes some data from Delta Queue to the Info Object.After invocation, the BAPI returns a request ID.In order to get the status of the request which is created by the previous BAPI, i invoke another standards BAPI BAPI_ISREQUEST_GETSTATUS with the previous request ID(the ID that is returned by BAPI_IPAK_START).i hav to check for the status until the request is fulfilled.inorder to do that,i inserted the BAPI_ISREQUEST_GETSTATUS in a loop with the condition on XPATH variable of the response that is returned by the BAPI_ISREQUEST_GETSTATUS.TECHSTATUS is the XPath variable name of the response of the BAPI_ISREQUEST_GETSTATUS.The loop has to b executed until it's value is G.when i activated this BP,an error code with 99 is returned in my sxi cache.the work flow is not getting generated.the error is displayed as
'TECHSTATUS' is not a component of data object 'PAYLOAD'.
Any help wud b appreciated.
thnx
Anilhi,
>>an error code with 99
check cache refesh and tell me if it gives any error!?
regards,
Felix -
Problems with a call transaction
Hi, I'm having some problems with a call transaction and I cannot understand why. I put A in the mode, and I am seeing the dynpros and I am pressing enter it works perfectly but when I use mode N it tells me that there is not information for one of the dynpros and it doesn't work. Does anybody know the problem and how to solve it??
Thanks in advanceHi,
First of all thank you very much for your time.
I am using FB05 and the problem is in dynpro SAPLKACB 0002, and it says that batch input data doesn't exist. Here is the code, maybe you can see what is happening
LOOP AT t_resumen WHERE belnr = t_batch-belnr AND
( contador = 3 OR contador = 4 or CONTADOR = 5 ).
READ TABLE t_clave WITH KEY belnr = t_resumen-belnr.
d_clave = t_clave-bschl.
i = i + 1.
CASE i.
WHEN 1.
PERFORM bdc_dynpro USING 'SAPMF05A' '0700'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'RF05A-NEWBS' t_resumen-bschl.
PERFORM bdc_field USING 'RF05A-NEWKO' t_resumen-hkont.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_wrbtr = t_resumen-wrbtr.
REPLACE '.' WITH ',' INTO j_wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' j_wrbtr.
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
WHEN t.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'RF05A-NEWBS' t_resumen-bschl.
PERFORM bdc_field USING 'RF05A-NEWKO' t_resumen-hkont.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_hkont = t_resumen-hkont.
j_clave = t_resumen-bschl.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.
j_wrbtr = t_resumen-wrbtr.
REPLACE '.' WITH ',' INTO j_wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' j_wrbtr.
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
WHEN OTHERS.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'RF05A-NEWBS' t_resumen-bschl.
PERFORM bdc_field USING 'RF05A-NEWKO' t_resumen-hkont.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_hkont = t_resumen-hkont.
j_clave = t_resumen-bschl.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_wrbtr = t_resumen-wrbtr.
REPLACE '.' WITH ',' INTO j_wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' j_wrbtr.
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
ENDCASE.
READ TABLE t_porcentajes WITH KEY gjahr = t_resumen-zzbad
zzbtd = t_resumen-zzbtd.
IF j_hkont = t_porcentajes-cfacpr.
PERFORM bdc_field USING 'COBL-PRCTR' t_porcentajes-prctrfac.
PERFORM bdc_field USING 'COBL-ZZBTD' t_resumen-zzbtd.
PERFORM bdc_field USING 'COBL-ZZBAD' t_resumen-zzbad.
ELSEIF t_resumen-hkont = t_porcentajes-cadmin.
PERFORM bdc_field USING 'COBL-KOSTL' '20801'.
ELSEIF t_resumen-hkont = t_porcentajes-creca.
PERFORM bdc_field USING 'COBL-KOSTL' '20401'.
ELSE.
IF d_clave = 01 OR d_clave = 04 OR d_clave = 40 OR d_clave = 09.
IF j_hkont >= 424001 AND j_hkont <= 424005.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ELSEIF j_hkont >= 424601 AND j_hkont <= 424605.
IF j_clave = 40.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ENDIF.
ENDIF.
ELSEIF d_clave = 11 OR d_clave = 12 OR d_clave = 14 OR d_clave = 50.
IF j_hkont >= 424001 AND j_hkont <= 424005.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ELSEIF j_hkont >= 424601 AND j_hkont <= 424605.
IF j_clave = 50.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ENDIF.
ENDIF.
ENDIF.
*Fin modificacion marzo 2007.----
PERFORM bdc_field USING 'COBL-ZZBTD' t_resumen-zzbtd.
PERFORM bdc_field USING 'COBL-ZZBAD' t_resumen-zzbad.
PERFORM bdc_field USING 'COBL-ZZBTT' t_resumen-zzbtt.
PERFORM bdc_field USING 'COBL-ZZBTU' t_resumen-zzbtu.
PERFORM bdc_field USING 'COBL-ZZBTS' t_resumen-zzbts.
PERFORM bdc_field USING 'COBL-ZZBAG' t_resumen-zzbag.
PERFORM bdc_field USING 'COBL-ZZBRE' t_resumen-zzbre.
PERFORM bdc_field USING 'COBL-ZZBC8' t_resumen-zzbc8.
PERFORM bdc_field USING 'COBL-ZZBC9' t_resumen-zzbc9.
ENDIF.
ENDLOOP. -
A upper/lower sensitive problem on RFC call
hello, everyone.
Maybe it is not the proper forum to discuss this topic, but I think the ABAP programinig Forum is the best forum in SDN, which has the most vistors.
So please help me solve this problem, if possible.
I meet a problem on RFC call through dotnet connector.
There is a RFC deploy on the R3 server.
And a portal application using dotnet connector to call the RFC from web side.
The problem is when input some string like 'AbCdEf' from web side, transfer to the sap side, the RFC always get the string like 'ABCDEF'.
I think it dues to the auto upper convert by the RFC call, and if in SE37, we can check the upper/lower box to solve it.
But how can I solve it in this portal case?
Can I get original string in the RFC side?
How we can get the string as the original content 'AbCdEf' in RFC side?
any suggestion is welcome,
and I'm waitting for your answer, thanks a lotHi zhenglin,
To expand on what Siggi said, fields in the structures of your RFC parameters are based on data elements which in turn are based on domains.
An attribute on the domain is "Lowercase'. Unless this is checked, the field will always be treated as uppercase, and you will get the effect you described.
Please check the domain of the field in question, to ensure that the "lowercase" flag is checked.
Cheers,
Brad -
I have problems with outgoing call no audio, only works with speaker. I bought my iphone on december 2011.
Had the same problem, no audio on incoming or outgoing calls and only could hear the conversation of the call if I put on speaker. It seemed to start after I did a recent IOS update this past month. I tried restart, reset and restore of my iPhone but nothing changed. It appears not to be a software issue but a hardware problem. I got my phone this past summer so it was still under warranty and got it replaced.
-
Problem with 5800, call processing is too slow.
i have a problem with rejecting calls and recieving as well as dialling. it takes to much time to process. when a caller calls me they hear the dial tone for about 5 seconds then i get the call on my phone.. when i use third party software for automatic rejecting calls, the caller hears the dialtone for like 10 seconds or more then it gets rejected which is really annoying. please help me. is there a solution for this? this is not the network problem coz my sim n rejecting calls on other phones work fine. AND ALSO wen someone calls me i get the call alert like after 10 seconds, its very slow!!
Make sure you have upgraded to 1.1.1 which fixes volume problems.
Note that it will NEVER be as loud as standard cell phones but it should improve the volume so you have no problem hearing it in the car. -
Setting always changes by itself in my iPhone 5s, also every few calls I have to face a problem with a call without sound, battery becomes empty quickly
User troubleshooting steps as outlined in the manual are reset, restore, restore as new. Have you tried any of these?
-
Sync RFC call from BPM - message expired
Hi guys,
I have a scenario with BPM where I'm doing a sync RFC call to ECC and then I want to process the result. However, the processing of BAPI take approx 5 minutes and my messages get expired after 3 minutes.
How to resolve this issue?
Thanks a lot,
OlianHello,
Problem might be at BAPI end. Please check BAPI by executing with your set of inputs. If BAPI goes for exception for yoru set of input values.. you may not get response from R3. So you might have error..
secondly.. Please post the error in the communication channel and errro in the SXMB_Moni as well.
Thanks,
subbu -
Function group memory with RFC calls
We have a system where a web front-end interacts with our 4.6C system through RFC calls.
I am having a number of problems where variables declared in a function group are not being cleared out between separate RFC calls to functions in the same group.
I would not have expected separate RFC calls from an external system to use the same memory area.
I have seen this happen at other sites too, but have never found an explanation for it.
Has anyone else experienced this problem and if so can you give me more information about why it happens?
Thanks for you help,
Denis.This does make sense as global data within a function group is accessable by all function modules of the group. Normally, in the ABAP system, you call multiple function modules of the same group, and they all share the data. If you are calling from outside the system, I would expect a different behavior if you are connecting one by one. But if you are using a pooled connection, this may be the issue. Not sure though. It seems that the session on r/3 has not ended and you are accessing the same when calling the second function module. Is there any function module of the group that looks like it is a "refresher". In some groups, there is a function module that will refresh the global data.
http://help.sap.com/saphelp_46c/helpdata/en/9f/db992335c111d1829f0000e829fbfe/frameset.htm
Regards,
Rich Heilman -
Problem with RFC connection - tp program not registered
Hello everyone
recently there has appeared a problem with the RFC connection on our system - we received the following set of messages:
Trace file opened at 20101221 130738 Central European Standard Time, SAP-RE
======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Tp program is not registered.
ABAP Programm: RSRFCPIN (Transaction: SM59)
User: xxx(Client: 100)
Destination: SIDRFC_IFSAPHRCZPKCP (handle: 2, , )
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Program transakcji nie jest zarejestrowany
DEST =SIDRFC_IFSAPHRCZPKCP
HOST =%%RFCSERVER%%
PROG =IFCZPKCP
GWHOST =ssapprod
GWSERV =sapgw21
I tried to register program with a command:
rfcexec -aIFCZPKCP -gssapprod -xsapgw21
but with no success - the program didn't appear on the list of logged clients on the system in gateway monitor. Frankly speaking we do not know now what else we can do - please help!
We have ECC 6.0 (SAP_BASIS 700 SP18) on Windows Server 2003 R2 x64.
Thanks in advance for any help.
Regards
PeterHi Salim
thanks for your reply.
./rfcexec -a(PROG_ID) -gssapprod -xsapgw21 &
The syntax you're providing refers to UNIX systems, but I did similar thing on our Windows system - I tried all of the following methods (unfortunatelly without success):
rfcexec -a(PROG_ID) -gssapprod -xsapgw21
full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod -xsapgw21
rfcexec -a(PROG_ID) -gssapprod.domain -xsapgw21
full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod.domain -xsapgw21
Can you advise me what to do now?
Thanks
Piotr
Maybe you are looking for
-
Error while inserting rows in a table
Hi, We have recently migrated from 9i to 10g. We have a scheduled job out our DB which first deletes all the rows from a table and then inserts them back by selecting rows from 5 tables. This table has a composite primary key based on 6 columns in it
-
HT1352 Target Hard Disk is not detected through fire wire
My Mac book pro(A) is not able to show any thing ( Mostly graphic cars is bad) though processor is working fine. I have another Mac book pro(B) which is working fine. I have connected both through fire wire after pressing "T" on "A" keyboard after ju
-
Dear PP and PS Expert, I am not good in PS but i know about PP. I have a requirement that Production order is created with respect to WBS element. And as we know in PS we have activity and also in PP we have activity. So do we assign activity to rout
-
Was trying to print an Illustrator v8 file to my new HP2550L color laser printer and with no photos placed in the file got a great color print. However, when I placed two jpeg photos into the file the printer just printed pages of gobbledgook across
-
Hi Guys, Logic 8 has worked fine for over a year untill I used it with an Edirol firewire interface. I just have the sound coming out of the macbook pro's line out now and I get this very strange internal routing of the audio on one channel to other