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

VLMOVE BDC problem

Former Member
0 Likes
583

Hi all,

I am doing BDC for transaction VLMOVE but in file i am getting movement type (BWART), but in the screen we have to give the value of HUWBEVENT .

Any one can suggest how to create BDC for this?

1 ACCEPTED SOLUTION
Read only

asik_shameem
Active Contributor
0 Likes
505

Hello Anand,

These values are stored in domain level. So you just do as below. And you will get the result value in GV_HUWBEVENT

CALL FUNCTION 'GET_DOMAIN_VALUES'
  EXPORTING
    domname              = 'HUWBEVENT_VL'
 TABLES
   VALUES_TAB            = gt_values
 EXCEPTIONS
   NO_VALUES_FOUND       = 1
   OTHERS                = 2 .
   
READ TABLE gt_values WITH KEY ddtxt(3) = <movement_type>.
IF sy-subrc EQ 0.
  GV_HUWBEVENT = gt_values-DOMVALUE_L.
ENDIF.

2 REPLIES 2
Read only

asik_shameem
Active Contributor
0 Likes
506

Hello Anand,

These values are stored in domain level. So you just do as below. And you will get the result value in GV_HUWBEVENT

CALL FUNCTION 'GET_DOMAIN_VALUES'
  EXPORTING
    domname              = 'HUWBEVENT_VL'
 TABLES
   VALUES_TAB            = gt_values
 EXCEPTIONS
   NO_VALUES_FOUND       = 1
   OTHERS                = 2 .
   
READ TABLE gt_values WITH KEY ddtxt(3) = <movement_type>.
IF sy-subrc EQ 0.
  GV_HUWBEVENT = gt_values-DOMVALUE_L.
ENDIF.

Read only

0 Likes
505

thanks it worked