‎2008 Jan 03 8:22 AM
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.
‎2008 Jan 03 10:14 AM
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
‎2008 Jan 03 10:14 AM
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
‎2008 Jan 03 10:42 AM
thanks for responding.
how do i create parameter id , and check .
pls tell me
regards,
msrinu
‎2008 Jan 03 10:58 AM
Hi,
You can create through your date element .
its there in the tab Further characteristics.
Regards.
sasi
‎2008 Jan 03 11:40 AM
pls sasidhar i am not understood,pls give an clear idea for that
‎2008 Jan 03 12:02 PM
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
‎2008 Jan 03 10:48 AM
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.
‎2008 Jan 03 10:56 AM
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,