IDOC Number for a Application document
Hi frinds,
Using Idocs we create application documents like Sales orders(inbound),invoices, delivery etc (outbound) to create application document in some other system or used in case of B2B scenario.
my requirement is can we get the Idoc # form the slaesorders number using some function module (to get the idoc #'s of huge number of sales orders). however we can find the sales order number form the Idoc number using WE05 i want the reverse way.
Thanks,
vin.
Hi,
If your requirement is like Xi generates an outbound idoc to R/3 which is different to inbound idoc number of R/3.
USe SREL_GET_NEXT_NEIGHBORS ,
object-objkey = idoc num object-objtyp = 'IDOC', max_hops = '99'.
You can get the list of outbound,inbound idoc numbers and sales order .
Thanks and Regards,
P.Bharadwaj
Edited by: Bharadwaj p on Jun 14, 2010 8:31 AM
Similar Messages
-
Getting valid idoc number from the sales document
hi,
Iam sending the code for getting the idoc number from sales document.
but iam not getting the result.
please see the code and correct the code so that i will get the idoc number from the sales document.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
it is very urgent..............
thanks in advance......See the below code :
report zxyz.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
<b>data sdata like edid4-sdata.</b>
start-of-selection.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
<b>concatenate '%' p_vbeln '%' into sdata.</b>
select single docnum from edid4 into l_docnum
where sdata like <b>sdata.</b>
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
Thanks
Seshu -
P.O number for a billing document number
Hi Experts,
From which table we can find a PO number for corresponding billing document number(VF03)?hi RAVI,
Go to T.code SE16
enter table name VBRK-->enter
billing doc type,billing doc no,s.org,d.channel
execute
waiting for reward points
mcm -
Delivery number for a material document posted
Hi experts,
I need to delivery number for the material document number posted,
I tried to use the field XBLNR from the table MKPF
but i see that the feild is empty in the case of inbound delivery
why is it so.
How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
Thanks a lot in Advance.Hi,
If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N. -
Same invoice number for two delivery documents
Dear Folks,
We are having the following business flow:
Contract- S.O.- Del- PGI- PI- Excise Invoice- Commercial Invoice
Now The system is generating the same commercial invoice number for two delivery documents.
1.The two deliveries have 40 and 50 MT of materials respectively.
2. The proforma invoices are separate for both and have quantity 40 an 50 MT respectively. Excise Invoice is also diffrent and of right quantity for both of deliveries.
3. In one of the delivery (40 MT) it is showing aditionally "Confirmation of service" in document flow.
4. But while doing commercial invoice the system created a single invoice with quanitity 50 MT ONLY.
5. In the document flow of both deliveries it is showing the same invoice number.
Please advice.
Thanks in advance.
RaghuHi Raghu
In standard settings,system always tries to combine the deliveries into one invoice if they have same Payer, Billing data, Destination country,Payment Term and same Incoterm.
This is controlled by the routine "001" in the copy control table "Delivery to Billing" (t.code VTFL).
Possibly, in your case, the above criterias are same and routine is "001" in the copy control table.
If you want separate invoice for each delivery, then in the copy control table (t.code VTFL), go to item level and in the field VBRK/VBRP field put routine "003" and save it.
Now, system will create separate invoice for each delivery even if the above criterias are same. -
To find IDoc number for a Scheduling agreement.
Hi all,
I am new to this area. I need to find out IDoc number for a Scheduling agreement. I have been instructed to go to VA33. And then after entering SA number and going in they instructed me to systems--> service for objects. But when I go there it is giving me message "NO SERVICE AVAILABLE". Can anyone help me out with this.
Thanks in advance.
Ravi BoppanaHi,
The issue is solved. It seems that a parameter is missing in user profile as per our basis guy.
Thank you
Ravi Boppana -
Finding the idoc number for material document
Hi,
I have a material document which was created by an idoc. How do I know the idoc number that has created this material doc?
We have lots of idocs coming from external systems which do GI, GR, transfer postings etc. With the material document , not able to trace which idoc created it.
RegardsHi Ramees,
"Refer the Tables MKPF / MSEG inorder to get the IDOC no's for Material Docs. "
But how can it be found for Transfer posting documents where no PO history exist !!
Alex. -
How to get Get IDOC Number for Inbound IDOCS
Hi,
I am using the FM -- IDOC_INPUT_HRMD for creating Inbound IDOCS.
I populate the values for Control Record and Data Record and the IDOC is posted successfully and i get the status 53 in the status Table.
But the problem is the field for IDOC number(DOCNUM in IDOC_STATUS Table of the FM ) is empty.
How can i get the DOCNUM for the IDOC posted as a result of this FM ?
regards,
SiddharthaHi Siddhartha,
I think you cannot call IDOC_INPUT_HRMD fm directly from the external program as this fm only handles the application logic part and not the idoc number generation and save part.
So I think you have to call IDOC_INBOUND_SINGLE from your external program and then get the IDOC number.
Then if you need the status records then you need to call another fm and feed IDOC number that you have got from IDOC_INBOUND_SINGLE (there is one IDOC_READ_COMPLETELY but it is not a remote enabled fm)
<b>OK, I just found one RFC enabled fm which you can use,
<b>EDI_DOCUMENT_READ_ALL_STATUS</b></b>
Hope this helps..
Sri
Message was edited by: Srikanth Pinnamaneni -
Test IDoc data posted into application document correctly
Hi,
I'm new to IDocs.
I need to test some inbound idocs if the data is correctly posted as Application document(PO).
But currently the partner profile is not set in the system.
When i tried to process the idoc using RBDAPP01 i'm getting the status as 'Error passing IDoc to Application'
Is it possible to process idoc by any other way for testing, to create PO and data is populated correclty in PO.
Thanks in advance,
poornima.Hello,
You can go to the Transaction WE19 (Test Tool for IDoc) and select an Idoc based on the Idoc Type that you want to Test & Post. While Posting the IDoc from WE19, the Partner Profile Check will be ignored and it will not be a Fatal Error even if you've not maintained the Partner Profile for the Incoming IDoc.
Refer to the Following Link which contains Instructions about Testing an Inbound Interface using the Test Tool.
http://help.sap.com/saphelp_nw70/helpdata/en/dc/6b814443d711d1893e0000e8323c4f/frameset.htm
Hope it would be helpful.
Thanks and Regards,
Venkat Phani Prasad Konduri -
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 -
Hello All,
I am working in HR. If I have a record created by IDOC, is ther any way for finding IDOC number that has created this record.
Regards,
RahulHi Sergie
The ALEAUD is a separate IDoc, so naturally it must have a different number than the original IDoc. However, the field E1STATE/DOCNUM in ALEAUD is a reference to the original IDoc.
How is your ALEAUD generated? If you are doing this "manually" via a message mapping, you need to include the original IDoc number in the message to your receiving system so that it can send an audit message back containing the original IDoc number. From this audit message you should be able to map a correct ALEAUD message.
Regards,
Thorsten -
Port number for the application
Hi...i'm working on SMS apps...
it's a peer2peer sms apps..and to send a message to the application in the other mobile...we need to specify the port number where the application located....
right now my apps is already able to send msg and received by other phone which do not have the same apps...
so now i want to specify the port number so ythe msg can be specificaly received by the apps..
My question is...how do we know or how do we set the port number?
thx 4 the reply...Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
If anyone else in the forum has some advice, please reply to this thread.
Thank you for posting. -
Tracing the Customer Number For deleted parked document
Hi,
I have wrongly deleted the park document . My client wants to know the customer Number of the deleted park document. Where can I fetch this details from.
I found that the Accounting document Number is stored in table BKPF with a deletion flag Can u please suggest which table the deleted customer no. for the park document is stored
Thanks in advance
Ratna & SusanHi Rathna
Oneway to find out the customer number is, thro transaction FBL5N, select all customer open items (with key date before the parked document was deleted) and select the noted items also.
You will be able to see the document.
Thanks
Ashok
Reward points if this is useful -
in WE02, I find the receiving idoc number 24792 in client 800, the partner number shows client 500, how to know the sending idoc number in client 500? thanks
Hi,
The issue is solved. It seems that a parameter is missing in user profile as per our basis guy.
Thank you
Ravi Boppana -
Delivery number for a billing document
Dear Experts
How to retrive or get the preceeding delivery document number from a billing doc.I have tried for VF05 but its restricts me by only specifying a single customer to be selected.I dont require this.
I require the list of billing docs generated within a particlar billing period and their respective delivery numbers.
The copy control settings in VTFL might have helped me but the reference number that was maintained was only POrder number.
Please commentHi ,
You can get this from the docment flow
Goto VF03 and give the Billign docment number and click on Contro + F1
It willl take u to the docment flow.
There u can see the preceeding docment that were created for this Billing docment
If you want the docments from a table , then goto VBFA table which is the table for Docment flow and
Give the Billing docment nmber and select the docment category as J and then u can retrieve all the Deliveries for that particlar Billing docment
Hope it is clear
santosh
Maybe you are looking for
-
How do I move one song from an itunes library to another on same computer?
We share one computer (Mac - powerbook) in the household. We have an Itunes set up with two libraries (so we can manage our own ipod playlists, etc.). On occasion we want to move a copy of a song over to the other's library (cause they like the song
-
I have purchased and downloaded Minecraft. When I try to open it, it gives me the message "To open "Minecraft," you need a Java SE 6 Runtime. Would you like to install one now?" I then click Install. A "Software Update" window pops up, and immediatel
-
Please Help!
-
Saving for Web & Devices Spacing Error
I'm currently saving this photoshop page for Web & Devices to import into Dreamweaver and I'm running into this error. See images below: Here's how my website is supposed to look and how I designed it: and when I preview in browser and zoom in or ou
-
Hello, I'm new at BSP programming and I'm quite lost... I have a BSP created without controllers, and I want to create a button which should close a page. In the <u>layout</u> I have written: <htmlb:button id = "close" text