IDOC to create PO and Invoice
hi...i have to pass a IDOC which will first create PO and then post the invoice automatically...
is there any method...
Plz help
Message was edited by:
Madan Gopal Sharma
Not sure I understand the process.
You can pass the IDOC using ORDERS / PORDER idoc depending on your scenario. But these standard IDOCs.
But how can you create invoices for the orders created without creating inbound / outbound deliveries for the same.
You probably can write a custom program, which will do all the three actions or order / delivery and invoice, and then trigger the custom program.
Regards,
Ravi
Note - Please mark all the helpful answers
Similar Messages
-
Distinguishing between IDocs for Delivery, Shipment and Invoice
Hi Experts,
I have a requirement where I am triggering IDocs from SAP for Delivery Document, Shipment and Invoice and sending them to a third-party middleware everytime they are created in SAP, by configuring output types for these documents.
I want to know if we have any field in these IDocs's Structures that can be used to distinguish between the different documents such that we can identify which document has been received based on this field (or combination of fields)?
I tried to use Document Category for this purpose, but this field is not available in Invoice and moreover, the IDoc Segment names are different for every IDoc's message type.
The key point here is that I am not allowed to do any sort of Customization in SAP to achieve this and I can only go about using the Standard Functions inherently available in SAP.
Please suggest a possible solution for this predicament of mine.
Thanks in advance.
Regards,
KeerthiHello Keerthi
I do not see where the problem lies.
We exchange via FTP share similar documents with one of our logistics partner:
Inbound delivery (VL33N) => sent as DESADV.DELVRY03 => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTI
Shipping Order (VL03N) => sent as SHPORD.DELVRY03 => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTO
I am not a fan of functional file names yet if the third-party tools is not capable to distinguish between the documents based on their contents at runtime then we need old-fashioned unique file suffixes.
Of course the two ORDHDR messages can be distinguished based on their contents. The message contains a TYP segment with the following qualifiers:
TYP/TYP2 = '0430' = (shipping) order (= outbound delivery)
TYP/TYP2 = '0660' = inbound delivery
From this logistics partner we receive two different kinds of DLCHDR (delivery confirmation) messages:
TYP/TYP2 = '0670' = Proof of Delivery for (shipping) order => mapped to STPPOD.DELVRY03
TYP/TYP2 = '0695' = Goods receipt for inbound delivery => mapped to WHSCON.DELVRY03
The files have different suffixes yet they are not evaluated. SAP-XI just picks both messages and evaluates at runtime whether it has to transform the DLCHDR into a STPPOD or WHSCON IDoc.
Regards
Uwe -
HI
Here users are able to create shopping cart and converting it to PO.
But the users are able to do the GR and invoice only for the shopping cart they have created.
Eg how will a stores person create a GR for Shopping cart created by another personHi
<u>Please ensure these things -></u>
<b>1- check in PPOMA_BBP that attribute SYS has SRM AND backend logical system values !
-> you must have SYS twice : one for SRm logical system and one for backend logical system.
With this configuration, you can confirm SRM AND MM purchase orders.
2- test your user with standard composite role SAP_BBP_STAL_PURCHASER
-> Menu "confirm goods and services centrally"</b>
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul -
Inbound processing of INVOIC IDOC without PO number and item check
Hi All,
I'm processing an Inbound INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order but wish to do process this based on the delivery note number rather than the PO number. The INVOIC IDOC will not contain a reference to the Purchase order and thus the need to process it based on the delivery note number which will be referenced in the Purchase order Goods receipt.
However, when processing the Inbound INVOIC IDOC it is validating that the number in IDOC segment E1EDP02 with QUALF 001 is the purchase order number. In this scenario it won't be and therefore it errors. The delivery note number is in IDOC segment E1EDP02 with QUALF 016.
Could someone please tell me if there is a standard way that we can have this Inbound INVOIC IDOC processing using only the delivery note?. If I manual process in the MIRO transaction I can process an Invoice based on the dleivery note in the Goods receipt so would expect I should be able to do so also with the IDOC processing.
I have noticed that IDOC segment E1EDP19 with QUALF 003 is not being populated and therefore according to the SAP help the IDOC segment E1EDP19 with QUALF 002 holding the Vendor material number is checked. Could this have something to do with it not being able to process the Invoice using only the delivery note number reference?.
Thanks in advance,
MichaelHi Karen,
According to Note 103051 - EDI: Multiple reference to same purchase order item.
Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active. Please check the note.
Thank you,
Shyam -
Inbound Idoc to create SD invoice thru VF01
Hello All,
I was looking for an Idoc that allow me to create an SD invoice (and automatically then an FI posting) based on an SD order (as VF01).
I found some consultants talking about INVOIC, others about ACC_BILLING.
But after somes tests, none of the above works as expected. (-may be I am using a worng process code...)
Is there an Inbound Idoc where I can mention the same data as I will do in VF01 to generate an SD Invoice ?
Thank you AllThere is no inbound IDoc, to my knowledge, and it'd be a very unusual scenario that would require invoicing through an IDoc interface. As soon as all the preceding transactions have been completed, not sure what sense it would make to wait for some kind of interface to give OK for the invoice creation...
Anyways, there is an option to run billing through a background job, which could be scheduled at regular intervals or based on an event. It'd be a very short program to get a document # and to trigger an event for the job or just run SDBILLDL directly, whichever is preferable. -
Hi all,
Does anyone know which database table stores the relation between the idoc WPUBON and the SD invoice created by this idoc ?
Regards,
PCastroHi PCastro
there is not any table in SAP that have relation in IDOC and invoice
usefull table are
EDID4, WPTST, WPLST
wptst you can find out you can find out last updated segenet
Thanks
Amit Shivhare -
How to create Sales order and Invoice in Foreign Currency
Dear All,
What are the procedures I have to do to create the sale order and Invoice in Foreign currency.
Is it enough if I maintain the currency in the Customer Master and Excahge rate OBBS.
or
We have to do someting in the Sales order (Change the currency document header level)?
Kindly explain.
Regards,
MullairajaDear Mullairaja
Under customer master you can maintain currency eg. usd, eur etc. that will do.. (hope you have maintain diift. Dist. Channel for Export sales and maintain Recon A/c for export revenue.) This will copy to Sales order.
Under t.code OB08 we maintain the Currency Exchange Rates which will help for copying control.
Under Displaying Billing document - Accounting - you can click on Display Currency Tab, here you will understand the rate conversion i.e from USD to INR.
Thanks & Regards
Hrishikesh K -
EBP SUS NO PO RESPONSE and Invoice XML MESSAGE CREATED
Hi All,
We have configured EBP - SUS on SRM 7 server with extended classic scenario.PO's are transfering fine from EBP to SUS and are visible in SUS also expected follow on documents are PO response,Confirmation,Invoice.But wen we process the po and confirm all items no po response xml message is created and a local po response is created which is not transferred back to EBP.Later when we create a confirmation for the same po,it is transfered to EBP via serviceack xml message and is visible.
Finally wen v create a invoice it is also created locally and not tranferred to EBP,no xml message is created in this case too.
In XI we are using integration scenario which is based on SRM 5.5 contents.
Any kind of pointers will b appreciated.
Thanks.Hi
Proxies are fine,also i check for events in define transaction type.Here are the values for both response and invoice evrything seems fine.
Description SUS PO Purch.Ord.Rsp
Int. Number Range 01
Ext. Number Range 02
Status Profile
BTrans.Category BUS2232
Description SUS PO Confirmation
Partner Determ.Proc.
Text Schema PCOS
Event Schema
Description SUS Invoice
Int. Number Range 01
Ext. Number Range 02
Status Profile
BTrans.Category BUS2234
Description SUS Invoice
Partner Determ.Proc.
Text Schema SUIV
Event Schema
EVENT DEFINITION
BUS2234 SUS Invoice SUS Invoice
ERROR_OCURRED An Error has Occurred
Any settings tat we need to do to trigger this invoice to create a xml message.Also we regenerated the authorization profiles but had effect on xml creation.
Thanks -
File to IDOC scenario: Create customer master and then return customer no
Hi all.
I have a scenario to pass xml file to sap XI to generate IDOC to create customer master in SAP. My problem is that I need to return customer no. created in SAP from IDOC. Is there any solution to do this? Someone told me that BPM could be used for doing this but I don't know the steps.I have no problem in create customer master in SAP. My only problem is how to return customer no. Any help would be appreciate. Thank you.
Best Regards,
Pavin>>u can use synch-Asynch bridge using BPM
This can not be done via sync-async bridge.There are 2 reasons for this
1.He has file adapter as sender and that doesn't support synchronous scenarios.
2.He has standard IDOC as receiver.there is no way you can fetch customer# from IDOC without writing a custom program,Thats why i said he need to either use RFC/Proxy or do some custom development.
Thanx
Aamir -
How can create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version
Hi All,
Can any one help, how to create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version.This is my task.
Given BADI name was----VENDOR_ADD_DATA_BI .
ThanksAnil,
look at this thread ..may be this helps you.
Re: 824 IDOC and BADI/User Exit
sateesh. -
Create Accounting in invoice and Create accounting in payment terms?
hi,
I want to know the difference between create accounting in invoice and create accounting in payment terms and is it compulsory to validate and create accounting in invoice before making payments ?
Regards
SudharshanIf the accounting method is accrual, then invoice accounting will be Item Expense/Charge -> Liability.
And payment accounting will be Liability -> Cash (it is different if you have reconciliation also)
An invoice has to be validated to get accounted or to get paid.
Payment just need a validated invoice, not an accounted invoice.
But Payment accounting can be done only after the invoice is accounted.
By
Vamsi -
Soft errors/warnings are creating idocs in 51 status, and creating orders
In our SAP 4.7 environment, inbound orders that encounter credit checks, materials in the wrong status, blocked customers, and several other issues that should just be warnings or messages rather than resulting in status 51 idocs, are hitting 51 error status, and they are creating orders in SAP as well (51 status idocs are still creating orders, and nuisance messages are creating 51 status idocs, and still creating orders). I assume someone made some programming changes years ago to cause this to happen. This is really polluting workflow and BD87, and customer service is duplicating orders as they process 51 status idocs through workflow, unaware that orders already created immediately regardless of the 51 status.
Can anyone point me in the direction of where I can specify what warnings or errors constitute 51 status, and where I can stop 51 status idocs from creating orders until the error is repaired?
Would it be in program RBDAPP01, or the inbound function module EDI_DATA_INCOMING?
Any help would be appreciated. Thanks!Hi Kevin,
so then it is time to check it out in WE19 debug mode. After each PERFORM in the EDIDC Loop in the FM IDOC_INPUT_ORDERS, check the control and status data, this will lead you to the point where the unexpected and/or unwanted behavior appears.
In the LOOP AT IDOC_CONTRL, in our system line 183 you find the comment fill IDOC Status. Check if field OK is not cleared here. If OK is set although you should have errors, then it's already too late.
But please double-check EXIT_SAPL_VEDA_004 if it changes the tables parameter didoc_status = idoc_status.
What I did not mention yet as I think you are talking only about IDoc not about online processing, applies to both:
Customizing SPRO, SAP Reference IMG, Sales and Distribution -> Sales -> Sales Documents -> Define variable messages:
Here you may have entries for application area V4, Sales messages (variable messages and EDI messages). Check if you find suspicious messages set to 'W' here.
If this is the case and table logging is switched on as it should be, you can use menu uitilities -> change logs to find out who changed what when.
Good luck!
Regards
Clemens -
Create Individual Idocs Based on Parent and Child Segment type
Hi Experts,
I have a scenario IDOC to FILE , Split Single IDOC into Multiple IDOC's based on parent and child Segment Type
For example If 3 child segments are same and 1 segment is different under parent segment then 3 same child segments are clubbed and create single idoc under parent segments and 1 different child should create in individual idoc under parent segment.
Note : Same logic should work for N number of Parent Segments and Child Segments.
Outbound:
ZIdocName
Control Record
Data Record
Parent Segment A
Child Segment 1
Child Segment 1
Child Segment 1
Child Segment 2
Parent segment B
Child Segment 3
Status Record
I should get output like below
Inbound:
ZIdocName
Control Record
Data Record
Parent segment A
Child Segment 1
Child Segment 1
Child Segment 1
Status Record
ZIdocName
Control Record
Data Record
Parent segment A
Child Segment 2
Status Record
ZIdocName
Control Record
Data Record
Parent Segment B
Child Segment 3
Status Record
Please suggest me step by step process to achieve this task.
Thanks.
RamHello,
Segment won't hold any value, so filter criteria should be there on some field wich exist in Parent node and chile node?
Paste ur XML?
Try this(Assuming u have some fields in parent/child segment on which u want to define filter criteria):
Parent Field--UseOneAsMany----RC----
------------------Concat ----splitbyvalue(value change)--collapse context --- ZIdoc
Child field-- RC----------
Child field--RC--splitbyvalue(valuechange)--CC -Splitbyvalue(each value) -- ParentSegment
Child field--RC--splitbyvalue(valuechange)--- ChildSegment
RC -> Remove Context
CC - Collapse Context
Note - i haven't tested ur mapping, so make sure to adjust context in mapping
Thanks
Amit Srivastava
Message was edited by: Amit Srivastava -
Create a discrepancy column between PO and Invoice
Hi Guys,
Kindly help me with my problem. I want to create a report that shows the discrepancy or difference between the PO and Invoice, a separate column for this I think? I believe it needs an OSS Notes to be able to do this. I need it urgent. Thanks for your help and have a nice day!Hi,
There is no standard Report with PO value & MIRO value.
you have developed through ABAP query.
SAM -
Difference between Invoice created date and billing date.
Hi Gurus,
I opened the Billing Document in display mode(T.Code:VF03).In header data I found two tabs one is Created On and another one is Billing Date. Here in the billing document the both dates were different.
Please let me know the difference between Created On date and Billing Date.
your afforts are highly appriciated.
JYothi.Dear Jyothisd,
Invoice created date : Invoice created date is nothing but the date on which you have created the invoice.
Billingdate:Billing date is the date on which you suppose to do the billing for respective customer. Tease billing dates will be proposed to invoice from sales order if it is order related or else actual goods issue date is proposed to billing document as a Billing date if particular billing document is delivery related.
If you want you can change the Actual billing date the result is invoice created date.
Please revert if you want any further clarifications
Thanks&Regards
Maybe you are looking for
-
Issue While Importing Roles in SAp Authentication
Hi Experts, I have installed BO XI 3.1 SAP Integration Kit. While Configuring SAP Authentication in CMC i have enetered all the details of SAP system under entitlement system. Howevere when i click on Role Import tab , i am not able to see any role
-
After loading Mountain Lion from the apps store, all went well until after the install was completed, error note came up and said I would have to go back to snow leopard as a dats retrival error had occured
-
Sharing one Mail database on 2 Mac's?
Can I connect 2 Mac's via Airport or Firewire and process e-mails on either one in Mail (or Entourage) while keeping the mails on both machines synchronized? iMac G5 with OS 10.4.3 and iCube with OS 10.2.8.
-
Mac Pro Sleep/Wakeup Issue in Windows 7 x64
I have experienced two issues related to sleep in Windows 7 x64 on my Mac Pro 3,1 with Bootcamp 3.2 for a while. From search results it seems several people also experienced similar issues, but no solution/workaround yet. The first issue is that some
-
Trying to find out how to know what the leds on status board,that are lit mean when server will not boot