2007 Sep 20 2:45 PM
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,
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.
2007 Sep 20 3:54 PM
2007 Sep 20 3:58 PM
Use SUBMIT with Selection-options table.
see help on SUBMIT statement in SAP
2007 Sep 21 12:45 PM
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.
2007 Sep 21 12:54 PM
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*
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |