cancel
Showing results for 
Search instead for 
Did you mean: 

Requirement on calling BAPI

Former Member
0 Kudos

Hi all

i have one requirement , when i submit the form in webdynpro by filling with some data and click the submit button then data has to be stored in the ECC/SRM system by calling required BAPI.

can you help me out , is there any coding required for the same in webdynpro application?

Regards

Suresh babu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear Sunil,

You can use AdaptiveRFC Model by creating models in webdynpro,

1. You will find Models image in dark blue in list.

2. right click on it,

3. create model.

4. import Adaptive RFC Model.

5. Give a name for that model.

6. give WD_MODELDATA_DEST and WD_RFC_METADATA_DEST change this to customised in logical system name by typing there.

7. click next

8. enter host name of your ECC/SRM system.

9. system no,

10. client no.

11. user ID for the system (can be any user ID who has access to Function Modules or bapi)

12. user's password

13. search bapi name in function module with *.

14. select the required bapi's from the list by ticking them.

15. click finish.

the model is ready to be used.

1. go to component controller.

2. right click.

3. right click, template apply, service controller.

4. choose the bapi for execution from the models list.

5. it gives the execution method which will be created in component controller.

6. finish.

double click on component controller

go to method.

organise import.

now,

go to diagram view of component.

you will find the connection between model and component controller.

connect between view and component controller.

drag and drop the model node from component controller.

the model node will be created in your iview.

to set values of table before executing bapi you need to create object of that model node.

Thanks...

-Mohak...

Former Member
0 Kudos

check this below link its help u.

Former Member
0 Kudos

Sunil,

you can make use of adaptive RFC model to call a fm in the backend ,

check this link for more details

/docs/DOC-8061#15

Thanks

Bala Duvvuri

Former Member
0 Kudos

Hi Sunil,

You will have to create a RFC Model of the BAPI and bing your data to the nodes and then call the bind method.

You will find loads of help in the forums, try search.....you will never know how much it can help until you use it 😛

Thanks,

GLM