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: 

Recording in Module Pool Programming.

Former Member
0 Kudos

Hi experts,

Can tell me about recording scenarios in Module Pool programming ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Sometimes we need to use recording added to our enhancement program. If the recording consists of a table control such as in VL31N and you need to select or deselect some line items ...

You could override the

PERFORM bdc_field command in FNAM variable, since this variable are passed as string you could use syntax CONCATENATE to override it.

Example :

CONCATENATE 'RV50A-LIPS_SELKZ(' v2 ')' INTO v1.

PERFORM bdc_field USING v1

lips_selkz_05_022.

while the original looks like this :

PERFORM bdc_field USING 'RV50A-LIPS_SELKZ(01)'

lips_selkz_05_022.

2 REPLIES 2

Former Member
0 Kudos

Sometimes we need to use recording added to our enhancement program. If the recording consists of a table control such as in VL31N and you need to select or deselect some line items ...

You could override the

PERFORM bdc_field command in FNAM variable, since this variable are passed as string you could use syntax CONCATENATE to override it.

Example :

CONCATENATE 'RV50A-LIPS_SELKZ(' v2 ')' INTO v1.

PERFORM bdc_field USING v1

lips_selkz_05_022.

while the original looks like this :

PERFORM bdc_field USING 'RV50A-LIPS_SELKZ(01)'

lips_selkz_05_022.

Former Member
0 Kudos

U CAN MAKE USE OF BDC RECORDING...JUST GO TO SM35 FOR RECORDING AND MAKE USE OF THE FUNC. MODULE BDC......

REWARD POINTS IF USEFUL.

REGARDS,

SRINIVASAN.