cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass client input parameter ?

Former Member
0 Kudos

Hi ,

i am calling ENQUEUE_E_WORKITEM bapi from my program.

for this BAPI one of the input parameter is client.how can i pass value to client from my wd java application, is there any api for that?pls give me some inputs to write the code for this .

Regards,

Pavani

Accepted Solutions (0)

Answers (2)

Answers (2)

birojpatro
Contributor
0 Kudos

Hi Pavani,

Create a model (use adaptive RFC model) for ur BAPI "ENQUEUE_E_WORKITEM".

Do the model binding and context mapping.

Then use the generated interface (wd java apis) for your BAPI import, export and table parameters.

Set the BAPI import params with appropriate set methods and execute your model.

Hope this will help you.

Regards,

Biroj Patro.

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Pavani

You have to import RFC model for the BAPI into your WebDynpro application. Having the model bind it to a model context node. Then use the model element to set input parameters to your BAPI.

No additional API is required here. Just ICMIModelClassExecutable.execute() method.

BR, Siarhei