on 08-31-2007 6:32 AM
Hi all,
I have a model which gives records of flightDetails .Now i want to insert a new FlightDetails .
How to insert Record
Regards
Padma
Hi Padma,
Can u explain the senario clearly.
1.Generally u hav to pass some mode for Ex:INS(For inserting a record)
to the backend.
2.In the conttroller,
Create a table object.If(mode is INS):Set all the attributes to that table.
Table1 tabObj = new Table1();
tabObj.setAttribute1(......);
3.Finally set all the values to tht perticular structure
wdContext.XX_InputElement().modelObject().setXX_Structure(tabObj);
4.Execute the RFC.
Regards,
lavanya.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Padma,
You need to have a BAPI that would take your parameters from WebDynpro and would add it in R/3.
As you imported the BAPI for getting the details of the flight in the same way you can import the other BAPI and then you can set the input parameters from webdynpro itself.
Warm Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Padma,
If your same BAPI accepts the input parameters and your logic for inserting data in the TABLE is written in the same BAPI itself then you don't have to import it again.
Just want to know your display and insert operations are done by the same BAPI or different BAPI.
If different then you need to import that BAPI too.
Regards,
Murtuza
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.