Using RH_RELATION_MAINTAIN from RFC causes dumps
Hello,
We had a need to make the "RH_RELATION_MAINTAIN" function to be an RFC function.
What we've done in order to do this, is to copy the code from the original function into a Z function.
We are using the visual composer to call this function using RFC
Most of the times, it works without a problem, but sometimes creating a relation between a person and an position causes a dump
what we're getting is a weird system dump, that reads "CNTL_SYSTEM_ERROR".
If the same data is run through R3 without rfc, everything works fine.
Is there anything we can do about this?
thanks in advance, Udi.
im bumping this up after a week with no replies.
sorry.
Similar Messages
-
** How to deliver multiple files using BPM (From RFC output)
Hi Friends,
I am doing File-RFC-File scenario using BPM. I am using BAPI_SFLIGHT_GETLIST as my RFC (Standard RFC). If we execute this RFC, it will return the results in tables form. Assume that, the inputs to RFC is like below.
FromCountryKey : US
FromCity: NEW YORK
ToCountryKey: DE
ToCity: FRANKFURT.
The outputs from the RFC is like below.
26 Entries
CAR
CONN
FLDATE
AIR
AIR
DEPTIME
SEATSMAX
SEATSOCC
|
DL
0106
19.05.2008
JFK
FRA
19:35:00
280
266
UA
3516
20.05.2008
JFK
FRA
16:20:00
380
364
LH
0401
23.05.2008
JFK
FRA
18:30:00
220
209
LH
0401
28.05.2008
JFK
FRA
18:30:00
220
208
UA
3516
28.05.2008
JFK
FRA
16:20:00
380
367
DL
0106
16.06.2008
JFK
FRA
19:35:00
280
261
UA
3516
17.06.2008
JFK
FRA
16:20:00
380
357
LH
0401
20.06.2008
JFK
FRA
18:30:00
220
213
DL
0106
14.07.2008
JFK
FRA
19:35:00
280
1
UA
3516
15.07.2008
JFK
FRA
16:20:00
380
86
LH
0401
18.07.2008
JFK
FRA
18:30:00
220
123
DL
0106
11.08.2008
JFK
FRA
19:35:00
280
56
UA
3516
12.08.2008
JFK
FRA
16:20:00
380
67
LH
0401
15.08.2008
JFK
FRA
18:30:00
220
114
DL
0106
08.09.2008
JFK
FRA
19:35:00
280
0
UA
3516
09.09.2008
JFK
FRA
16:20:00
380
164
LH
0401
12.09.2008
JFK
FRA
18:30:00
220
64
DL
0106
06.10.2008
JFK
FRA
19:35:00
280
80
UA
3516
07.10.2008
JFK
FRA
16:20:00
380
8
LH
0401
10.10.2008
JFK
FRA
18:30:00
220
16
DL
0106
03.11.2008
JFK
FRA
19:35:00
280
11
UA
3516
04.11.2008
JFK
FRA
16:20:00
380
33
LH
0401
07.11.2008
JFK
FRA
18:30:00
220
53
DL
0106
01.12.2008
JFK
FRA
19:35:00
280
0
UA
3516
02.12.2008
JFK
FRA
16:20:00
380
45
LH
0401
05.12.2008
JFK
FRA
18:30:00
220
25
|
We need to create output file for each record. In this case, the system should generate 26 output files.
I imported the RFC and created the required interfaces and designed BPM also.
Start --> Receive step --> Synchronous Send --> Asynchronous Send
But, I stuck in how to deliver each record to the output file from BPM.
Any idea, friends. (like using BPM Multi-line option. or 'Receiver From' property in the Send Step)
Kindly help me friends to solve this issue.
Thanking you.
Kind Regards,
Jeg P.Hi
You can do it by creating one another message interface having structure same as your table.
What you have to do is create a mapping in such a way that for each record in table one message(newly created) must be created.
Use that mapping in an interface mapping, remember occurence of target message should be 0..Unbounded both in message mapping and interface mapping.
Now create one single line message and one multiline message in BPM for newly created message.Use transformation step with new interface mapping, mention source(RFC response) and target message(use multiline element of new message) for the transformation step.
Use send step inside a block,set block mode to "forEach", and attach new message to that send step.
Use multiline and single element of new message in the property window of block.
Now your BPM will look like
Start ---> Receiver ---> Synchronous send ---> Transformation ---> Block ---> Async Send(within block)
I think in this way you can implement what you want.
Regards
Sami
Reward points if helpful. -
I created an iMovie using pictures from my camera roll, I exported the movie to the camera roll and then deleted all of the pictures. Now I can't get the movie to play. Did deleting the pictures cause my IMovie to disappear? How can I get my movie back?
Download and open this program, lets you look around your I phone as if it was a disc drive, might find em in the iphones drive.
http://www.macroplant.com/iexplorer/ -
How to use payload from standard RFC MessageType in a RFC Lookup function
Hello
We have a DB sender to call an BAPI. The DB receiver gets the BAPI response.
It is an easy scenario with one mapping.
But the RFC Mapping Lookup is very awful. You have to rebuild all open and close tags to get the RFC payload. A lot of concat functions are a must. The error search in such a mapping is not easy and seems like EAI developing 1990 (Hand am Arm).
Ok, it is better as a BPM, but it is not well for first level support person and release changes and trouble shooting.
How can I use a XML payload from first mapping in my RFC Mapping lookup (second mapping)? There must be a way with two mappings and an easy RFC lookup.
Currently (one mapping):
DB sender format -> ( RFC lookup self-made RFC XML structure) DB receiver format
My dream (two mappings):
DB sender format -> RFC SAP XI standard Format ->(RFC lookup by using Payload from first mapping) DB receiver format
I hope someone can help me with an example.
DanielHi Daniel,
If i understood correctly, urs is a 'Asynch' scenario JDBC to JDBC with a RFC lookup in Mapping.
If its so, then i think wat u r expecting can be done. In Interface Mapping, u can add more than one message mappings.
So first do a Mapping for DB sender format - RFC input standard format,
then another one for RFC sender Format - RFC receiver format, (look up code goes in this mapping).
Then third one from RFC receiver format to DB receiver format.
The order n which u add in Interface Mapping is also important. This is a suggestion, i havent tried this, but still i think u can give it a try.
Regards,
P.Venkat -
ABAP Dump while using "Upload from clipboard"
Hi,
We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.
"Upload data" is working fine if some data exists on the clipboard. If in case of no data on the clipboard, it is leading to an ABAP dump.
Appreciate if anyone could point some OSS note or any solution if you've already faced this issue.
This is happening in our BW system with SAP_BASIS "SAPKB62018" and SAP_ABA "SAPKA62018".
Same thing happens in our BW test systems which are upgraded to the latest support pack.
Following is the error analysis
Error analysis
A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP " raised the
exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"RAISE_EXCEPTION" C
"CL_GUI_FRONTEND_SERVICES======CP " or "CL_GUI_FRONTEND_SERVICES======CM00T "
"CLIPBOARD_IMPORT"Hi,
When you say 'We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.', are you using this in a custom program and are you running your custom program in the background?
From the error you mentioned, to me it looks like you had a control error and controls are for foreground, online process and not suitable for background processing. Same argument holds good for most of the enjoy SAP transactions when you try to do BDC, they will give you a similar error if you hit the piece of code where controls are used.
Controls are created on the desktop of the user and in background this is not possible.
Please let me know if this is the reason.
Srinivas -
Using an Adaptive RFC Model from JSP
I'm trying to use an Adaptive RFC Model I created for use in our Web Dynpros from a Portal Application project. I've created 2 DCs:
1. A Web Dynpro DC, only containing the imported Adaptive RFC Model. The model has been added to the public parts.
2. A Portal Application DC, with the model DC added as a DC usage (along with the other required DCs)
Now, everything appears to work from inside NWDS. The dot operator works while editing my JSPDynPage class, and everything builds fine, but when I deploy and test in the portal, I get "package not found" errors on the actual JSP. I assume this is because the JSP is compiled at run-time. How do I expose these classes to the JSP compiler?
It's seems like using the same method to call BAPIs in Web Dynpros and Java iViews would be a good practice following SAP's "reusable code" policy, so there must be a way to do it...Jonathan,
Adaptive RFC Model works correctly only when running inside WebDynpro container. JSP runs outside container (in regular J2EE WebApplication container).
The error you receive is due to missing run-time references to container classes.
Actually, what you are trying to do is dead end, sorry.
Use SAP Enterprise Connector instead of Adaptive RFC model. Generated connector classes works from any environment. Also they are sooo similar to Adaptive RFC that you'll even not mention a difference.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
HI to all,
I have developed a RFC fucntion module for to calculate tax for every employee nubmer. Its showing tax details in portal. But when we execute same RFC in SE37 its showing dump. Why it can happen like that.can u suggest reason for that.hort text
Exception condition "T500P_NOT_FOUND" raised.
hat happened?
The current ABAP/4 program encountered an unexpected
situation.
hat can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
rror analysis
A RAISE statement in the program "SAPLHRPADINA1" raised the exception
condition "T500P_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
Region not found for personal area
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
ow to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"RAISE_EXCEPTION" " "
"SAPLHRPADINA1" or "LHRPADINA1U03"
"HR_IN_GET_ALGRP_ELIG"
or
"SAPLHRPADINA1" "T500P_NOT_FOUND"
or
"RS_TESTFRAME_CALL " "T500P_NOT_FOUND"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
nformation on where terminated
Termination occurred in the ABAP program "SAPLHRPADINA1" - in
"HR_IN_GET_ALGRP_ELIG".
The main program was "RS_TESTFRAME_CALL ".
In the source code you have the termination point in line 78
of the (Include) program "LHRPADINA1U03". -
How to get useful data from request?
Hello.
I am looking for creating a management tool for a web site. All I want is that is there any ready to use API or package or open source project for retrieving user�s information? I just mean that is there any easy to use way in java to get useful data from a client (for example location, his or her system configuration and information �).
Thanks.If you dump all the data from request (see the javadoc, and especially the "header methods" ) you'll see the data you can get are quite simple.
The only thing you can try to rely on are ;
- the IP address from the sender (when reversed to DNS, you can sometime use the tld to locate the country it comes from. Yet, you'll get many .com name, so it's not that significant. it may also give you the IAP used). Note that if the user is using a proxy, it's the proxy IP that you'll collect
- the User-Agent header : from this, you can guess the OS and the browser used
- the Referer header : usefull to get where your user comes from (where they found a link to your site)
- the Cookie header : if you're using a servlet container with session id stored in cookie, you should see the Cookie header appear on the second request to your site. That helps finding out wether your user accep cookie or not (from a server point).
Besides these, i don't think you can get any other useful data without asking your users on a form. Note that it's the client that decides to send Referer, User-Agent or Cookie headers. Those are not mandatory to the Http Protocole and some browser allow their user to fool their content (butmore than 90% of the widespread browsers don't) -
Null values from DB2 cause problems
Hi,
I have another problem with database link to DB2 using IBM iSeries Access for Linux on 64 bit OEL5 with Oracle Database gateway and unixODBC 2.2.14.
DB link works. However, null values from DB2 cause problems. Date columns that are null on db2 return a date '30.11.0002', and character columns that are null return an error ORA-28528: Heterogeneous Services datatype conversion error.
isql returns correct results.
How can i fix this? Perhaps set some parameters for data conversion on the gateway?
Thank you.If the driver is not fully ODBC level 3 compliant and misses functions, we're lost. But sometimes the drivers are ODBC level 3 compliant but miss the correct 64bit implementation. In those cases we can tell the gateway to use the 32bit ODBC level 3 standard by setting in the gateway init file:
HS_FDS_SQLLEN_INTERPRETATION=32 -
Prob. exec. print job from RFC which im calling Web Dynpro java in Portal
Hi,
Ive got a problem executing a print job from an RFC which im calling in Java web Dynpro Application in Portal. Im using an Acess Method G: for Front End Printing but Order gets stuck with the Status "Waiting" "Front end unavailable".
Any help would be greatly appreciated.
Thanks in advance!!!HI,
I dont think you would be able to do this. Instead, you need to get the content from RFC into WD java and print from the browser.
Regards
Srini
Edited by: Sinivasan Rajamani on Jun 14, 2010 4:25 AM -
IMPORT a VIEW from an export dump file
I'm trying to import a view from an export dump file. In using the Import Utility, do I use the TABLE parameter and give the View name ie: TABLES=view1
nullOnly I want to do is import ONE view from an export dmp file that contains hundereds of table, many views and procedures. I do not want to reimport everything from the export file.
-
Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol
We are encountering the following error while navigating the dashboards/ reports through OBIEE: "Error 500--Internal Server Error From RFC 2068 Hyperion Transfer Protocol"
While navigating from one dashboard page to another this error is encountered or we get kicked out of the session and need to log back in.
Any one experienced the same before?Thanks Srini.
They issue we are facing is not post-installation specific. The environment functions fine but when we navigate dashboard pages, then this error pops up. It is intermittent and applicable to certain dashboards and reports. Not sure if you have ever encountered the dashboard/ report design causing this?
Ganesh -
From RFC 2068 Error while testing ADF Application in Weblogic Server
Hi All,
Created an ADF application and Deployed this application to Weblogic server.
I am getting the below error After deploy into weblogic server while running the application
I am able to run this application well in JDeveloper using the IntegratedWebLogicServer.
The Application is successfully deployed to the Web Logic server.
While creating the domain, I have extended the Oracle JRF classes.
Error
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
JDeveloper Version : 11.1.1.3.0
Weblogic Version : 10.3.3.0
Thanks
SatishHI John,
In The web.xml i added /faces/TestPG
This is URL in Weblogic Server
http://10.146.2.232:7001/TestDeployee-ViewController-context-root/faces/TestPG
Thanks
Sathish -
Web Service from RFC function module
Hi all,
I'm searching for a way to create web services from RFC-enabled function modules. I know there is a wizard, but it's not suitable for my problem:
I have around 30 function modules (number raising in near future) I want to enable for web services, most of them share the same structures representing the underlying data model. When one structure is modified (i.e. a new sub-structure is added) I have to recreate all web services, which is quite uncomfortable.
In addition, using the wizard results in one wsdl-file for each web service operation, that leads to an administration overhead using this web services from a java frontend.
So I'm searching for a "bulk creation". I also know the wizard can be used for a function group, but I can't put all my RFC-enabled function module in one function group, that would lead to confusion in the package.
Does anyone know how web services are created programmaticaly? If I had a function module which creates the web services I could write a function module which creates all web services I need.
Thank you in anticipation!
FlorianI'm not sure I understand the 're-create' part...how are you re-creating the web service? if you modify the interface of a function-based web service, then you use the 'modify operations' functionality (context menu - right-click) to regenerate the web service interface; this works for a function group based web service as well and hits all of the methods at once. As for the java overhead on function group services, stating the obvious, maybe you just need to lower the number of functions in your groups. We use .Net-developed applications with multi-function webservices and don't have any overhead issues.
-
Procedure for Mapping two types of Idocs from RFC function Module
Hi
My Scenario is RFC -- XI -- IDOC
Here i have 2 custom Idocs
First IDOC for Creation
second is for Deletion/Changing
Based on the condition from RFC it should trigger either one of the IDOC above.
Please provide me the procedure to do in IR and ID..
Regards,
Yeswanth.YeswanthRaj:
I found your conflicted statements
The following statement you say you just have one receiver, to receive two IDOCs
But i have only one receiver where the 2 IDOcs needs to be send based on the condition..
The following statements showing that you have more than one receiver,
the condition editor for receiver determination usually used for multiple receivers based on XPATH or Context Object condition
It is mapped based on the condition that is given in Receiver Determination and i has two interface Determinations.
It seems that the first scenario is your situation.
If your answer is yes, and your source interface is just one,and target interface is two (two IDOC), then this should be typical
muti-mapping scenario, and the propose I gave to you should fit
Regards.
Liang
Maybe you are looking for
-
Continuation of line item data to next page in SmartForm
Hi, Currently i had a requirement in SmartForm. Iam displaying the line items from bseg table in main window and totals of credit and debit in the total window which comes under the main window. If the line items are more and it continues to next pag
-
Is it proper for an application module has 300 views in the data model?
Based on my understanding, all view object instances are initialized at the same time as the application module. It follows that when an application module is associated with a user session, the queries of each view object in the data model are execu
-
I am creating a scenario based on a sql query. How can I do when a SQL query does not return anything, the stage does not process it?
-
Making iTunes automatically change track info of playlists
Hello all, I'd like to know if there is a way to automatically change song info of all the tracks in a specific playlist. More specifically, I'd like to know how to make itunes automatically change the Grouping of songs as I add or remove them from a
-
Is Time Machine dealing with Fusion virtual machines differently now?
I have discovered and others have noted that TM backs up Fusion VMs as a single file. For me, this has been roughly 32GB a pop, chewing up my 500GB TM target volume breathtakingly quickly. Suddenly, however, changes within the VM are requiring only a