cancel
Showing results for 
Search instead for 
Did you mean: 

VC not recognizing bapi changes after import

Former Member
0 Kudos

Hi all,

I've imported a bapi and then after making changes to the bapi's input parameters, I tried re-Dfining data service to import the new paramters. However, storyboard does not show the new paramters for the bapi. Unless, I rename the bapi and import the new bapi. How do I get VC to pick up the new parameters for the old bapi?

thanks

Mohammed

Accepted Solutions (1)

Accepted Solutions (1)

ralf_mller2
Discoverer
0 Kudos

Hi,

in VC7.0 you can change this in the options now. Go to options, tabstrip "Compiler" and change the setting of Data service retrieval to "Do not cache data services".

Regards,

Ralf

Former Member
0 Kudos

Hi Ralf,

the problem is, that this setting doesn't work always. Sometimes I only changed code of a FM without changing Import and Exportparameter. Then I wondered, why always the FM dumps. The solution was, that no parameters reached the FM because the input and output ports changed. in this case you can only rename the FM. The "Do not cache data services" didn't has an effect.

Best Regards,

Marcel

Former Member
0 Kudos

Marcel,

You are right! It worked the first time I changed the setting, but the second time around it is not picking up the setting

regards,

Mohammed

Former Member
0 Kudos

Pls check the procedure given inthe following URL

/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i

Hope it helps people who reads this thread

Answers (3)

Answers (3)

Former Member
0 Kudos

I've version 7.0 and the changes are getting picked up immediately.

thank you very much.

Former Member
0 Kudos

Hi Mohammed,

I had the same problems, while I was developing some RFCs. I think they are cached somewhere. Also a change in the VC compiler options for no chaching didn't help.

Therefore I used a workaround, I renamed the RFCs then it works fine.

I didn't find out where they were cached, maybe somebody from SAP has a suggestion.

The problem is, that sometimes the input and output parameter changes without changing the import or output parameters of the RFC function module. Then you change a piece of code and nothing works. You have dump after dump, after an hour I started to debugging and noticed, that no paramters from VC achieved the backend system. Then I draged the RFC again on the storyboard and noticed, that all input and outpout ports are disapeared.

There must somewhere a bug, but I didn't find out where and these errors can't reproduce always.

I hope the workaround helps you, but it isn't a good solution...

Best Regards,

Marcel

former_member193545
Active Participant
0 Kudos

Hi

For now you should try and restart the J2EE server, this will definatly clear the problem unless your R/3 some how caches the bapis. You should also make sure that VC is set to reload all webservices.

Jarrod Williams