Oracle - XI - SAP ( Using RFC )
Hi,
My scenario is Oracle -> XI -> SAP ( Using RFC ), the message in SXMB_MONI is showing success. But iam getting an error on the RFC Side which is as follows.
2006-04-19 00:21:39 Error Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
2006-04-19 00:21:39 Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>.
If anybody has the right idea plz let me know.
Thanks,
Kittu.
hi,
My payload looks like this .Is that OK or do u find any thing missing in that?
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MTI_BOM xmlns:ns="urn:cts:xi:manufacturing:lean:bom">
- <row>
<MATERIAL_NUM>100-02</MATERIAL_NUM>
<BOM_COMPONENT>115100-01</BOM_COMPONENT>
<CONFIGURED_BOM />
<COMPONENT_QUANTITY>1</COMPONENT_QUANTITY>
<CHANGE_NUMBER>500111</CHANGE_NUMBER>
<VALID_FROM_DATE />
<BOM_ITEM_NUMBER>10</BOM_ITEM_NUMBER>
<COMPONET_UOM>EA</COMPONET_UOM>
<IND_SUB_ITEM_EXIST />
<IND_RELEVENCY_TO_COSTING />
<INSTALATION_POINT_SUBITEM />
<SUB_ITEM_QUANTITY />
<STATUS>UPD</STATUS>
</row>
Regards,
Kittu.
Similar Messages
-
3rd party to sap using RFC adapter
Hi Folks,
I'm sending some IDOC to sap from the 3rd party. I have to use RFC (TRFC call) adapter as sender and IDOC as receiver adapter.
Can you please suggest me how to configure teh sender side.
Regards....>
santosh nayak wrote:
> Hi Folks,
> I'm sending some IDOC to sap from the 3rd party. I have to use RFC (TRFC call) adapter as sender and IDOC as receiver adapter.
> Can you please suggest me how to configure teh sender side.
>
> Regards....
In order to use RFC as sender need to configure the below
SAP Side
RFC destination of type T using SM59 tcode
PI side
RFC destination of TYPE t type using same tcode
Note the progid provided should be same in both RFC destionations
Then during execution of RFC in SAP side need to provide the RFC destionation created there
HTH
Rajesh -
Adobe Form Data Integration into SAP using RFC
Hi All,
I have created a Adobe Form, there is a button Called Submit ,On clicking that button the Adobe form must call a RFC function Module and pass the data from the form to Function Module.
I have written the below code for the submit button but it is not working.Please Lemme know if u have any solutions..
Below is my code
//Submit this form to SAP using web services
var webService = xfa.resolveNode("xfa.record.WEBSERVICE");
xfa.host.messageBox ("test 3");
var response = Net.SOAP.request(
cURL: webService.value,
oRequest: {
"urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET":{
TIMESHEET: t_time_record,
HEADTIME: wa_head
cContentType: "text/xml"
xfa.host.messageBox ("test 4");
var success = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["SUCCESS"];
var response = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["RESPONSE"];
if (success == "X") {
xfa.host.messageBox(response, "Response from SAP", 3);
CONFIRMED.rawValue = "Yes";
ConfirmedLogo.presence = "visible";
for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
var oFields = xfa.layout.pageContent(nPageCount, "field");
var nNodesLength = oFields.length;
for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
oFields.item(nNodeCount).access = "readOnly";
if (oFields.item(nNodeCount).border.fill.color.value == "255,0,0")
oFields.item(nNodeCount).border.fill.color.value = "255,255,255";
if (oFields.item(nNodeCount).ui.oneOfChild.className == "button") //Hide all buttons
oFields.item(nNodeCount).presence = "hidden";
ZUPDATETIMESHEET is my Function Module.
t_time_record and wa_head are the parameters being passed to the function Module.
Please lemme know if i have to do any settings and configurations also...
I have attached the entire code in the below file...
Thanks in AdvanceMaruti,
1. Just use the RFC's that does the update.
2. There are update flags for each field that you would like to update. These flags should be marked be marked for update. They come along with the classes that are generated when you import the RFC's.
3 Call BAPI_TRANSACTION_COMMIT afterwards.
All the above steps have to be done in the program.
Sumit. -
Transport table entries sap to sap using rfc
Hi Guru's,
I want to write a program for update one table entries of sap system to onother table of sap system using RFC establishment.
If you have any example code kindly give it to me.
Thanks & Regards,
Lakshman.annamaneniHi,
POST - 1
Fisrt create RFC Destination in SM59 between sender & receiver system.
*Sender System:*
FUNCTION XX_RFC_READ_SPFLI.
*"*"Local Interface:
*" IMPORTING
*" VALUE(CARRID) LIKE SPFLI-CARRID
*" VALUE(CONNID) LIKE SPFLI-CONNID
*" EXPORTING
*" VALUE(EX_SPFLI) LIKE SPFLI STRUCTURE SPFLI
*" VALUE(SYS) LIKE SY-SYSID
*" EXCEPTIONS
*" INVALID_DATA
SELECT SINGLE * FROM spfli INTO spfli_workarea
WHERE carrid = carrid
AND connid = connid.
IF sy-subrc EQ 0.
ex_spfli = spfli_workarea.
ELSE.
RAISE invalid_data.
ENDIF.
Sys = sy-sysid.
ENDFUNCTION.
*NEXT: create a Prog.*
REPORT XX_RFC_Tutorial.
Global Data Declaration
TABLES: spfli.
PARAMETERS: p_carrid LIKE spfli-carrid DEFAULT 'LH',
p_connid LIKE spfli-connid DEFAULT '400'.
DATA: SYSTEM LIKE SY-SYSID.
* Calling the Function
CALL FUNCTION 'XX_RFC_READ_SPFLI'
EXPORTING
carrid = p_carrid
connid = p_connid
IMPORTING
ex_spfli = spfli
sys = system
EXCEPTIONS
invalid_data = 1.
* Handling Exceptions
CASE sy-subrc.
WHEN 1.
WRITE 'No data available'.
EXIT.
ENDCASE.
* Displaying Results
WRITE: spfli-carrid,
spfli-connid,
spfli-cityfrom,
spfli-cityto,
spfli-deptime,
spfli-arrtime.
See the next post for Receiver System:
Anil. -
SAP Module sapnwrfc: Retrieving data from SAP using RFC
I'm sorry, if I'm asking about something that's obvious in SAP. I need to develop a perl application in a remote server that will receive a requisition from an abap application.
I'm using the SAP Module sapnwrfc. I connect to SAP Gateway with no errors and execute the function sapnwrfc::installFunction (no errors returned) but I can't find the transaction in SAP. Anybody has some document about configurations that I need to do in sap ? Or anybody could see the code above and tell me what is wrong?
[code]
#!/usr/bin/perl
use sapnwrfc;
use Data::Dumper;
use utf8;
SAPNW::Rfc->load_config;
my $conn = SAPNW::Rfc->rfc_connect;
# print "Testing SAPNW::Rfc-$SAPNW::Rfc::VERSION\n";
my $func = new SAPNW::RFC::FunctionDescriptor("ZRFCDAZEL") ;
my $pipedata = new SAPNW::RFC::Type(name => 'DATA',
type => RFCTYPE_TABLE,
fields => [{name => 'OBJTY',
type => RFCTYPE_CHAR,
len => 4},
{name => 'OBJKY',
type => RFCTYPE_CHAR,
len => 10},
{name => 'ATTRIBUTES',
type => RFCTYPE_CHAR,
len => 255},
$func->addParameter(new SAPNW::RFC::Export(name => "COMMAND",
len => 255,
type => $pipedata));
$func->addParameter(new SAPNW::RFC::Import(name => "COMMAND1",
len => 255,
type => $pipedata));
$funcao->callback(\&do_remote_pipe);
$conn->disconnect();
exit;
sub do_remote_pipe {
my $param = shift;
print "\nPARM : " . $param->{'ZDUS'} . "\n";
$param->COMMAND1([{'LOG'=>'Execute ZDUS PARAMETER '}]);
$param->COMMAND1([{'STATUS'=>'S'}]);
return 1;
sub do_global_callback {
warn "Running global callback ...\n";
return 1;Timo,
I included the code in the VO and in my bean, I was able to generate this code snippet:
public String GetParamterSetup() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("applyParamVOCriteria");
operationBinding.getParamsMap().put("vcodetype", codeType);
Object result = operationBinding.execute();
System.out.println(result);
if (!operationBinding.getErrors().isEmpty()) {
return null;
return null;
I was able to get the result from the System.out.println. It returns null when there is no match. However, I want to return the entire row or have access to that attribute. For instance if I have 'GB011' what the system will display for me is 'viewrow [oracle.jbo.Key[GB011 ]]'
Pls, how can I have access to individual attributes like ParamSetup.codeType, ParamSetuo.MainCode etc... -
How to configure and publish Webservice (WMS Redprairie) to SAP using RFC
Hi XI Techno Savies,
I know how to configure SAP RFC, SAP IDOC adapters for sending and receiving. I want to know the step by step procedure to configure and Publish Webservices for Ware House Management System "REDPRAIRIE" for sending and receiving message to SAP R3/BW. Kindly help me.
Thanks,
Sridhara Addala.Hi,
This doc may help you-general
http://help.sap.com/saphelp_nw04/helpdata/en/0d/2eac5a56d7e345853fe9c935954ff1/content.htm
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
in XI-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
Regards,
Moorthy -
AutoCAD SAP intergration - using RFC & VBA
i am using AutoCAD VBA to intergrate with SAP using RFC
i am able to logon to SAP system
using RFC connection
i am also able to run RFC defined in SAP system using AutoCAD VBA codes
The Problem is
when using "RFC_CREATE_DOCUMENT_MASTER"
I am not able to export "Document_Data"
since Document_data is defined as structure
VBA do not support structure data type
How to export structure data type using VBAHi Srinivasan,
for integrating AutoCAD with SAP there is also the CAD Integration available directly from SAP. Especially when looking at a little bit more complex features at AutoCAD (e.g. x-refs) VBA can easily be too complex...
http://service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006640152000E
Best regards,
Martin -
Download Data From Excel - VBA Code to SAP Using BDC
Hi ,
I am Sudhir Dure, working with Satyam Computers.
I need help on the below query:
I have an excel file which download data from Excel to SAP using RFC function & with the help of VBA interface.
In this VBA code I have used BDC recording of SAP Transaction KE21N to post data into SAP.
Now I am facing problem to find sub screen (tab page screen ) in SAP from VBA code .
How to pass BDC Subscreen details from VBA code to SAP using below code?
BDCTABLE.Rows.Add
BDCTABLE.Cell(J, "PROGRAM") = PROGRAMNAME
BDCTABLE.Cell(J, "DYNPRO") = "0200"
BDCTABLE.Cell(J, "DYNBEGIN") = "X"
BDCTABLE.Cell(J, "FNAM") = "BDC_OKCODE"
BDCTABLE.Cell(J, "FVAL") = "=NEXT"
Thanks,
Sudhir Dure
9972097464can anyone tell me how to get the PurchaseOrder number and item quantity from the Salesorder...? what are the fields here as given below..??
For Each oItem In oSalesOrder.items
wsTemplate.Range(cols(3) & Indexv).Value = oItem.material.material
'wsTemplate.Range(cols(4) & Indexv).Value = ' I need item quantity here ????
wsTemplate.Range(cols(1) & Indexv).Value = sapSoNumber
wsTemplate.Range(cols(2) & Indexv).Value = ' I need purchase order number here>???
Indexv = (Indexv + 1)
Next
reply fast. please .. thanks -
Accessing SAP DB(Oracle/Max DB) without using RFC in webdynpro java
Dear Friends,
I'm developing an application in Adobe interactive Forms using webdynpro java. To retrive the data from R/3 generally we use RFC / BAPI's.
But i dont want to use RFC / BAPI's which is written in ABAP.
I want to write one RFC /BAPI using java to store / retreive the data from R/3. or how to access the data / store the data using JAVA from R/3.
Can any one guide me on the same.
Thanks in Advance.
Regards,
Gowripathirao.
Edited by: Gowripathirao on Nov 30, 2009 7:58 AMdon't do that ( I always wanted to write this since joining SDN )
If you want to access database tables in general, check the EJB3 tutorial in SAP Help
http://help.sap.com/saphelp_nwce10/helpdata/en/45/f72761af4020fde10000000a1553f6/frameset.htm -
How to get oracle 9i blob column into an itab in sap using Native SQL
Hi ,
We are using SAP ECC 5.0 and we need to coonect to an oracle database ver 9i rel2.
We need to get the data stored in a blob(pdf/jpeg) into an itab and later
use it for futher processing.
I am familiar with using native SQL and I wrote a stored procedure in the non sap oracle database to send the blob info into an internal table in sap.
But the information is in hex format and the long raw of SAP does not handle this very well.
Plz see my code below.
data: itab_insp_drawing like zpicture_cluster(which is of type lraw - 7902 )
occurs 100 with header line.
EXEC SQL.
EXECUTE PROCEDURE
proc_get_insp_drawings (
IN :itab-aq_id,
IN :itab-section_id,
IN :t_in_position,
out :itab_insp_drawing-picture,
OUT :t_blob_length,
out :t_out_position,
OUT :t_status )
ENDEXEC.
append itab_insp_drawing.
while t_out_position < t_blob_length.
EXEC SQL.
EXECUTE PROCEDURE
proc_get_insp_drawings (
IN :itab-aq_id,
IN :itab-section_id,
IN :t_in_position,
out :itab_insp_drawing-picture,
OUT :t_blob_length,
out :t_out_position,
OUT :t_status )
ENDEXEC.
append itab_insp_drawing.
endwhile.
Any ideas of how to handle blobs from non sap oracle table. I need this blob into an itab in sap.
Help appreciated.
Thanks
MalaPlease refer the example in this link which deals with Oracle date format.
You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804] -
Error: No IDocs could be sent to the SAP BW using RFC.
Hello Experts,
I am getting following error while loading data into BW:
Errors while sending packages from OLTP to BI
Diagnosis
No IDocs could be sent to BI using RFC.
System Response
There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
Further analysis:
Check the TRFC log.
You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
Error handling:
If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
Please advice how should i proceed in this case..
Regards
PriyankaHi......
Transactional RFC is an asynchronous communication method that executes the called function module just once in the RFC server. The remote system need not be available at the time when the RFC client program is executing a tRFC. The tRFC component stores the called RFC function, together with the corresponding data, in the SAP database under a unique transaction ID (TID).
If a call is sent, and the receiving system is down, the call remains in the local queue. The calling dialog program can proceed without waiting to see whether the remote call was successful. If the receiving system does not become active within a certain amount of time, the call is scheduled to run in batch.
Ur trfc connection not available may be because due to the work processors in R/3 would have not been available for the whole period of ur loading process .
Pls wait for the parallel processes to end and then load ur data again after deleting the bad req from the manage tab
if this error persists then go for a Ticket
Hope this helps you......
Thanks==Points as per SDN.......
Regards,
Debjani........
Edited by: Debjani Mukherjee on Sep 29, 2008 6:50 AM
Edited by: Debjani Mukherjee on Sep 29, 2008 6:52 AM -
Problem in Fetching data using RFC FM from NON SAP system
Hi All,
Need help from experts on data transfer using RFC from a non SAP system/database. I have creasted the destination in sm59.
I have created a function module too which has an import parameter as a query and export parameter as an internal table.
No when i test run this function module it returns some entries. But when I call this FM in a program it throws a dump 'rfc_external_abort' . Here is what the call to FM looks like in my program. Please guide me on this.
Thanks in advance,
Saket.
DATA : lv_query TYPE string,
it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
lv_query = 'SELECT * FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
DESTINATION 'D39'
EXPORTING
in_sql_query = lv_query
IMPORTING
ET_GDDB_DATA = it_gddbdataHi,
your question..
DATA : lv_query TYPE string,
it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
lv_query = 'SELECT * FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
DESTINATION 'D39'
EXPORTING
in_sql_query = lv_query
IMPORTING
ET_GDDB_DATA = it_gddbdata
you are telling that you are fetching the data from non sap system using RFC function module.. how it is possible..you canot fetch the data from non SAP system using RFC FM alone.. you have to use the concept BAPI.. it will work..
I hope this will help you..
Regards,
Kiran -
Integrate Oracle Financial (GL) or Oracle Invoice applications using SAP PI
Hi All,
I need to Integrate Oracle Financial applications (Debit GL), Oracle Invoice applications using SAP PI .
Please let me know for the same.
ThanksHi,
we take the case of Oracle ERP Modules - Oracle Inventory Module, Oracle Purchasing module.
Now how to Integrate with JDBC adapter
Oracle Inventory Module/Oracle Purchasing module --- SAP XI/PI --- SAP ERP
with data selecting from many tables of Oracle Inventory Module/Oracle Purchasing Module
Please let me know or send me the docs
Thanks -
I Need the Scenario to Integrate
Oracle to SAP (RFC ) thgrough XI
and also scenario from
SAP (RFC) to Oracle through XI..
I need from the point of creating RFC destinations ....
Points will be awarded
Regards,
JayasimhaHi,
check this blog , should help you..
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
Refer this threads
JDBC - System/Application Acknowledgement
JDBC - System/Application Acknowledgement
Still waiting for Acknowledgement using JDBC
Acknowledgement vers Syncronous processing of JDBC
Might help you..
regards,
vasanth -
Creation of Production order in Past dates using RFC
Hi all,
I am using RFC to Create a production order based on the datas available from MES systems.Here the process flow is From MES system datas are passed to interface in file format then from interface will calll the RFC so that the RFC will do the function of Creating the Production order & release in SAP.
Here i face an issue that i have 3 shifts at the end of every shift i have to tranfer the datas from MES to SAP .Which means i have to create 3 Production orders for a day.My issue here is the third shift datas will be availble for me in the next day morning after that only i am able to transfer theses datas to SAP.In this case i want the SAP to create th Production order for third shift in the Previous day time.
Ashift - 7AM t0 3PM
BShift-3PM to 11PM
CShift-11 PM to Next day morning 7 AM
I need SAP to create Production order for Shift C on 11 PM of the Previous day when i transfer it on next day morning 7AM.
Is this possible.
Thanks in Advance,
MBNHi,
I mean the Production Created date as the basic date only.
My requirement is for the C shift i will get the output from the MES on the next day morning.After that i wwill transfer the production datas to SAP throgh Interface at that time i need the basic start date & time of the production order to be the C shift starting time that is previous day night 11.00 PM.
Eg.
C shift date 12.04.2010 night 11PM to 7AM
i transfer the c shift production datas from MES to SAP on 13/04/2010 Morning 7AM.But i want these datas to create basic start date & time of the production order on 12/04/2010 11PM.
What should be done to get these.
Thanks in advance,
MBN
Maybe you are looking for
-
How to get data from hard drive in dead iMac?
I have an old slot-loading iMac (350Mhz G3 blueberry) that just died, probably a dead power supply or something. Won't turn on at all. I don't care about restoring it, I just want to take the hard drive out and grab data from it. I've found instructi
-
Is there any transaction code similar to FB15 (Clearing customer balances in horizontal view) for clearing GL and vendor balances? Thanks Sridevi
-
Using BAPI_TRANSACTION_COMMIT in a workflow
I notice that the BUS2032 method Salesorder->CreateFromDat2 is actually calling BAPI_SALESORDER_CREATEFROMDAT2. This must be explicitly committed to the database with COMMIT WORK, the recommended way being a call to BAPI_TRANSACTION_COMMIT. If I want
-
Hi, I have 2 issues with a custom rft template for Printing POs from EBS 11.5.10.2 using XML Desktop ver 5.6 Build 45. 1 I have 2 tables on the template corresponding to 2 different groups.. I will display only one table of data dynamically based on
-
Installation of OS X on Windows PC
This may be a stupid question to many but I'm not too savvy on the whole hardware/software relationship issue. Anyway, if someone could explain it to me in simple to intermediate technical terms to help my finite brain comprehend, I'd appreciate it.