2006 Jun 27 8:08 AM
Hi,
Can someone provide me with a sample inbound INVOIC IDOC with planned delivery costs. We already use thei IDOC type for incoming invoices and are trying to enhance it to include planned delivery costs. I have tried using segment E1EDp05 to give the condition type and amount corresponding to planned delivery costs. But, the IDOC is always erroring with an imbalance between credits and debits and it does not seem to be passing the values from E1EDP05 segment to the invoice creation function module.
Any help will be greatly appreciated.
Thanks in advance
Regards
Chitra
2006 Nov 28 2:09 PM
Hi Chitra:
Please let me know if you were able to solve this problem. I am facing a very similar issue...
How do we settle planned delivery costs in an EDI invoice.. Were you finally able to pass the values from segment E1EDP05 and process ?
2006 Nov 28 2:19 PM
Hi CA,
Just ty with this sample...
If you want to send invoices with delivery costs from you must use Transaction CMOD to program the EXIT_SAPLMRMH_014 user exit as follows:
Create a customer project and use Transaction CMOD to call it. Add the MRMH0002 enhancement and the EXIT_SAPLMRMH_014 component. Insert the source code into the ZXM08U25 include.
DATA: ls_data_s01 type E1EDS01,
lv_beznk type MRM_RBKPV-beznk.
IF I_IDOC_DATA-SEGNAM = 'E1EDS01'.
ls_data_s01 = I_IDOC_DATA-SDATA.
IF ls_data_s01-sumid = '020'.
lv_beznk = ls_data_s01-summe.
E_RBKPV-BEZNK = lv_beznk.
E_CHANGE = 'X'.
ENDIF.
ENDIF.
Regards,
Kumar
2008 Dec 23 10:43 PM
Hi Kishore,
I am curious on how you are addressing this, are you saying that this will settle the invoice or would it settle it ? Pls advice.
2008 Aug 18 3:07 AM
Found a SAP OSS note which said that the INVOIC Idoc is not meant to handle planned delivery costs.
So, for invoices with planned delivery costs, configured the IDOC with a different message variant. Attached a custom inbound process code (ZINVL) to the IDOC/Message variant and created a custom function module to process the IDOCs with this message variant. The custom function module extracted the values from the IDOC and called the INVOICE BAPI 'BAPI_INCOMINGINVOICE_CREAT' to process the invoice. BAPI takes care of planned delivery costs.
Thanks for all your help.
Regards
Chitra
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |