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: 

User Exit-XD01

Former Member
0 Kudos

Hi Experts,

I have one field in XD01, in want to update data into that field (KNA1-BUBKZ).

At present there is one user exit is there (SAPMF02D), but this user exit is not valid one, because on table parameters there is no KNAI-bubkz field.

Is there any other alternative to find this exit.(either BAdi or user exit).

Thanks in advance.

Regards

Rams

4 REPLIES 4

Former Member
0 Kudos

Ramesh,

try this BADI CUSTOMER_ADD_DATA.

reward if it helps,

Satish

0 Kudos

Hi,

In Exit 'EXIT_SAPMF02D_001' you have import parameter as KNA1 table, so in that case u wud be able to access KNA1-BUBKZ.

Thanks

0 Kudos

Hi Swamy,

this one is not valid exit, in table parameter, there is no KAN1-BUBKZ, how can we change the field, is there any possibility.....NO.

Regards

srinivas

0 Kudos

Hi Ramesh,

Try out the below code.....

This will meet ur requirement,even if u dont have KNA1-BUBKZ in ur tables parameter....

*Local Internal Tables

DATA: lt_kna1 TYPE STANDARD TABLE OF KNA1 ,

*Local Work Areas

DATA: lw_kna1 TYPE KNA1.

*Variables

DATA:

lv_kna1 TYPE char30 VALUE '(SAPMF02D)KNA1-BUBKZ'.

FIELD-SYMBOLS:

<fs_kna1> STRUCTURE KNA1 DEFAULT KNA1.

*Assigning the values of table ANLA to field symbol

ASSIGN (lv_kna1) TO <fs_kna1>.

MOVE <fs_kna1> TO lw_kna1.

****Do ur Validation here for lw_kna1.****

MODIFY lt_kna1 INDEX 1.

<fs_kna1>[] = lt_kna1[].

Thanks.