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: 

EXIT_SAPLCOZF_001

Former Member
0 Kudos

import:

EBAN_IMP like eban.

how i can ask

if eban-bsart = 'ZCS'

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

?

EBAN_IMP-BSART = 'ZCS'.

Max

6 REPLIES 6

Former Member
0 Kudos

Hi

?

EBAN_IMP-BSART = 'ZCS'.

Max

0 Kudos

i can say:

if CAUFVD_IMP-auart = 'SM02' and

EBAN_IMP-BSART = 'ZNB1'.

EBAN_ORD_CUST_CHG-bsart = 'ZCS'.

endif.

0 Kudos

Hi

Yes you can, the structure EBAN_ORD_CUST_CHG has only fields whose values can be changed, so you can change BSART.

I can't know your problem, but your code is right.

Max

0 Kudos

Hi,

You have the followign data available for you to work with

(CAUFVD_IMP) LIKE CAUFVD STRUCTURE CAUFVD

(AFVGD_IMP) LIKE AFVGD STRUCTURE AFVGD

(EBAN_IMP) LIKE EBAN STRUCTURE EBAN

(EBKN_IMP) LIKE EBKN STRUCTURE EBKN

You can use the data that comes in the brackketted structures for any comparison. Put a break piint and check if the tables are populated when they come into ur user exit include.

So u can check

if CAUFVD_IMP-auart = 'SM02' and

EBAN_IMP-BSART = 'ZNB1'.

EBAN_ORD_CUST_CHG-bsart = 'ZCS'.

endif.

Whatever value u pass into EBAN_ORD_CUST_CHG will be the changed data.

0 Kudos

why i need to add this

You have the followign data available for you to work with

(CAUFVD_IMP) LIKE CAUFVD STRUCTURE CAUFVD

(AFVGD_IMP) LIKE AFVGD STRUCTURE AFVGD

(EBAN_IMP) LIKE EBAN STRUCTURE EBAN

(EBKN_IMP) LIKE EBKN STRUCTURE EBKN

THIS IS ALREADY EXIST in user exit import?

Former Member
0 Kudos

Hello Rani,

yes u can do it the way indicated.