cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI changes not shown in Visual Composer 7.30

Former Member
0 Kudos

We use a BAPI in a VC Model. If we add a field to the BAPI - this new field gets visible and can be used in the VC Model.
Once the Model is deployed to the server the new field is shown empty on the server.
Only after a restart of the Portal Server the new field shows values.


I found lots of threads pointing out this:
in storyborad -> tools -> options -> compiler -> data service retrival
chooce - do not cache data service

But this is not available in VC 7.30...

How to clear the VC servers data cache in 7.30 (without restarting the server) ?

Thanks for any hint.
Johannes

Accepted Solutions (1)

Accepted Solutions (1)

mark_moshkovich
Participant
0 Kudos

Hi Johannes

Try the following:

Open the model in Storyboard (design time), right click on the Data Service (BAPI) and choose Reload component.

Regards,

Mark

Former Member
0 Kudos

Hello Mark,

Thanks for looking into this.

We did that and are able to use this new field in the VC Model at design time.

Also if we test the dataservice - data for the new field is returned.

Once we deploy - the new fields stay empty.

BTW: As mentioned, we work with NWDS - not with Storyboard.

Best Regards

Johannes

mark_moshkovich
Participant
0 Kudos

Hi Johannes,

Try to clear the JCo cache - go to NWA->Availability and Performance->Resource Monitoring->JCo Monitoring->Metadata Cache tab.

Regards,

Mark   

Former Member
0 Kudos

Thanks a million for this.

Things are so easy - once you know the click.

Johannes

Answers (2)

Answers (2)

Vasilis
Advisor
Advisor
0 Kudos

Hi,

this happens all the time. The solution is the one Mark said

Former Member
0 Kudos

Hi Johannes

You can clear most service the cach in NWA

Go to Configuration > Infrastructure......

From the drop down at the top select JCA Connections Factories...

In the table select WebServicesFactory....

Then on the configuration tab set the cache to FALSE.

This is a webservice cache but we have found in the past this has also worked when using BAPI's and RFC's

If all else fails a server restart is always the winner (if in doubt turn it off and turn it back on again )

Hope this helps.

Former Member
0 Kudos

Hello Thomas,

Thanks for the immidiate reply!

I gave it a try.

I also restartet the application com.sap.portal.connectors.ws - that hosts WebServicesFactory (this worked for changes in WebService calls).

But no luck...

Anything else ?

Johannes

Former Member
0 Kudos

ok

So the only other thing I think you could try is to find the VC application in the "StartStop' area of NWA, stop it and them restart on all instances.

Operations > Systems > Start & Stop ...... Select the tab Java Applications

If not Im out of ideas at this point and a server restart might be the fastest option.

Tom

Former Member
0 Kudos

Hello Thomas,

Again no luck.

As of may understanding a new deployment from NWDS will also stop and start the application.

I also tried to manually undeploy (undeploy view) and after that redeploy the model - also did not work.

Strange "feature".

Thanks for the help.

Johannes