cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent:How can to control passing inputs to BAPI from different sources

Former Member
0 Kudos

Hi all,

I'm stuck up with an issue.

I'm passing a user entered input to a webservice checking for status of that particular record.

If status is "yes", I just call a form.

I have used the visibility control for displaying the form

If Status is "no" I call a BAPI passing the output of webservice(this is same as the user entered input).

I'm using guard condition in this case.

If there is no such record present, I'll have to call the same BAPI passing the user input.

In this case the webservice does not return any output...And the BAPI has to look the input form for the input.

I dont know how I can make the BAPI look the input form for input in case no record is present.

Can some one help me in this case?

Thanks,

Ajitha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

store the value from input into a datastore while you are getting the status, then pass value from this datastore into the actual BAPI that u need to call.

For the input parameter of bapi you can specify default values were u can specify these values from data store.

let me know if it worked