IDOC MESS ..URGENT..!!
pls help me with this scenario ,
The idocs are coming from an external system called x in flat file .
i have scjeduled the program rseinb00 to create the idocs .
i have done the settings to process these idocs via idoc_input_orders.
Now , if i have made this setting , it means that whenever an idoc of type orders01 will come this FM will be triggered. Does it mean that for inbound it doesnt matter if it comes from system x y or z , once the settings are done in one partner profile it will always use this function module to process any idocs that come on that system .
For eg : I have one partner profile ABC type LS
Inbound parameter : orders , process code ORDE.
Now , if orders01 idoc comes from supoose system A , System B to ABC Logical system , it will process all the orders01 in the same way ??
The issue with me is that :
Once the RSEINB00 creates Idocs , the idoc_input_orders is triggered as per the settings in Partner profile.
My first question is :
What is the standard way of reporting the errors produced during idoc processing to the external system (Non SAP) ?
If i copy the standard FM idoc_input_orders , and try to read the status table , How can I ensure that i read the status of only those idocs that came from System A ?
If I try to set up the ALEAUD01 idoc to produce an audit idoc , how can i ensure that it contains only status of idocs from system A??
I m in a mess , pls help ASAP.
I suspect whether there is a standard way available!
However, there can be a work-around which would call for some development.
Approach could be:
1. Create a ZReport which will fetch all status records for the specified conditions (such as IDoc No., IDoc Create Start/End time etc), format & download the status info (flat file format) to a specified location.
2. Subsystem can pick up the downloaded file by running scheduled job.
3. This report can either be executed manually or scheduled to run at some speficied time intervals.
This approach can be extended to a Z_BAPI function module & this BAPI can be called by the subsystem directly to get the status info of say previously sent IDocs.
Thanks,
Puru
Similar Messages
-
Inbound idoc mess type:DESADV basic type: DELVRY03 Item text
Hi all,
W're having a inbound process to create inbound deliveries via IDOC.
mess type:DESADV basic type: DELVRY03
We want to create a item text on the delivery via the IDOC. Is this possible?
I see that there's a segment E1TXTH9 - E1TXTP9 to put in texts.
But as I see it, to create a text, we have to give the delivery nr in TDOBJECT TDOBNAME TDID TDSPRAS LANGUA_ISO.
But since we are creating it, this is not possible.
Is there any way to create an item text on an inbound delivery via the IDOC? And how.
Thanks a lot!
Caroline,Hi Chris,
Before end of the ur functiond module (Idoc_input_xxxxxxx) create an Enhnacement spot . at this point I hope so delivey will be created already .so now u can get the delivery number
**********The Logic for Text Field filling*******************
IF NOT vbeln IS INITIAL.
DATA : L_FNAME TYPE THEAD-TDNAME,
L_FID TYPE THEAD-TDID,
IT_TLINE TYPE TABLE OF TLINE,
WA_TLINE LIKE LINE OF IT_TLINE.
CONSTANTS :C_FID TYPE THEAD-TDID VALUE '0004',
C_FID1 TYPE THEAD-TDID VALUE '0007',
c_Text(40) type c value 'xxxxxxxxx',
C_LANG TYPE THEAD-TDSPRAS value 'E',
C_FOBJECT TYPE THEAD-TDOBJECT VALUE 'BELEG',
C_FFORMAT TYPE TLINE-TDFORMAT VALUE '*'.
Reading the Idoc data table for Text field population
READ TABLE IDOC_dATA INTO IS_EDIDD
WITH KEY SEGNAM = c_segnam_e1edkt2.
MOVE IS_EDIDD-SDATA TO IS_E1EDKT2.
CONCATENATE mrm_RBKPV-BUKRS mrm_BELNR mrm_GJAHR INTO L_FNAME.
if sy-subrc = 0.
MOVE: IS_E1EDKT2-TDLINE TO WA_TLINE-TDLINE,
C_FFORMAT TO WA_TLINE-TDFORMAT.
APPEND WA_TLINE TO IT_TLINE.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_FID
flanguage = C_LANG
fname = L_FNAME
fobject = C_FOBJECT
SAVE_DIRECT = C_X
FFORMAT = C_FFORMAT
tables
flines = IT_TLINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I hope it resolves ur problem.Please let me know if u have any
Queries.
Rgds
Sree m -
Need help in Idoc--very urgent.
Hi guys,
i am working on an object where i need to post the data from legacy system to F-27 transaction using Idoc.i hv found two idocs input_idoc_fidcc1 and input_idoc_fidcc2 for posting the data..
Can anyone help in finding the right idoc for triggering the f-27 transaction with the reason...
coz both are perfoming almost the same functionalities...
its very urgent guys..
kindly help me full marks wud be given...
regards
SahilHi,
The function module is related to post the idoc type FIDCPP01
and posts the complete FI document. and as coming to second function module along with Tax you can post item wise with holding tax dataalso. So you choose the required function module based on the data you need to post. If you need not post with holding tax details dont fo for second function modules.
Reward if find useful -
Lookup issue for File to Idoc scenario-- Urgent Pls.
Hi All,
Iam doing File to IDoc scenario with one file --> any of 3 R/3 systems.
Routing has to be done dynamically using a lookup file, based on the incoming GLN code and last character of the Order Reference number.
The last character of the Order ref Num will have A,B or C.
Where, ' A' for R/3 152 Client
' B' for R/3 142 Client
'C' for R/3 132 Client.
1. PlantGLN_Routing lookup file :
DestinationSystem, Plant GLNCode, Partner Number,
A, 5000243000473, GDKDVRC152,
B, 5000243000473, GDKDVRC142,
C, 5000243000473, GDKDVRC132,
A 500034000487 GDKDVRC152,
B 500034000487 GDKDVRC142,
C 500034000487 GDKDVRC132,
By Using DestinationSystem and Plant GLN Code as lookup key --> I need to get the value of partner system.
2. IdocCtrlLookup
Purpose: To read the IdocCtrlLookup file to populate the Idoc control segment
Now based on the partner system from previous table --> I need to get the details of Sender Port , Sender Partner Type , Sender Partner Function , Sender Partner Number , Rx Port , Rx Partner Type , Rx Partner Function , Rx Partner Number.
Please help me how can acheive this scenario with the help of lookups.
Its very urgent.
Regards
Krupakar.HI,
Here you would have to use one mapping for dynamic routing , based on this create IM and use it in receiver determination.
the another mapping is general to file to idoc.
see the dynamic routing link here
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping -
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Also if you know the field name the context object can be defined for partner no that can be used in receiver determination in condition. to particular partner no in receiver determination.
Regards
Chilla -
JDBC-XI-IDoc scenario -- Urgent
Hi All,
I am doing a scenario JDBC-XI-IDoc.
Now the Oracle table in the source system, has a control table as well.
This control table has 2 fields MSGID and MSGTSTAMP. These 2 fields has to be updated for each record.
Now please tell me, how this can be handled?
The MSGID and MSGTSTAMP r created in XI, so we need to send it back to source system, but how?
Its urgent, early reply will b appreciated.
Thanks in advance.
NeeteshHi Neetesh,
Yes , you can do it using BPM.
<i>So, it should be something like- XI triggers IDoc to R/3 and almost at the same time, sends back the MSGID and MSGTSTAMP to JDBC.</i>
>>> Then I think you can do without Synch communication.
-Receive the Message in BPM(after mapping)
-Fork step to send both messages at same time
-Send to Idoc
-Send to JDBC
But you need to have 2 receivers.
1) BPM->Idoc
2) BPM->JDBC
It will do.
SO u can do without Synch communication also.
Pls acknowledge
Regards,
Moorthy -
How to create an IDOC ? Urgent!
Hi ...can anyone tell me the steps and process of creating an IDOC?
or can email to [email protected]
very urgent...THANKS IN ADVANCE.
SuryaaHi SUrya,
Go the below links:
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Also check this links for additional information.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
Regards
Srini -
Hi Guru's
I have an idoc issue..
There is an error 'Item categoy not maintained'.
Messa type is YWHSCN
I am unaware of this msg type.. but i guess it is related to shipping..
How shoul i proceed now
Do i require to see the shipping documnent.. if yes
how should i see
waitin for rreplies..Hi,
do you use (put) any item category inside your IDOC ?
if so check it with someone from SD
(or yourself) if this item cat exists (is possible for document that you create)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
LSMW - Idoc method - Urgent ??
Hi,
What is "Allow structure assignment to EDIDC40" ? on the object attributes maintenance screen (step 1) in the LSMW Idoc inbound processing.
we are using CRM 5.0 to test the BP creation with the help of IDOC methods.
any inputs or step by step IDOC BP creation guide/document will be highly appreciated and rewarded.
you can mail the IDOC step by step doc to [email protected]
Thanks
SKHello,
normally the control structure EDIDC40 is filled automatically by LSMW. In some special cases you may want to defined your own mapping rules. In these cases you can set the flag and will then see EDIDC40 in the step where you do the fieldmapping.
I would suggest not to set the flag unless you really urgently need to adopt rules
for the IDoc control structure.
Regards, Katja -
REGARDING ALE IDOCS USEREXITS URGENTLY
hi i need urgently ALE IDOCS,AND USEREXIT SOME REALTIME QUESTIONS & ANSWERS HEPL ME PLZ..
SEND ME THIS MAILID:[email protected]For user exits:
http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
Best Regards,
Vibha Deshmukh
*Please mark all the helpful answers -
Hi SAPpers,
Does anybody knows what is IDOC Monitoring?
The step by step configuration for IDOC monitoring.
Was is the purpose of that?
What is the Tcode for monitoring IDOC?
Thanks will be rewardedHi,
Use
You can easily and effectively monitor inbound and outbound processing of IDocs using special reports and graphic displays. An agent can also be notified automatically using a workflow if an emergency occurs (active monitoring).
Features
The following tools are available for monitoring:
· IDoc Display
All the other fields of the control record are available as selection criteria as well as partners and messages
- IDoc numbers
- Ports
- IDoc types
You can display a tree structure of the IDoc directly using the IDoc number. The IDoc list is displayed again if several IDocs are selected.
· IDoc Statistics
The IDocs are sorted and represented graphically according to predefined status groups. Lists and individual IDocs can be displayed using mouse clicks.
· IDoc Search
You can select IDocs according to their business content, that is, according to the data contained in the segments.
· Error and Status Processing
Error and status codes are defined for the IDoc transfer. These codes can be assigned to a workflow task, which informs the agent automatically in a procedure.
· Monitoring the Inbound Queue
If you can receive IDocs via qRFC, you can monitor the inbound queue using a special transaction.
· Monitoring the Outbound Queue
If you can send IDocs via qRFC, you can monitor the outbound queue using a special transaction.
· Active Monitoring
This function provides you with a report that informs you if the number of critical IDocs exceeds a certain threshold.
Active Monitoring Locate the document in its SAP Library structure
Use
This report automatically informs the agents responsible if too many incorrect IDocs are found.
Integration
Active monitoring is not used for processing or reimporting of an incorrect IDoc. Exception handling of every incorrect IDoc is responsible for this.
Activities
You plan the report to run regularly with a variant. The variant also informs the report of the status values to be selected: If the critical status contains more IDocs than specified in the critical number of IDocs, a message is sent to a predefined recipient.
The recipient receives the notification in the form of a work item displayed in their Business Workplace. If they execute the work item, the IDoc statistics are displayed with the values determined at the time of evaluation. The agent can display the current status of these IDocs using the Refresh function. The selection criteria which led to the notification are also used for this evaluation.
Example
An important customer orders goods using EDI on working days, between 8am and 6pm. These goods are to be delivered at 4pm the next day. To ensure that the delivery is made on time, the ordered quantity must be recorded by midday on the day of delivery. The active monitoring function is to be used at 8am every morning to determine whether there are any orders which could not be processed automatically. The report, therefore, is started at the same time every day and 0 is selected as the critical number of IDocs. The agent responsible is notified if any incorrect IDocs are found and can then manually process the outstanding orders by midday.
For more information see
Schedule Monitoring Job (example)
A processing status is assigned to an IDoc during processing (e.g. Status03: Data Transfer to Port OK). These status values are in turn assigned to a higher level status group (e.g. Output: IDoc Transfer Successful). This assignment to a status group is referred to as Qualification. You can change the assignment of status values to status groups in the Edit Status Values transaction.
Procedure
1. To edit the status groups, choose the ALE customizing transaction SALE ® Set-Up System Monitoring ® Set-Up IDoc Status Display ® Edit IDoc Status Values (WE47).
A list of statuses which have been defined is displayed.
2. If necessary, choose This graphic is explained in the accompanying text. By double-clicking on the status that you wish to assign a different status group, the detail screen is displayed.
3. The status group is displayed in the Qualification field. Use the F4 input help for an explanation of the numbers.
4. Select Save.
ExampleExample
Status 25 (processing despite syntax error (outbound)) is assigned status group 1 = Outbound: IDoc generated". Replace 1 with 5 for Outbound: IDoc Interface error".
Chek Tcodes in WE02 OR WE05
Regards,
Phani,
Points If Helpful. -
Dear expert,
In which report/tcode I could found the account number and cost center for idocs?
I've tried in we02 but could not display the list for all idoc with account & cc..
Please your advice.
Thanks.You may need to query this information from two tables:
1. EDIDC - Pull all the list of idoc numbers you are having interest.
2. EDI4 - Input the idoc number from Step1, Select the segments you are interested.
If required turn the above query in to a abap report.
Let me know if you need more info and reward points if you find this information useful.
Thanks,
Ramesh -
Hello,
I have a IDOC number and in WE02 when I see the segments,
Segment E1EDP04 is coming <b>before</b> E1CUREF.
I want Segment E1EDP04 to come <b>after</b> E1CUREF.
Again How can i use the same IDOC number for debugging
Thanks, madhu...WE19 will create a new IDoc. This is not what he asked.
To re-process and already processed IDoc you will need to change the status to '64'. Use the Function Module 'IDOC_STATUS_WRITE_TO_DATABASE'.
Then using BD87 you can re-process the IDoc. Don't forget to put a break-point on the processing Function Module though.
Is it a standard IDoc. Is the problem caused by a user exit. -
Hi guys...
Sorry, I'm not sure where to post my IDOC questions...So I post it here and hope to get some opinion from u all...
Upon intercompany billing process is perform IDOC document should be generated to create posting in AP10. But now this is not the case, no IDOC generated upon this process...
When check the posting in AP10 and MY10 book and find out the value only posted in MY10 book but not AP10.
When I check the IDOC, system did not capture any error IDOC generated for the intercompany billing posting.
The message type for this IDOC that should be generated is INVOIC, which is the SAP standard IDOC.
Can anyone give me some suggestion on how to know what should be set in the system or it's the program problem? what makes the IDOC cant be generated for company code AP10?
Thanks.
Message was edited by:
KAR SENG LAW
Message was edited by:
KAR SENG LAWHi Sunil,
I didn't get your question. Can you be clear? Do you want to test the Idoc?
Thanks,
Vivek -
Hi all
I need to pass Master Inspection Characteristics (MIC) data or any other data to XI in a receiver format. For that I need to create custom function module according to xml format. Then I need to send MIC data to custom idoc fields. So I called my custom function module from user exit of standard idoc of MIC. So that MIC data will be transferred to Zidoc. Iam new to this idoc. I have got some doubts. Whether standard idoc function module will be automatically updated as soon as MIC created. Where we should call this Custom idoc so that as soon user creates MIC, so that it will go to XI
regards
shankarhai shankar,
check this may be useful...
first create a function grp and function module..
in the source code of function module call the IDOC funcion module. do the respective processing.
and link this fucntion module and message type ( ie custom one) to PROCESS CODE...
Regards
Ramakrishna S -
How to find out the IDOC number(urgent)
hello every one,
i had recived all the data to BW from R/3 but the request is still running in the system
for this <b>i need to manually release the IDOC for BD87</b>
can any one please help me <b>How to find out the Idoc Number in R/3 and In BW for the particular load</b>
Regards
Sandyhi Siva,
thanks for ur valuable answer,
it is showing IDoc num for the succeeded one....
my present error is Data pack 1 got error and Datapack 2 was success,
their 3IDocs are their in detail tab all are success
as per my knowledge it will for the Data pack 2 and it is showing 3different
how can i find the Idoc which was struck .....
that need to process manually in BD87..
please suggest if i am wrong
Regards
Sandy
Maybe you are looking for
-
My audio says that is working but it is not, how would i fix that?
I'm not good with computers
-
HELP! Ghost files and empty Applications directory
Just to set the stage of the issue, here's a what little background I have.... Im a long-time MacOSX user, and requested a Mac when starting my new job. I started today and was given a hand-me-down Aluminum 27" iMac, running 10.6.8. After some mino
-
Anchored Objects Disappear When Page Moved
I'm working in InDesign CS2 in XP environment. I duplicated a page that contains anchored objects. It was page one; the duplicate page is now page 5. I modified the duplicate page 5. Now I want the altered page 5 moved into page 1 position. When I mo
-
5230 - Loading sounds Via Computer
The instruction manual for my Nuron 5230 said I could hook the USB to the computer and access the phone as a mass storage device. If I have ringtone files that I've downloaded, which folder do I put them in when the Windows Explorer window comes up?
-
Internet connection breaks while loading a QuickTime-Stream
I'm not able to watch a QuickTime-Stream. The video seems to load forever and while loading my interntet connection on my Mac mini breaks. Same situation on any other computer at home. I fear there's a problem with my router. Can you help me?