Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC trigger during billing (VF02)

Former Member
0 Likes
2,135

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,447

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

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

5 REPLIES 5
Read only

Former Member
0 Likes
1,448

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

Read only

0 Likes
1,447

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

Read only

0 Likes
1,447

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

Read only

0 Likes
1,447

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

Read only

0 Likes
1,447

Hi Mohit,

Check enhancement "V56K0001", component "EXIT_SAPLV56K_002".

Regards

Vinod