Search on this Website

Wednesday, June 13, 2007

Modify recording scenario

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.


Other Useful Link :
change attributes of an item in a screen and in a table control at runtime
Hide a column in a table control at runtime
Create F4 help
Dialog Programming FAQ
Download Dialog programming Tutorial

No comments: