on 05-18-2006 4:18 PM
hi
I have an input field in my view and I am using to pass that value first to one BAPI, which returns some result.
And if some conditions are met then again that input should be sent as the input parameter to another BAPI which would return some more data.
Is it possible to map one input field such that we can send that as inputs to two BAPIs.
please help me in this issue.
thanks and regards.
kris
closing the thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
closing the thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gopi Krishna,
Instead of Pointing Bapi Field to input. Create a context variable and condition flag at Iview Level. Based on condition Flag you can pass the Context value to whichever Bapi you want and write your business logic to get value and assign to Bapi Input.
Hope this answer Helps you.
Thanks
Madhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi,
You create one context attribute in the view called ctx_attr1.
Now, when calling the First BAPI, assign this context value to the model attribute and then execute.
Now, based on the certain criteria to call another BAPI, assignt ctx_attr1 value to the another BAPI's model attribute and then execute that BAPI.
Regards,
Bhavik
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.