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

how to create parameter ID

Former Member
0 Likes
1,533

Hi folks,

Can we create parameter ID , i am trying call tcode FTXP CALL TRANSACTION 'FTXP' and skip first screen. from my report list, but i could't find parameter ID for tax code(T007A-MWSKZ) which is mandatory for FXTP. How to get parameter id for this,

Pls let me know. thanks in advance.

regards

Rajesh

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
957

Did u check in table TPARA? is the id 'TAX'?

Regards,

Suresh Datti

6 REPLIES 6
Read only

suresh_datti
Active Contributor
0 Likes
958

Did u check in table TPARA? is the id 'TAX'?

Regards,

Suresh Datti

Read only

Former Member
0 Likes
957

If I remember correctly the 1st screen in FTXP is country code and the next screen is tax code, isn't it?

And also, if you let us know what exactly you are trying to do, maybe any of us could be of help.

Read only

Former Member
0 Likes
957

Only way I see is to Create a Parameter Id- That you can do by going to SE80 ==> Edit Object==> More==> New Parameter id==>New.

After creating if you need to attach that to the Data Element of the field(here it is MWSKZ).

But personnaly I do not prefer to edit an SAP standard object.

Cheers,

Thomas.

Please mark point if my suggestion is helpful.

Read only

Former Member
0 Likes
957

Even if you create the parameter id, how are you going to use it. If you want to do a call transaction and skip initial screen, why not fill the bdc data for the initial screen and then call the transaction using bdc data with mode E?

The reason why your new paramter won't work is because system will use it only if it is tied to the data element. Otherwise how will the system know which parameter id to use?

Read only

Former Member
0 Likes
957

Hi rajesh,

You can do a partial BDC by recording the transaction in SHDB.

<b>perform bdc_dynpro using 'SAPLSPO4' '0300' 'X'.

perform bdc_dynpro using 'BDC_OKCODE' '=FURT'.

perform bdc_dynpro using 'SVALD-VALUE(01)' <Country Key>.

perform bdc_dynpro using 'SAPMF82T' '0101' 'X'.

perform bdc_dynpro using 'BDC_OKCODE' '/00'.

perform bdc_dynpro using 'T007A-MWSKZ' <Tax Code Value>.

call transaction 'FTXP' using it_bdcdata mode 'E'.

form bdc_dynpro using program like bdcdata-program

dynpro like bdcdata-dynpro.

clear it_bdctab.

it_bdctab-program = program.

it_bdctab-dynpro = dynpro.

it_bdctab-dynbegin = 'X'.

append it_bdctab.

clear it_bdctab.

endform. "bdc_dynpro

form bdc_field using fnam type any

fval type any.

clear it_bdctab.

it_bdctab-fnam = fnam.

it_bdctab-fval = fval.

append it_bdctab.

clear it_bdctab.

endform.</b>

Regards,

Ravi

Read only

Former Member
0 Likes
957

There is no parameter ID for the data element MWSKZ. Can’t you use the batch input instead of call transaction?

Please, mark ALL useful answers if it helps you.

Regards,

Felipe Cunha [Fpdc]