cancel
Showing results for 
Search instead for 
Did you mean: 

Guide on how to use a self programmed BAPI in Visual Composer

christian_gnther3
Participant
0 Kudos

Hi all,

I am absolutely new to modelling with the Visual Composer, so probably this is a fairly easy question for most of you, but it's driving ME nuts.

I have a BAPI in my ERP6 system. This BAPI was programmed by some other guy (not working here anymore) and it is used to output some time management data for a user. It expects a personnel number as input and is then supposed to return the amount of time an employee worked that day.

Now what I need/want to do is this:

a user logs on to the portal with his user-id and I want to create an iView on the first page that displays his/her remaining time of work for that day.

All I have is the user-id, from which I need to query the personnel number from infotype105 and then use this number as input for the BAPI - And I want to do this with the Visual Composer!

Can someone point me to some good documentation how to get started with using a BAPI in Visual Composer?

I have a sesond problem right now, that has something to do with necessary rights for system connection or system alias - not sure:

Right now, I can't see any BAPI in my backend-system, because I seem to be mssing the necessary rights to use the system connection I created - although group everyone has read access to the connection an I setup SSO between portal and ERP system.

So maybe solme of you gurus might be able to point me to some good documentation on these topics, as I'm kinda stuck here

Greetings,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

So after creating the BAPI you have to configure it in the portal after that you have to creat a Alias for that System in the portal after that you have to do the usermapping fo that system with the UserId and Password of the System login credentials .

after all above steps you will see the System in the V.C after that you can serach for your BAPI in the VC using that system .

See the below Blog for above steps creation.

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6068] [original link is broken] [original link is broken] [original link is broken];

if helpful award points

Regards,

Goivndu

christian_gnther3
Participant
0 Kudos

Hi all,

thank you very much for your help so far - I really appreciate this. I was able to setup my System Alias, however, I am not sure where and how to setup the user mapping? Do I really need this? I have setup trust relation via keys between the two systems and my users always have the same user id.

Maybe someone could give me a hint?

Thanks in advance,

Christian

Former Member
0 Kudos

Hi,

Yes its very much necessary to do the user mapping untill unless if you did not do the single sign on Trust .

It is necessary to get the data from the Back end i.e your Ssytem.

Steps :

Go to Useradministartion->find your VC user (using which user you are logging to the VC)->CLICK ON MODIFY->Select usermapping Tab->select the System alias ->give the credentials of the System (i.e Back end) then Save.

After that Check the Connection Test for the Syetm you connected .

Steps:

System Administartion->Syste configuration->Visual Composer-> fRight Click on your Backend Sytem->select Connection test->do the connecton test .

if the results are failed means the usermapping is wrong.

Regards,

Govindu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

yes of course there is loads of documentation.

If you go to the wiki part, and then scoll down to visual composer7.0

there is loads of material.

kind regards.

I can solve allready a part of your problem.

You need to set your user mapping in the portal to have acees to the backend system.

The VC model you need to develop is quiet easy. If you need more help just ask.

Kind regards

Kurt