Inbound IDOC from PLDA /SAPSLL/E2CCEHAA-CVRTQ
Hello,
We have an issue with inbound IDOCs from PLDA dumping - reason, we have exchange rates with ratio maintained in GTS for certain countries. However, when PLDA inbound IDOCs are received the segements do not return the values based on what was sent out (with the ratio), and we experience dumps.
Understand that any inbound information for these IDOCS except the MRN number is used to update the customs declaration.
What can we do to overcome this issue?
Any pointers will be appreciated.
Thanks,
Padma
Hi Padma,
Surely this is the sort of problem that should be handled by SAP? Have you created an OSS Incident?
Otherwise, which Message are you talking about? What error message is included in the dump? And which program & line number is dumping?
Regards,
Dave
Similar Messages
-
How to create a inbound IDOC from flat file in Application server
HI All
Our requirement is to create the Inbound idocs from a flat file from application server with in R/3
Could any body please let me know the steps required for this.
Thanks
Malli1. Read the file using OPEN DATASET and read and fill up the segment info and fill the EDIDC header data
and then call function
CALL FUNCTION 'INBOUND_IDOC_PROCESS'
TABLES
IDOC_CONTROL = i_edidc
IDOC_DATA = i_edid4.
a® -
How to create Inbound Idoc from XML file-Need help urgently
Hi,
can any one tell how to create inbound Idoc from XML file.
we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml' we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
Please let me know the process to trigger inbound Idoc with out using XI and any other components.
Thanks in advance
Dora ReddyHi .. Did either of you get a result on this?
My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
I see lots of mention of using a Function Module.
Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
Or is there something tht can be done with Standard SAP?
Thanks
Lee -
How to create an inbound Idoc from an inbound IDoc in same client
How to create an inbound Idoc from an inbound IDoc in same client
Idoc will come from XI as an inbound idoc to SAP, now I have to read this inbound Idoc and split it into Several Inbound Idocs and now needs to be posted in the same client.
please let me know the procedure..
Thanks in advance,
SagarHi Sagar,
Develop a cusom Z-Inbound function module, configure the Z-FM to trigger when idoc is recieved from XI. In your Z-Inbound function module split the idoc (Recieved from XI) into respective Idocs and Using MASTER_IDOC_DISTRIBUTE post the IDOCs into the same system.
Thanks & Regards -
Using Inbound IDOC from Java system creation of Outbound delivery
Dear Experts,
The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
The scenario is,
After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
Now Query is,
1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
Thanks in advance for the replies I am going to get
Regards,
VELThanks for the feedback. This question is resolved
-
Creation of Inbound IDOC from a flat file.
Hi all,
I hav to create Purchse Order using inbound IDOC in which I hav to take data from a .xls or any flat file.
Can any one help me with this. i.e wat r the steps involed to do so.
Regards.
RahulHello,
Why do u want to create a Idoc for creating PO from flat file - you can simply use BAPI. Ok if you want to create PO only using Idoc.
I think message type is ACC_PURCHASE_ORDER0.
I just made one sample program to you how to create a PO with Idoc method. Here i am doing for Material Master Creation. Let me know if want any clarification.
********Poorna********
TABLES : MARA, MAKT, EDP13.
DATA : I_EDIDC LIKE EDIDC OCCURS 0 WITH HEADER LINE,
I_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.
PARAMETERS : P_MATNR LIKE MARA-MATNR.
START-OF-SELECTION.
REFRESH I_EDIDC.
SELECT * FROM EDP13 WHERE MESTYP = 'ZMATMASTER'.
MOVE-CORRESPONDING EDP13 TO I_EDIDC.
I_EDIDC-IDOCTP = EDP13-IDOCTYP.
APPEND I_EDIDC.
ENDSELECT.
READ TABLE I_EDIDC INDEX 1.
I_EDIDD-SEGNAM = 'ZMATMASTER'.
SELECT SINGLE * FROM MARA WHERE MATNR = P_MATNR.
SELECT SINGLE * FROM MAKT WHERE MATNR = P_MATNR
AND SPRAS = SY-LANGU.
I_EDIDD-SDATA+0(18) = MARA-MATNR.
I_EDIDD-SDATA+18(40) = MAKT-MAKTX.
I_EDIDD-SDATA+58(4) = MARA-MTART.
I_EDIDD-SDATA+62(1) = MARA-MBRSH.
I_EDIDD-SDATA+63(3) = MARA-MEINS.
APPEND I_EDIDD.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = I_EDIDC
OBJ_TYPE = ''
CHNUM = ''
tables
communication_idoc_control = I_EDIDC
master_idoc_data = I_EDIDD
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5
COMMIT WORK.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Stop generation of Inbound IDOC from Non - SAP
Hi Experts,
I have a requirement to update data base PA0105 for Email. The Email is coming for external system (Non SAP), which contains 1 employee in 1 IDoc. If SAP has valid email and same has been passed for external system to SAP via Inbound IDoc, it should not update PA0105. Hence, I am deleting the IDOC segments in Exit "ZXHALU07", before RBDAPP01 is getting called. As per the requirement its working fine.
Question: Is there any way to stop generating the IDOC. If the email ID were same, then IDoc should not generate in SAP. Please provide your valuable reply. Thanks.
Regards,
Ganesh R K.Hi All,
Scenario:
Need to Create Inbound IDOC in SAP system and receive it from Non Sap system.
Problem:
IDOC is successfully dispatched from Non Sap system(Sender Side) but, it is not received to SAP system(Receiver Side).
At receiver side(in SAP system) all configuration settings are fine (RFC destination is tested with no errors, partner profile are given with the inbound parameters, function module is successfully tested with no errors, distribution model is created etc).
In receiving system(SAP) no IDOCs are generated in We02 after sending the IDOC from Non Sap side.
Can any one please suggest me the reason for the above mentioned problem?
Thank you,
Swetha.C -
Inbound Idoc (From DWM to ERP) Batch No. change
Hi all,
Our client requrement is changing Batch no. from DWM to ERP inbound process throough IDOC when Inbound delivery is confirmed in DWM.
I tried SMOD_V50B0001 but Batch no. is changed both DWM and ERP. It doesnt work.
I just want to change only ERP Inbound delivery.
Is thre any solution?
This is DWM inbound delivery.
Inbound delivery in ERP is also confirmed by IDOC.
We wanna change only ERP batch no.
Regards
KiichiroHello Kiichiro,
Please let us know what is the Idoc type and message type which you are using for the confirmation.
For inbound idoc go to the function module which processes the idoc and find exit in it, then do your changes to update the batch no.
Also please explain in detail about your requirement like, what is the structure of the idoc you are using and also batch no. is received from Idoc or to be calculated within the system.
Regards,
TP -
i run a job to upload text file to inbound processing of IDoc
the job run in two steps with two program
RSEINB00 : to upload the file
RBDAPP01 :to activate the list of the idocs
but the job failed in the second step and it return
" During inbound processing of IDoc , an error occurred. The event for object type 'IDOC' could not be triggered "
any one know why ???Hi Kenny
I have also faced a similar issue in the past: To automate the process of file reading and triggering the inbound process whenever partner system (legacy system) copies a text file (containing data to be posted) to the SAP application server.
To automate file reading for inbound process, you have to use SAP events. You can define these events using transaction SM62.
This event will be used to execute the IDOC create program in a job based on this event.
Every time the partner system copies the extract file to the SAP application server, this event will be triggered which then runs the job for processing the data file.
For more information on using SAP events, click the following link and look into topics under heading Using events to trigger job starts:
http://help.sap.com/saphelp_erp2005/helpdata/en/fa/096e44543b11d1898e0000e8322d00/frameset.htm
the topic, Triggering events from external programs is quite interesting.
Cheers
Ashish Jain
[email protected] -
Retrieving(Inbound) IDOC from SAP Error WCF-SAP Adapter
I am attempting to retrieve data from SAP using WCF-SAP Adapter. I used the wizard to retrieve the IDOCTYP(PEXR2002) and the appropriate docrel=740. Whenever I send the IDOC to BizTalk I receive the error below. Anyone have insight to what could be
the problem. BizTalk is not resolving the IDOC types properly.
Also: I am using the schema in a flat file disassembler in the receive pipeline.
Reason: Unexpected data found while looking for:
'E2EDKA1003'
'E2IDBL2000'
'E2IDB02002'
'E2EDL02'
'E2EDL03'
'E2IDLU5001'
'E2IDPU1'
'E2IDBW1'
The current definition being parsed is E2IDKU5001GRP. The stream offset where the error occured is 1483. The line number where the error occured is 11. The column where the error occured is 0.Hi Jordan ,
This really happens when you receive untyped message from your SAP System . Its been well described in below link
Receiving Idocs - getting the raw idoc data
Better option here is to create a pipeline component which will be responsible for your message parsing or try something like below
During the configuration of your one-way Receive Location using WCF-Custom, navigate to the Messages tab. Under the section "Inbound BizTalk Messge Body", select the "Path" radio button, and:
(a) Enter the body path expression as:
/*[local-name()='ReceiveIdoc']/*[local-name()='idocData']
(b) Choose "String" for the Node Encoding.
Thanks
Abhishek -
Error in inbound IDOCS from XI to SAP
Hi,
We have a migrated system XI 20 to 70 (SP9) and we have adapter engine in 620. When a adapter engine in 620 send a xml message to XI for the R3 system , the XI system doesn't converts well the SNDPRN and SNDPRT. In concret the XI set as SNDPRN = SAPSID and as SNDPRT = LOGICALSYSTEM of SAPSID. and we want set in the fields SNDPRN and SNDPRT the values of the payload.
How can we correct this?
it can be a standard error in XI?
Example
Idocinbound
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Response
-->
- <SAP:IDocOutbound xmlns:SAP="http://sap.com/xi/XI/Message/30">
<SAP:TABNAM>EDI_DC40</SAP:TABNAM>
<SAP:MANDT>100</SAP:MANDT>
<SAP:DOCREL>700</SAP:DOCREL>
<SAP:DOCNUM>0000000000003016</SAP:DOCNUM>
<SAP:DIRECT>2</SAP:DIRECT>
<SAP:IDOCTYP>/AFS/ORDERS05</SAP:IDOCTYP>
<SAP:CIMTYP>ZAFSORDERS05</SAP:CIMTYP>
<SAP:MESTYP>ORDERS</SAP:MESTYP>
<SAP:MESCOD />
<SAP:MESFCT />
<SAP:SNDPOR>SAPXSD</SAP:SNDPOR>
<SAP:SNDPRN>ale_sfabs</SAP:SNDPRN>
<SAP:SNDPRT>LS</SAP:SNDPRT>
<SAP:SNDPFC />
<SAP:RCVPOR>SAPST1</SAP:RCVPOR>
<SAP:RCVPRN>ST1CLNT100</SAP:RCVPRN>
<SAP:RCVPRT>LS</SAP:RCVPRT>
And the payload
<?xml version="1.0" encoding="UTF-8" ?>
- <_-AFS_-ORDERS05>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT />
<DOCNUM />
<DOCREL>46C</DOCREL>
<STATUS />
<DIRECT>2</DIRECT>
<OUTMOD />
<EXPRSS />
<TEST />
<IDOCTYP>/AFS/ORDERS05</IDOCTYP>
<CIMTYP>ZAFSORDERS05</CIMTYP>
<MESTYP>ORDERS</MESTYP>
<MESCOD />
<MESFCT />
<STD />
<STDVRS />
<STDMES />
<SNDPOR>0120XI02_4</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPFC />
<SNDPRN>0120XI04</SNDPRN>
See it put
<SAP:SNDPOR>SAPXSD</SAP:SNDPOR>
<SAP:SNDPRN>ale_sfabs</SAP:SNDPRN>
and we want
<SNDPOR>0120XI02_4</SNDPOR>
<SNDPRN>0120XI04</SNDPRN>
Thanks in advanced.Hi,
our communication channel was migrated from SAP XI 20 and in XO 70 with SP9 we have not the option "Take Sender from Payload" or "ake Receiver from Payload" in the screen only has the option "Queue Processing" and "Apply Control Record Values from Payload"
Take Sender from Payload" and "Take Receiver from Payload" are in the same screen?
Thanks in advanced. -
EDI Sales order creation in CRM through inbound IDocs from non SAP system
Hi Friends,
We are having a scenario where we need to create a Sales Order in CRM for a B2B EDI transmission through IDoc. Customer is sending the EDI Transmission of his Sales order , which is passing through PI and then reaching to CRM to create a Sales order.This is the design we need to follow to make it happen,we are initially trying to create an order using WE19 for testing and the details are:
Basic Type - CRMXIF_ORDER_SAVE_M01
Message Type - CRMXIF_ORDER_SAVE_M
Functional Module - APPL_IDOC_INPUTI which is automatically giving a status text as " Function module CRMXIF_ORDER_SAVE has been called successfully", but no sales order is saved in CRM.
We are getting idocs posted successfully with status 53 with the statuses sequence 74, 50 ,64, 62 and 53.Our issue is inspire of the Idoc having status 53 and the FM called successfully we are not seeing the sales order created in CRM.
We are stuck here no sales order is created in CRM.
Are we missing any config. - set up - Prerequisit - Any OSS note need to be applied -- ANy middle ware setting ?
Any help will be greatly appreciated.
Thanks
VijayHi Christophe,
Awesome!!!!!! it worked, You are the best.
I could able to create a sales order in CRM,but below are the valid data I passed in the respective segment fields.Except for first 3 values rest all did not get reflected in teh Sales order.I feel i am missing some qualifiers.
Can you kindly share the IDoc data to be passed in...along with respective segments and fields:
Segment Field
E101CRMXIF_BUSTRANS OBJECT_TASK
E101CRMXIF_BUSTRANS PROCESS_TYPE
E101CRMXIF_BUSTRANS POSTING_DATE
E101CRMXIF_PARTNER PARTNER_NO
E101CRMXIF_PARTNER RELATION_PARTNER_NO
E101CRMXIF_ORGMAN SALES_ORG
E101CRMXIF_ORGMAN DIS_CHANNEL
E101CRMXIF_ORGMAN DIVISION
E101CRMXIF_SALES PO_NUMBER_SOLD
E101CRMXIF_SALES YOUR_REF_SOLD
E101CRMXIF_SALES PO_NUMBER_SHIP
E101CRMXIF_BUSTRANS_ITEM ITEM_NUMBER
E101CRMXIF_BUSTRANS_ITEM ITEM_TYPE
E101CRMXIF_BUSTRANS_ITEM ORDERED_PRODUCT
E101CRMXIF_PRODUCT_I PROCESS_QTY_UNIT
E101CRMXIF_PRODUCT_I PROCESS_QTY_UNIT_ISO
E101CRMXIF_PRODUCT_I BASE_QTY_UNIT
E101CRMXIF_PRODUCT_I BASE_QTY_UNIT_ISO
E101CRMXIF_SCHEDLIN_I ORDER_QTY
Thanks a ton in advance .
Vijay -
Creation of Sales Order and Service Contract from Inbound IDOC
Hi Experts,
My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
Thanks in Advance.
Regards,
PriyabrataActually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
Regards,
Priyabrata -
Creating inbound delivery without reference to PO - from inbound idoc
Hi guys,
I have a scenario wherein I need to create inbound delivery from inbound Idoc from external system without reference of PO. There is no PO created in SAP and this inbound delivery will be used just to receive material (purely for logistic purpose).
I have identified DELVRY03 or 05 as Idoc type but I am not sure whether system will create inbound delivery without having reference PO. I have two questions here -
1. Can we create inbound delivery without reference to PO?
2. If yes, which Idoc type should I use to create such inbound delivery?
Please help.
Thanks,
Parimal.Dear Parimal,
In standard, An inbound delivery can be created as follows:
With reference to a purchase order
With collective processing for several purchase orders
With reference to a stock transport order
With reference to a customer return -
Inbound idoc values when updated from user exit not saved
I'm trying to process some user exits of an inbound idoc from WE19.
The values get correctly populated to IDOC_DATA internal tables of IDOC_INPUT_ORDRSP function module in debug kode
but when the new idoc is generated from WE19 , those segment values (populated by exit) are not shown/saved.
The user exit is EXIT_SAPLEINM_007.
Is it not possible to populate segment values of inbound idocs from using user exits. If yes , then during testing using WE19 , every time a new idoc is created it should display those values into the concerned segments. Please help.Hello,
yes is possible it ...
I think the problem is:
or
you have something wrong when to append the new line on internal table
or
the exit used is not correct: read the documentation on EXIT_SAPLEINM_0**
Maybe you are looking for
-
Calling a class method from another class
how can i call a method / function of one class without extending that class in another class. and one thing more i want want o check wether any Swing gui is open or closed.
-
i need help fixing this because when i wanna put it to sleep so it does not waste all the battery i cant...it stays on all day
-
Adobe Crashes when using snapshot
Hi, I am using adobe reader 9 and everytime i select the snapshot tool and then select something adobe crashes. Below is what windows gives says. For any help I will be eternally grateful. Problem signature: Problem Event Name: APPCRASH Application N
-
How do you empty the trash if a file is in use
I somehow deleted a file although it was in use. Part of Time Machine. Now I can't empty the trash. Any hlep would be appreciated Thanks,
-
Indesign has keeps crashing...
Am I the only person that has Indesign crashing regularly when trying to do anything with Folio Builder? I'm on Mac, just updated to 10.6.8 (no difference) I'm using a Mac Mini with 2GB of Ram and 2.26GHz dual core intel processor Any one else? Is my