Inbound Idoc question
Hi,
I have an inbound IDOC for creating sales order. my reqeuirment is at item level segement which has many fields and three fields from this list( plant, stor.loc and shipping point) will be blank. We want to derive these fields from a Z table and populate with correct values. I tried to use all possible exits in VEDA0001 but nothing worked. I tried to popolate DXVBAP with new values and also tried to change didoc_data but when it comes to Vall transaction I don't see these values in BDCdata table.
If I manually update these fields in the IDOC I get them properly in the call transaction. can you please point me where I'm making mistake.
thanks in advance.
Hi,
I have also faced the same issue. But I resolved it by calling BAPI_SALESORDER_CHANGE after the Salesorder is created.
after IDOC_INPUT_ORDERS FM is executed, SO No. is generated, pass that SO No. to BAPI and use exporting parameters
order_header_in, order_header_inx to update shipping type, and order_item_in, order_item_inx to update Plant.
Please go through the BAPI, you will understand the whole scenario.
Regards,
Sravan Guduru.
Similar Messages
-
How to block the status mail for an inbound Idoc to a specific user
Hi,
I have to stop sending the error status mail to a specific user depenidng on Partner Type. This will trigger when an inbound Idoc contains status error(message type INVOIC &ORDRSP).This user needs other mails which are getting triggered with the same Idoc for the same partner. Basically, the requirement is to block only the status mail for that user. The statndard task for this is TS70008125 and it uses the agent determination rule 30000001 (Idoc Administrator).in WE46, this task is assigned to process code EDIR. I have copied the task to a custom task and changed the agent determination rule. I would like to know how will I configure this task so that this custom task will trigger for the status error, without altering other workflows for the same message type & the partner type. Or is there any other way to block the mail?
Thanks,
SantoshHi,
I have done the required coding to exclude the specific agent from the rule,copied the task and its ready. My question is how do I map this custom task to a particular partner type, for the message type INVOIC in WE20? (The message type used for the inbound Idoc is INVOIC). I checked the Partner profile in WE20. Most of the process code is using function module as the processing type.
Thanks,
Santosh -
B1358 error while posting inbound idoc with a FM
Hi
We are trying to post and inbound IDOC with the help of an rfc and eventually creating an invoice from a bdc wrapped in the RFC
The idocs are successfully pushed to R/3 while they are not getting posted and the error code in we02 is as follows
No status record was passed to ALE by the application
Message no. B1358
Diagnosis
The application failed to return a status record to the ALE layer after the IDoc was processed.
This is due to an error in the application function module which processed the inbound IDoc.
Procedure
If you wrote the application function module yourself, you need to change the program.
If the function module in question is a standard application function module, you should consult SAP.
Note: we are using a custom function module
regards
krishnaHi Krishna,
I assume that your function module processing the IDOC does not follow the ALE/IDOC processing rules.
Please check out the programming guidelines in the SAP Online Help under:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/78/21758051ce11d189570000e829fbbd/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/78/21758051ce11d189570000e829fbbd/frameset.htm</a>
Important are the parameters and tables that need to be returned, containing the correct IDOC processing status. Please take the IDOC processing quite serious in regards to complete Logical Unit of Works.
Best regards,
SIlvia -
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
-
Inbound IDoc used for updating Sales order status
I have a requirements to set use standard IDoc to send out the Sales order to a non-SAP software as well as receiving Inbound IDoc to update the status of sales order in SAP. Could someone comment on my questions below:
1. What are the difference between all the ORDERSxx Idoc types?
2. What IDoc should be used for Inbound IDoc to update the sales order stataus in SAP?
3. Can the same IDoc type be used for both Inbound and Outbound with only the difference in the segment of Direction?
Thank you. Points will be awarded appropriately for helpful comments.Hi,
1.Intially standard IDOC types "ORDERS01" is having limited
segments. After few months the requirement got increased to
add more fields to "ORDERS01".So,once you release the IDOC
type you can not add any more fields .So SAP come up
with "ORDERS02" with new fields.Like that all IDocs types have
some more new seg ments.
2.You can use ORDER05
3. Yes you can use same IDOC type -
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 -
Partner profile for INBOUND IDOC
Dear experts,
Need your help to define partner profile for inbound idoc to R/3 system. There is a third party (Non SAP) based application from which idocs need to be sent to the R/3 system. There is no need to send an outbound idoc from the R/3 system. Can some one please suggest what are the steps to be taken to b configure the partner profile in the R/3 system for the inbound idoc?
Thanks,
PriyankaHi
This is not the right location to post this question.
You got to post this query in Data transfers section of SDN ABAP Development forums
Now regarding your question,
You need to create a Logical System with the help of the transaction SALE.
Assign the created LS to the client with the help of same transaction
Go to WE20 and create the partner with the same Logical System name
Now..as you are recieving the Inbound Idoc from external Non-SAP System, you need to maintain the message type in the Inbound Parameters by clicking on ADD Icon over there.
Before doing the above step, you got to create the connection between SAP and Non-SAP System.
Use transaction SM59 to do this. Type of connection would be R/3 I guess
Thanks
Hope it helps. -
Post long text for document line item via FI-GL Inbound IDoc
Hi guru,
I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
In the extension ZFIDCP02 and under E1FISEG, I am add my segment ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
I am send ZFIDCP02 IDoc via IBM Websphere no error but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment ZITEXT not post in FI-GL.
How can I post long text for document line item (ZITEXT) in FI-GL ?.
and I'm mean post ZITEXT to bank statement via IDOC.
Please throw light on this and may be I 'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
Thanks in advance,
Akkapong Pirachai
CAT Telecom
Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AMClose question because long time for answer.
-
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 -
Message variant is missing in INBOUND IDOC.
hi,
Any one can help on this issue?
The sender has confirmed that message variant was filled in outgoing file.
However, When we received this Inbound IDOC, the message variant is blank.
I still am confused by two questions:
1. The function module which insert record into table EDIDC and EDIDD, is same as the function module which post this IDOC to sap module(normally we maintained it in WE57)
2. We normally need to maintained in WE57, but also need create one processing code, what is relationship between WE57 and processing code(WE42)Hi,
Message Type/Message Variant needs to be maintained in WE20 ( Partner Profiles). In case of inbound IDOC ( receiving the data other systems) Data processing/posting will happens via function module. the function module will attach to the process code.
Process Code : The IDoc interface uses the process code to find the business process which controls the conversion of the IDoc into the SAP document.
The Process code will assign to the function module in WE42, the same function module will assign to the Message type and Idoc type in WE57
In a short summary, The Function module required to post the Idoc/update the data in SAP. However the Function module should process specific to the Message type and Idoc type only. It means the settings is required to identrify the correct function module to process the Inbound Idocs.
Whenever there is a problem with ALE setting the message 64 will trigger, it means the IDOC is ready to transfer to the application ( process through FM ).
Thanks,
Kiran. -
Can Inbound IDOC create a BP(Business partner) In SAP CRM system
Hi
Req:
Contractor data is transfered from ERP system to CRM using Message type HRMD_ABA with ALE Distribution Model in place.
Inbound IDOC is Successfully Posted when checked in WE05 in SAP CRM System.
Question :
1. Can an INBOUND Idoc create BP automatically or is there need of Configuration or Any custom program .
Appreciate Your Response
Bhanu Polsani
Edited by: Bhanu Polsani on Oct 4, 2011 6:10 PM
Edited by: Bhanu Polsani on Oct 4, 2011 6:16 PMYou can maintain two different address for the business agreements (can be treated as mailing address for the printed invoice)but you can not maintain more than one standard address for BP as any given time.
Regards,
Sanjoy -
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 -
Error status 51 no revere entry provided for Inbound IDOC FIDCCP01
hi experts ,
I am receiving an INCOUND IDOC from Sap XI Server .I have given the segements below but my question is if the @nd line item is given while receiving how do i post as i am getting Error 51 .
Please explain if i need to create more than one line item how do i post the idoc .do i need to copy E1F1seg and create it using code (program).
for the current existing file does not have a reconcialliatry entry given in the idoc file .Please let me know on how to post this idoc using bapi or what is the way .E.g
E1FIKPF : FI Document Header (BKPF)
BUKRS : Name of global company code
GJAHR : Fiscal Year
BLART : Document Type - SA
BLDAT : Document Date in Document
BUDAT : Posting Date in the Document
MONAT : Fiscal Period - 05
TCODE : Transaction Code - FB01
WAERS : Currency Key
HWAER : Local Currency
GLVOR : Business Transaction - RFBU
E1FISEG : FI Document Item (BSEG) -1
BUZEI : Number of Line Item Within Accounting Document
BSCHL : Posting Key - 40
DMBTR : Amount in Local Currency
KOSTL : Cost Center
HKONT : General Ledger Account
WERKS : Site
E1FISEG : FI Document Item (BSEG) -2
BUZEI : Number of Line Item Within Accounting Document
BSCHL : Posting Key - 50
DMBTR : Amount in Local Currency
HKONT : General Ledger Account
WERKS : Site
in th above given example the line number one is provided by the xi system but the line item two with posting key 50 is not given in idoc fileYou either have to get the offsetting CR for your entry in the IDOC.....or get your FI/CO people to tell you how to construct, particularly that GL Account No., and replace any standard SAP process code and function module with a custom one that will put the JE back into balance. First solution is more preferable obviously. I guess I would question why this inbound IDOC process has been set up to present incomplete data for posting to FI/CO.
-
Inbound IDOC Format (Flat File)
Hi,
I'm using SAP CRM Middleware for communication between CRM and Legacy System.
I have configured Outbound IDOCs and I see something like this:
EDI_DC40 2200000000000000023700 3012 CRMXIF_PARTNER_SAVE_M01 CRMXIF_PARTNER_SAVE_M
E201CRMXIF_PARTNER_COMPLEX000 220000000000000002300000100000001CRMXIF_PARTNER_COMPLEX
E201CRMXIF_PARTNER_HEADER000 220000000000000002300000200000102CRMXIF_PARTNER_HEADER BusinessPartner U
E201CRMXIF_PARTNER_KEYS000 220000000000000002300000300000203CRMXIF_PARTNER_KEYS 0000000014488DDB8AD891249EE10080010A6CA883
The questions are:
I need to know how do the following information must be filled in an Inbound IDOC:
The first characters I understand that corresponds to the Structure name, IDOC Number, IDOC Line...
So I need how do fields like IDOC number must be filled in an Inbound IDOC
Thanx in advance..
BTW. I'm expecting IDOCs as flat files so I need to explain to the Legacy Technician how to fill this fields.Hi,
Go to transaction WE30 and give the IDoc basictype name CRMXIF_PARTNER_REL_SAVE_M01 and press the view-button (or press F7 key).
This information you will need.
The records are builded using the following structure:
1st record contains control record information and follows the structure of table EDIDC.
Starting at where "220" is given (this is the CLIENT), it is followed by the IDoc number field DOCNUM (16 digits) and so on. Not all fields must be filled, only those that are used for inbound messaging. Keep here in mind: Less fields filled will probably work better (because SAP will add its own details on arrival of the IDoc).
All following records follow the structure of table EDID4 upto the field: HLEVEL (Hierarchy level, identical to the level found in WE30).
Thereafter it is followed by the name of the segment (including spaces) and after this it will follow the exact structure of the segment.
To view a sample, just generate a dummy (test) IDoc and use transaction WE19 to fill in the fields after changing to the correct IDoc type.
Hope this helps you out.
Regards,
Rob. -
Inbound IDOC:Not able to create OBJID while testing basic type HRMD_A07
Hi Friends,
I am trying to test creation of organization data (HRP1000) for inbound idoc via tcode WE19 using basic idoc type HRMD_A07.I am using inbound fm IDOC_INPUT_HRMD.After test data entry,The idoc status is showing as 53 but in the database table HRP1000 objid is blank.It is not creating objid.can any body suggest solution for this.In this case,i want to create objid internally by the system.
Thanks,
Rajesh Kumar
Edited by: rajeshvatsa2005 on Feb 17, 2011 9:03 AMHi Rajanidhi,
Thank you for following up!
Perhaps optomizing the choice of forum for the questions could also help somewhat, in addition to following up on them. For example [this one|Forgot username & password; would have enjoyed more knowledgable attention in the NW Admin or Security forum.
Hope that helps in future,
Julius
Maybe you are looking for
-
IPod Touch 4th Gen not recognized by computer
I have an ipod touch 4th generation and when I plug it into my computer, which is a mac version 10.6.3 it makes a sound and starts charging, but it is not recognized by the computer and will not connect to itunes.
-
I have windows 8 and can't authorize my account to transfer my icloud/iphone tunes to my computer. i dont seem to be able to do this from the store as it is not on the menu. my options when i click on my account are limited to stopping all devises an
-
Dear experts, Kindly help upon an existing query on our company, since I am a newbie in sql queries. From UGP1 i want to linked it to OUOM and INV1 and get the exact result for the BaseQty having the uom PACK from the INV1 table. I got 3 results from
-
HTML DB Change position of item level
I want to position the lebel of the item on the top of the field like this My_Name Phone I have been play with the Lebel Horizon/Vertical Alignment of the item but it did work very well. Why?
-
Best Graphic File Choice?
InDesign CS3 version 5.0.4 on a Mac. I put together a multipage magazine and deal with various file types all the time, from advertisers, photographers, stock-photo sites, etc. I take what I can get and do the best I can with it, but if I have a choi