on 08-24-2005 10:01 AM
Hi All,
I have an application:
a) Displaying of table using BAPI1
b) Updating the same table and returning the status whether the updation was successful or not.
for this we have two BAPIs:
1. BAPI 1: Two import parameters are imported and some export parameters are displayed.
2.BAPi 2 : In this rows under the export parameters of BAPI 1 become the import parameters and they update the table and Flag returns the value whether its successful or not?
I have done the first part of displayin the table.
How should i update the table in second scenario as i have to use the rows under the export parameters as import parameters?
Any suggestions on this
Thanks in advance
Srikant
HI,
You can bind the output of BAPI1 to the input of BAPI2 ...right ??
Please post the structure of BAPI1 outputParam and BAPI2 inputParam.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
Structure of RFMs:
a)BAPI 1:
Import Parameters : Mail and Cust No.
Export Parameters : Event Name and Event Parameter
Table Name: ZEvent
The table output looks like this:
EventName -
EventVal
Customer -
1
Supplier -
2 and so on.
b)
Import Parameters: The Parameters under the table displayed .
Export Parameters: UpdateFlag
This is the total structure of BAPIs
Thanks
Srikant
Hi
So you are able to execute the first BAPI and get the results in a Table say TABLE1.
Now you want to pass the values in Table1 as Import parameters to BAPI2.
If that is the case then do the following.
After you execute BAPI1 and fill TABLE1 with values.
Loop the table1 and pass the values to BAPI2 as import parameters. Note that in BAPI2 if you are passing multiple values then your import parameter must be declared under the Table Parameter Tab in the RFC.
Hope that is what you are looking for.
Let me know if you require any other clarifications.
regards
ravi
Hi Ravi,
I think your method is going to help us, but need some more clarification. ( not so thorough in Web Dynpro )
1. We want to send Table1 as import parameters into BAPI2. Also, BAPI2 has import parameter declared under the Table Parameter Tab in the RFC.
2. We have done the 1st bit, i.e. BAPI1 is executed and the TABLE1 has values.
Now, in case we change values in TABLE1 through check boxes (i.e. a particular value changes on the basis of checks in the boxes) and then want to submit it....
a) How do we send these to BAPI2...you said through a loop , could you please ellaborate.
thanks
a)
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.