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

BDC setting Parameter value To 'X'

Former Member
0 Likes
669

Hi gurus,

my custom program runs a BDC to trigger standard T.code .In the program of Transaction code there was parameter field

Parametrs:p_xfield type rkkzest-info NO-DISPLAY.

i want to set the P_xfield to "X" by field name p_xfield and fval as "x'

when i am doing and setting the value to X there was an eror message.

Is there any process to set .

I want to set the variable to "X' basing on that entire validation goes,please provide me the help.

Regards,

4 REPLIES 4
Read only

Former Member
0 Likes
619

I think you have to use SUBMIT.

Rob

Read only

Former Member
0 Likes
619

Use SUBMIT with Selection-options table.

see help on SUBMIT statement in SAP

Read only

0 Likes
619

But my program needs to run by BDC in standard program there was a submit statement with values,How BDC was different from submit statement , is submit statement solve my problem. please eloborate with ur suggestion as it was a valid one though.

Read only

Former Member
0 Likes
619

HI try as given below

This is for SE38 tcode, u have to modify the statement in bold to meet ur requirement.

assign value of your select option to X.

<b>WA_BDCDATA-PROGRAM = 'SAPMS38M'.

WA_BDCDATA-DYNPRO = '0100'.

WA_BDCDATA-DYNBEGIN = 'X'.</b>

APPEND WA_BDCDATA TO BDCDATA.

CLEAR WA_BDCDATA.

<b>WA_BDCDATA-FNAM = 'RS38M-PROGRAMM'.

WA_BDCDATA-FVAL = PROGRAM.

APPEND WA_BDCDATA TO BDCDATA.</b>

...

CALL TRANSACTION 'SE38' USING BDCDATA MODE 'N'

MESSAGES INTO ITAB.

    • reward if helpful*