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

Extended program check.. SLIN

Former Member
0 Likes
539

Hi,

My data declarations are ..

TABLES: bkpf.

SELECT-OPTIONS: s_date FOR bkpf-bldat OBLIGATORY,"DATE

s_blart FOR bkpf-blart OBLIGATORY,"DOCUMENT TYPE

s_belnr FOR bkpf-belnr. "ACCOUNT DOCUMENT

when i do extended check,the error is

Selection text for selection field S_BLART not maintained ..

also in the perform statements (for bdc)

PERFORM bdc_dynpro USING 'SAPMF05l' '0100'.

PERFORM bdc_field USING 'RF05l-BELNR' WA_BKPF-BELNR.

PERFORM bdc_field USING 'RF05l-BUKRS' WA_BKPF-BUKRS.

PERFORM bdc_field USING 'RF05l-GJAHR' WA_BKPF-GJAHR.

PERFORM bdc_field USING 'BDC_OKCODE' '/00'.

PERFORM bdc_dynpro USING 'SAPMF05l' '0700'.

PERFORM bdc_field USING 'BDC_OKCODE' '=VK'.

PERFORM bdc_dynpro USING 'SAPMF05l' '1710'.

PERFORM bdc_field USING 'BKPF-BKTXT' WA_RETURN-MESSAGE_V2.

PERFORM bdc_field USING 'BDC_OKCODE' '=ENTR'.

PERFORM bdc_dynpro USING 'SAPMF05l' '0700'.

PERFORM bdc_field USING 'BDC_OKCODE' '=AE'.

the error message is

Char. strings w/o text elements will not be translated:

''RF05l-BUKRS''

can any one tell me how to resolve this....

Thanks,

Challa.

3 REPLIES 3
Read only

Former Member
0 Likes
495

Hi,

Replace all text litterals with Constants

So instead if using ''RF05l-BUKRS'' use C_'RF05l_BUKRS. and Declare the constant.

Cheers

VJ

Read only

Former Member
0 Likes
495

hi,

instead of passing the string value directly,create a new text element and pass the value thru it.

-Sivakumar

Message was edited by:

SivaKumar

Read only

Former Member
0 Likes
495

Challa, just ignore those warnings / errors as no one will ever want to translate those kinds of strings.

It would be stupid if a QA review person finds that as fault, but in that case, you have to define a text element. (Defining a constant won't help.)


PERFORM bdc_field USING 'RF05l-BUKRS'(051) WA_BKPF-BUKRS.

Then double-click on (051) and enter RF05l-BUKRS for the text element.