GR IDOC Number
Hi All,
How to get IDOC number for particular GR in SRM. I mean any table in SRM Maintained GR number and IDOC number.
Thanks
Raghu
Hi Raghu,
By GR you mean Goods Receipt.There is no Idoc for this process.SRM uses XML format for Confirmation which is equivalent to Goods confirmation process in ERP system.
If you are in position to tell what is your exact requirement with table in SRM system,i should be in position to help.
There is a transaction called BBP_PD using which you can get the required table.
Just go to this transaction in SRM EASY Access Menu.
Select Object Type as (Take F4 Help here)
for confirmation ,object type = BUS2203.
You will get an interactive list and you can browse the list and in the last node ,you will get some table names which may be helpful.
regards,nishant
please give points if this helps
Similar Messages
-
Message with IDOC number, created by LSMW, missing in job log in SM37
Hi gurus,
We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
This is what it looks like in the dev system:
Data transfer started for object 'MATMAS' (project 'X', subobject 'Y') /SAPDMC/LSMW 501 I
Import program executed successfully /SAPDMC/LSMW 509 I
File 'XXX.lsmw.read' exists /SAPDMC/LSMW 502 I
Conversion program executed successfully /SAPDMC/LSMW 513 I
Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y') /SAPDMC/LSMW 516 I
And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
Data transfer started for object 'MATMAS' (project 'X', subobject 'Y') /SAPDMC/LSMW 501 I
Import program executed successfully /SAPDMC/LSMW 509 I
File 'XXX.lsmw.read' exists /SAPDMC/LSMW 502 I
Conversion program executed successfully /SAPDMC/LSMW 513 I
File 'XXX.lsmw.conv' exists /SAPDMC/LSMW 502 I
IDoc '0000000002489289' added E0 097 S
File 'XXX.lsmw.conv' transferred for IDoc generation /SAPDMC/LSMW 812 I
Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y') /SAPDMC/LSMW 516 I
In both cases the IDOC is created and update works fine.
My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
Regards,
LisbethHi Arun,
If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
Regards,
John. -
IDOC number is not in the list
Hi,
I am creating an inbound delivery using IDOC. The message type is DESADV and basic type is DELVRY01. After I have populated the control and data tables, I processed them using IDOC_WRITE_AND_START_INBOUND. I have generated the IDOC number after executing the program. The problem is, when I go to WE02, the idoc number is not the list. I am not sure if the IDOC I generated is successful or not. Does it have something to do with the FM that I used. I set a custom process code that will call the FM IDOC_INPUT_DESADV1. Please advise. Thanks in advance.
LalynHi Arun,
Thanks for the reply. But the IDOC number is not in the list and I can't access it WE19. Do you have any other Function module that I can use to process the IDOC in ABAP? The Function module should be the one to call the FM IDOC_INPUT_DESADV1 to create an inbound delivery. That's what I think causes the error. Thanks.
Lalyn -
Finding out Idoc number of the Invoice List
Hi!
how to find out Idoc numberr if I have number of Invoice List?
For example, I have number of Invoice List for checking it in tcode VF22, but how to get Idoc number of the Invoice List in order to check it in WE02?
Will reward,
MindaugasHi,
Use NAST with the invoice to get the latest record for that output type..
use the table CMFP to get the IDOC number..The combination is
NAST-CMFPNR = CMFP-NR..
Then in the column CMFP-MSGV1 you can find the idoc number
<b>Reward points</b>
Regards -
Standard Report with IDOC Number and PR number
Hi
My client need the Standard report with the combination fields of " Purchasing Number , Requirements tracking number in PR,
IDOC number , IDOC Processing status. "
(Our PR will generates through IDOC from other system via XI interface)Hi Nagendra,
for Purchasing Number , Requirements tracking number in PR you can use -ME5A
Purchasing Number-EBAN-BANFN
Tracking number goto- MELB.
table name-EKPO
for IDOC number , IDOC Processing status -we09
For IDOC number -EDID4-DOCNUM
IDOC Processing status-EDIDC-STATUS
Regards,
Krishna.
Edited by: kris_hna on Sep 8, 2011 1:14 PM
Edited by: kris_hna on Sep 8, 2011 1:19 PM -
How can we find the Idoc number which posts the material document in SAP
Hi All,
How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
Thanks
ChandruHi,
In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
regards
suresh -
Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number
Hi,
I'm attempting to create a simple interface which converts cutomer data from a flat file and loads it into a SAP enterprise system as an DEBMAS06 IDoc type. I am getting the error message Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number in the XI message monitor.
Has anyone come accross this error before and if so, what is the resolution???
Thanks, in advance,
PeteHi Peter,
did you fixed it?
How did you?
got the same problem
Kind regards,
Michael -
Error: EDI: Error while assigning IDoc number
Hi Everybody,
using XI 3.0 on Linux 64 bit SLES9 with Oracle I got some probleme sending messages from mq series to sap:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
<SAP:P1>EDI: Error while assigning IDoc number</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error: EDI: Error while assigning IDoc number</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What is missing here?
Kind regards,
MichaelHi Jayakrishnan,
thanks a lot for your answer.
SM59 is working finde. In IDX1 I got the the correct RFC destination entered and a double click works fine also.
The other way around R3 -> XI -> mq series is working fine. Here we are trying mq -> XI -> R3 and it stops sending from XI to R/3.
How to check the IDOC type?
Regards,
Michael -
IDoc to File - IDoc number : Variable substitution in File Adapter
Hi,
I have an IDoc to File scenario. I want to use the IDoc Number as part of the target filename (using variable substitution) in the File Adapter. However, the target flat file does not have a field where I can store the IDOC number. I know the IDoc number is also stored in the message header ( under the IdocInbound tab), but is there any way I can access this in the variable substitution?
Failing this, if I have the Idoc number in the target XML, is there any way I can skip it in the flat file generated?
example...
XML looks like this...
<Root>
<Record>
<IdocNum>99999</IdocNum>
<HeaderRecord>
</HeaderRecord>
<LineRecord>
</LineRecord>
<LineRecord>
</LineRecord>
</Record>
</Root>
But the flat file should be..
HeaderRecord...
LineRecord...
LineRecord...
Cheers
ManishHi Chandra,
Thanks for this
But this is standard stuff that is detailed in SAP help files (http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm)
What I was looking for was in Sravya's blog (refer the earlier entry).
Thanks anyway
Cheers
Manish -
Get IDoc-number from flat IDoc using dynamic configuration
Dear experts
In an IDoc2File scenario I have added the IDoc-number to dynamic configuration using the folling code in an UDF:
DynamicConfiguration conf = (DynamicConfiguration)
container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","DOCNUM");
conf.put(FileName, a);
The information is stored in the SOAP message
<SAP:DynamicConfiguration SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="DOCNUM">0000000000012345</SAP:Record>
</SAP:DynamicConfiguration>
Can anybody tell me how I can access this information in the "variable substitution" section of the CC? Perhaps something like "message:docnum"?
Additional information:
Taking the IDoc-number from the payload using e.g. "payload:ORDERS05,1,IDOC,1,EDI_DC40,1,DOCNUM,1" does not work, since the XML-IDoc has been converted to an flat-IDoc.
Thanks in advance for any good ideas
MarkusDear Rodrigo and Sarvesh
Thanks for your help so far! I applied your hints and now it is working fine.
But now I have the following additional questions
1.) My message mapping only maps the input IDoc to an output IDoc of the same type and structure. The MM is only required to process the UDF. Is there another, better solution to achieve my requirement that the IDoc-number shall be part of the filename?
2.) In the CC you have the possibility to use temporary files (section "Processing", Option "Put File" = "Use Temporary File". I think this will not work with the given solution, will it?
To possibly help somebody else or clarify the mechanism once again, I wrote down how my solution now looks like.
My UDF in the message-mapping looks like this
- Input = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
- Outpt = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
- UDF:
public String putDynamicConfiguration(String docnum, Container container) throws StreamTransformationException{
try
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String filename = "Prefix_" + docnum + ".txt";
conf.put(key, filename);
return docnum;
catch (Exception e)
return docnum;
In the CC the settings are now as follows
File Name Scheme = . -> only a dot or something else, because this field is obligatory, even if it is not used in this case.
Variable substitution (...)
Enable -> unchecked
Adapter-Specific Message Attributes
Use Adapter-Specific Message Attributes -> checked
Fail If Adapter-Specific Message Attributes Missing -> checked
File Name -> checked
Directory, File Type, Temporary Name Scheme for Target File Name -> unchecked
When I send an IDoc to PI and view the Adapte-Engine Version of the message (the SOAP-document, not the payload) I can find the Filename:
<SAP:DynamicConfiguration SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">Prefix_0000000000012345.txt</SAP:Record>
</SAP:DynamicConfiguration> -
Finding message in SAP Business Connector with IDoc number
Hi Experts,
Since there is no separate forum for Business Connector, posing my question here.
Does anyone have idea how we can find a message in SAP Business Connector if we know the source IDoc number, the same way we use IDX5 in PI.
Thanks,
DhawalAFAIK there is no simple way. What I usually do is compare timestamps. The Idoc is usually processed on the B.C. within the same minute.
We only have up to 10 Idocs within one minute and I do not have to search every day. So it works for me. -
Retrieve idoc number from r/3
Hi Experts.
I have an interesting issue..i am sending an idoc to r/3..asynchronously from bpm..Is it possible to get the idoc number of the idoc from the r/3 system for the same idoc that i had sent.....no the docnum is not what i am looking for, dont want to create another scenario where i retrieve it using rfc..etc...
just want the idoc number back so i can append it to the soap response..and hence wash my hands off the situation...
VenkatVenkat,
Just check this doc,if it helps https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe -
How to get IDoc number using sdata records
Hi Experts,
I have executed a report program in background. Its generating few IDoc's. I can view those idoc's in WE05 also. But now i want to display those idoc number in the result output of the report. One of the segment having materrial number and plant details in the IDoc. Using this details i want to display the IDoc number in the output screen. Even i have tried with EDID4 table its taking huge time to get a single IDoc. Is there is any simplest way is there to get those idoc's .
Otherwise how to achive this?
Thanks and Regards,
MohanaHi,
1.)If you want the ouput in the same report program which triggers the idoc, it is better to use the control record information.
You will get IDoc Number from XEDIDC(check the below code) and you can store the idoc number into an internal table if more idoc is expecting to be triggered.
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
MASTER_IDOC_CONTROL = EDIDC
tables
COMMUNICATION_IDOC_CONTROL = XEDIDC
MASTER_IDOC_DATA = XEDIDD
exceptions
others = 5.
read table xedidc index 1.
append xedidc-docno to it_docno.
And finallly use this to display in the output.
2.) if u want it in a seperate report, then select based on date, idoctype, messagetype
Regards,
Sajith -
Get IDoc number for IDoc generated through RBDMIDOC
Hi All,
I have a requirement where in I need to send Vendor master information through CREMAS to PI system. I am using change pointer and batch job to trigger RBDMIDOC and send IDocs.
In case the IDoc fails a mail needs to be triggered to concerned person giving vendor number, Idoc number and date. Can anyone suggest any user exit/BADI where this can be done ??
Note: system is 4.7C.Hi Chinmay
I didn't knew you were in 4.7. Since you mentioned about the details of the workflow getting triggered, here are the options i can think of.
In case of error it is triggering the standard task 00007989 which you can check in PFTC. This task calls the method ERRORPROCESS from Business Object IDOCAPPL. My suggestion here would be to create a subtype of BO IDOCAPPL in SWO1 transaction and add additional logic in method ERROR_PROCESS to send the mail. The details of the IDOC number and other things are available in the task container of TS00007989. But make sure you do it specific for your message type, as this will be triggered for all message types. And then change the BO and method reference in task 00007989 to point to your new BO method.
Other options would be to delegate the BO IDOCAPPL to a new Z BO, and then modify the method IDOCAPPL. This way you don't have to change the task BO assignment, as it will implicitly use the Z BO method. May be you can get in touch with your Workflow consultant who can help you more on this.
Regards
Ranganath -
Idoc number from personal number in ECC
Hi All,
i am new to idocs ,please tell me how to get the idoc number using the personal number.https://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
01. Go to T code We09 or WE10
02.Give date range for Created on
03.Give direction : Inbound or outbound
04.Give basic Type/logical message/ Port etc ( If you know - for faster search )
05. Now next tab is Criteria for search in data record :--
a. You need Segment name : find out segment name from we02 thru some existing / known Idoc .
b. Field name : Fro WE02 can get this value
C. Once you know Segment and field name of personal number - enter all three values and execute.
You will get respective Idoc#
Hope this helps. Let us know if you need further input on this.
Best Regards/Rajesh -
Get Idoc Number created through BD14
Hi,
I want to send some vendor details from SAP side to other system.And for that I am submitting BD14 using some vendor numberand message type cremas.
Now whenever we execute BD14 transaction with a vendor it will create one idoc number.
Now please let me know can we get this idoc number?
If i go to we02 i can see that but i want the table from where i can get this idoc number as i want show it in my final report output.
Edited by: Julius Bussche on Sep 12, 2008 4:45 PMHi
Its very simple.
Use function module SREL_GET_NEXT_RELATIONS
where :
GWA_OBJECT-OBJKEY = VENDOR_NUMBER.
GWA_OBJECT-OBJTYPE = 'LFA1'.
CALL FUNCTION 'SREL_GET_NEXT_RELATIONS'
EXPORTING
OBJECT = GWA_OBJECT
TABLES
ROLES = GT_ROLES .
DELETE GT_ROLES WHERE OBJKEY EQ VENDOR_NUMBER AND OBJTYPE EQ 'LFA1'.
After that, you will get IDOC number in the OBJKEY field where OBJTYPE = 'IDOC'
Maybe you are looking for
-
Hi Gurus, Is it possible to change the name of a Key Figure in Demand Planning? For example, in DP, i have a Key Figure name 'Sales Forecast'. The 'Sales Forecast' currently appears in every Planning book it was set. Now, for alignment of understandi
-
2G iPhone repairs in Canada - Options?
Hello, I ran into a huge problem with my iPhone 2G this weekend - I dropped my bag with the phone in it and now the bottom part of the screen is non-responsive. I have looked at forums, etc. and have restored my phone and I am pretty sure it is a har
-
OK, I'm finally trying a mobile project and I've hit a very humbling roadblock. I cannot get text to wordwrap in design view for a textArea for a Flex Mobile project, targeted at iOS, 4.6. That can't be right.
-
Greek Spell Check and Auto-Correction
Hi, I want to know if I can add a Greek dictionary that will have the same features as the English Language has on Lion. Why Apple didn't integrate such a simple thing. To make every user from different places in the world to have the convenience of
-
Urgent help with Adobe Audition Serial Number
I have been trying for hours to install my Adobe Audition 1.0 on my new computer (OS Win 7). Since my software purchase a number of years ago, the same serial number was accepted just fine on my two old computers (that are no longer working) but, thi