Application Development 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: 

code in ZXVVFU04 for user exit EXIT_SAPLV60B_004

Former Member
0 Kudos
2,020

Hello,

We are trying to get the internal order field from a SD order to FI into the segment field when doing the SD billing.

We believe that the right user exit is EXIT_SAPLV60B_004, but since we have no experience with the include ZXVVFU04, we don't know how to write the enhancement...

existing code :

&----


*& Include ZXVVFU04

&----


The following is moreless the logic we would like to get in this code:

IF BKPF-BLART = 'RV' AND BSEG-KOART = 'D'

BSEG-SEGMENT = 'BSEG-AUFNR'

Can anybody please give me a hint on how to write the code in this include?

Thank you very much in advance!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
404

Hi Lan,

I don't know if it is the right exit, but your coding could be:

IF XACCIT-BLART = 'RV' AND XACCIT-KOART = 'D'

XACCIT-SEGMENT = XACCIT-AUFNR.

ENDIF.

Regards,

John.

3 REPLIES 3

Former Member
0 Kudos
405

Hi Lan,

I don't know if it is the right exit, but your coding could be:

IF XACCIT-BLART = 'RV' AND XACCIT-KOART = 'D'

XACCIT-SEGMENT = XACCIT-AUFNR.

ENDIF.

Regards,

John.

0 Kudos
404

Thank you very much, this pointed me in the right direction!

Vijay
Active Contributor
0 Kudos
404

hi

now u know the exit .

just go to CMOD create project.

assign your exit to it write your logic inside inclue and activate the project.

this will fullfill ur requirement.

regards

vijay

reward points if helpfull