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

External Batch Number user-exit

Former Member
0 Likes
1,115

Hello experts,

I'm currently doing a user-exit to implement an external batch number logic. I'm using EXIT_SAPLV01Z_002 for this. However, part of the batch numbering logic requires that I get release date from CO01/CO02 "general tab" section. This is CAUFVD-FTRMS.

Is there a way to get CAUFVD-FTRMS from within the user-exit? I'm using field-symbols below:

tx_resbd = '(SAPLCOKO1)caufvd'.

ASSIGN (tx_resbd) TO <fs>

But the code is not working.

I hope you can help me with this matter. Thanks in advance!

3 REPLIES 3
Read only

Former Member
0 Likes
725

Hi ,

Use this code .

tx_resbd = '(SAPLCOKO1)AFKO[]'.

ASSIGN (tx_resbd) TO <fs>

FTRMS field is there in table AFKO .

Please reward if useful.

Read only

0 Likes
725

thanks for the reply, however the code does not work.

AFKO is not visible from within the user-exit.

need some more advice and help.

Read only

0 Likes
725

>

> Please reward if useful.

Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] about "points begging". In future, points might also be removed (initialized...) for ignoring the rules.

I am sure there are some "rules" about ASSIGN as well...

Julius