cancel
Showing results for 
Search instead for 
Did you mean: 

I can fetch data from R/3 in VC but not able to save the data back into R/3

Former Member
0 Kudos

Hi,

I am able to fetch the data from R/3 and display it

in EP using VC.

Can anyone tell me how to save the data back into

R/3 using visual composer for eg , create a salesorder

in R/3.

regards

Arun Gupta

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Arun,

I don't know if it helps, but I have had a similar problem with the master data of an infoobject in the BW.

You can use function modules, there was somewhere a how-to in the SDN.

You can write your own function module (it must be remote-enabled module), which you can use than in VC. Maybe there is already an existing BAPI for your application, therefore you can use the BAPI Explorer.

I hope I could help you a little bit.

Regards,

Marcel

Former Member
0 Kudos

Hi Marcel!

Thanks for ansver!

We have remote-enabled functional module, that should write to R/3 table.

I connected portal interface tavle (in VC) to custom BAPI (our own), that should write data to R/3. But nothing happens.

Former Member
0 Kudos

Hi Dennis,

did you try to test the BAPIs in transaction SE80?

Maybe the error is in the BAPI, when you cutomized the BAPI.

Another idea, which I would try, is to display the data which you send to the BAPI, maybe there is a wrong format. I have had a problem with the ALPHA conversion,

so I had to format the values with a formula.

I also had problems with the caching of BAPIs resp. function modules, they are cached in VC, you can change this setting in Tools > Options > Compiler > Data Service retrieval. If you changed something in the module, it wouldn't change in VC if the setting is set on cache retrieved data service (for speed).

Maybe it helps. If you have a solution please post it here. I'm interested in it.

Regards,

Marcel

Former Member
0 Kudos

Hi Marcel!

I think my first problem is that portal iview is not sending anything to R/3... I asked our basis admin to trace my user, and we can not see any 'inserts' or attempts to 'insert' anything...

For now the question is - what should I do to command portal to try to save data to R/3.

Probably I explained it more clear in my SDN forum question here:

Thanks in advance for help!

DK

Former Member
0 Kudos

Hi Dennis,

Active the trace in VC . This can be achieved using

Menu Tools -> Options -> Compiler -> Check the box Add flash debugging console.

This will give you exact information which will be send to R/3.

Then you need to active then RFC Trace in SAP Server by calling transaction ST05 and define the file name where the log will be defined and finally run your IView in EP and check the first log in EP and then in SAP using by calling transaction AL11 and the file you mentioned in ST05..

I hope this will help you.

Regards

Ajay

Former Member
0 Kudos

Hi!

Did have you resolved that? I've got same problem :o(

Regards,

DK