2010 Jan 25 12:21 PM
hello everyone ,
i got a invoice number , and now i have to write a condition or apply a logic in programming if the invoice has been generated from the sales order or from the purchase order .
also i dont want to check the document flow , i need a logic to write
please let me know
i will be very grateful.
sumit
hello everyone ,
i got a invoice number , and now i have to write a condition or apply a logic in programming if the invoice has been generated from the sales order or from the purchase order .
also i dont want to check the document flow , i need a logic to write
please let me know
i will be very grateful.
sumit
2010 Jan 25 3:37 PM
Presumably you are referring to the accounting document. Among other fields, you can use the BKPF-AWTYP (Reference Transaction) field to distinguish between the two types of documents. SD/Billing sourced documents will have value 'VBRK'. PO/Invoice Receipt sourced documents will have value 'RMRP'. Is that your question?
2010 Jan 25 3:49 PM