06-22-2010 7:05 AM
Hi All,
I want to delete some line items in invoice during idoc trigger from Vf02 transaction code for a particular output type and company code.I mean to say someline items should not be sent to idoc but should remain in SAP in invoice.
Could you please sugest how to do this.
Thanks
Mohit Khandelwal
06-22-2010 7:16 AM
Hi,
Are you using standard process code for Outbound IDOC creation ? If yes then you have to filter the data
in the user exit provided in standard function module.
If you are using the custom process code then do the manipuation of data inside the function module which
populate the data in idoc segments.
Regards
Vinod
06-22-2010 7:16 AM
Hi,
Are you using standard process code for Outbound IDOC creation ? If yes then you have to filter the data
in the user exit provided in standard function module.
If you are using the custom process code then do the manipuation of data inside the function module which
populate the data in idoc segments.
Regards
Vinod
06-22-2010 7:23 AM
Hi Vinod,
we are using standard process code.But i am not able to find out the user exit where i can write the code.
Thanks
Mohit
06-22-2010 7:33 AM
Hi Mohit,
Which process code are you using ?
Edited:
If you are using process code SD09, then use the enhancement "LVEDF001", component "EXIT_SAPLVEDF_002" to filter the segment records in IDOC.
Regards
Vinod
Edited by: Vinod Kumar on Jun 22, 2010 12:13 PM
06-22-2010 12:11 PM
Hi Vinod,
Thanks for your reply.I also need to delete line items in case of idoc triger during delivery.Could you please sugest which enhancement i can add the code.
Thanks
Mohit Khandelwal
06-22-2010 12:20 PM
Hi Mohit,
Check enhancement "V56K0001", component "EXIT_SAPLV56K_002".
Regards
Vinod