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

bapi-urgent

Former Member
0 Likes
756

hi all,

how do we check standard bapi BAPI_HELPVALUES_GET whether it retrieves all Parameter ids or not? Based on our test results.

this is i given after execution of bapi.

objtype =user,

method=getdetail,

parameter=parameter,

field=parid.

regards,

msrinu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
721

Hi,

I t will retrieve all the parameter id's present in the system.

If you want to check particular case.

Create your own parameter id and check whetther you are able to see it when you run this BAPI.

Regards,

Sasi

7 REPLIES 7
Read only

Former Member
0 Likes
722

Hi,

I t will retrieve all the parameter id's present in the system.

If you want to check particular case.

Create your own parameter id and check whetther you are able to see it when you run this BAPI.

Regards,

Sasi

Read only

0 Likes
721

thanks for responding.

how do i create parameter id , and check .

pls tell me

regards,

msrinu

Read only

0 Likes
721

Hi,

You can create through your date element .

its there in the tab Further characteristics.

Regards.

sasi

Read only

0 Likes
721

pls sasidhar i am not understood,pls give an clear idea for that

Read only

0 Likes
721

Hi,

gO TO se11.

Create the data element .

when u go to the second screen of the creation of data element,

you will see four tabs.

1.attributes

2.data type

3.Further characteristics.

4.field label.

In the third tab you can define your parameter id.

Regards,

sasi

Read only

Former Member
0 Likes
721

Dear Srinivas,

Check out the following execution. Hope this will be helpful.

FUNCTION zbapi_lifecycle_get_list.

*"----


""Local Interface:

*" TABLES

*" STRUC_GETLIST STRUCTURE ZSTRUC_LIFECYCLE

*" RETURN STRUCTURE BAPIRET2

*"----


  • Internal table structure declaration.

TYPES : BEGIN OF itab_lifecycle,

dlcode TYPE zse_devlifecycle-dlcode,

dldesc TYPE zse_devlifecycle-dldesc,

dllevel TYPE zse_devlifecycle-dllevel,

END OF itab_lifecycle .

  • DECLATIONS OF RETURN VARIABLES.

DATA : wa_return TYPE bapiret2,

gt_return TYPE TABLE OF bapiret2.

  • Internal table declaration.

DATA : tab_dlcycle TYPE TABLE OF itab_lifecycle WITH HEADER LINE.

  • Getting values from data base table into internal table.

SELECT dlcode dldesc dllevel FROM zse_devlifecycle INTO TABLE tab_dlcycle where loekz ne 'X'.

*Transferring data (FOR DROPDOWNLIST).

struc_getlist[] = tab_dlcycle[].

CALL FUNCTION 'BALW_BAPIRETURN_GET2'

EXPORTING

type = 'I'

cl = 'ZSU'

number = '047'

IMPORTING

return = wa_return.

APPEND wa_return TO gt_return.

MOVE gt_return[] TO return[].

CLEAR wa_return.

ENDFUNCTION.

Best Regards,

Rajesh.

Please reward points if found helpful.

Read only

0 Likes
721

Thanking you Rajesh,

actually my task is after executing the bapi i given parametes,

now i want to check that parameters are correct or not,

bapi is BAPI_HELPVALUES_GET.

like objtype = user,

method=getdetail,

parameter=paremeter

field=parid.

points will be rewarded.

regards,