Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IWPR Gateway XML files #1

Closed
larshp opened this issue Sep 16, 2016 · 19 comments
Closed

IWPR Gateway XML files #1

larshp opened this issue Sep 16, 2016 · 19 comments

Comments

@larshp
Copy link

larshp commented Sep 16, 2016

Hi Graham,
I have fixed the dump when pulling IWPR artifacts via abapGit-plugins.

Can you try upgrading abapGit-plugins to latest version and push the changed files?

Currently I dont have a test system with VBAK in it, so I get a lot of errors and differences.

@gregorwolf
Copy link
Contributor

Hi Graham,

with my commits one and two I can now activate on my NSP system. I've updated abapGit and the plugins but I still get errors when I try to import:

IWOM ZDEMO_MDL_0001_BE
IWPR ZTECHEDDEMO
IWSG ZDEMO_SRV_0001

When I removed this files from my forked repository I wall able to import all the rest. Let me know what further information you need.

@grahamrobbo
Copy link
Owner

Bugger....I only added these Gateway artifacts after abapGit started supporting them. This will probably be because the GW config data is not included. I think I will remove these from the repo and have people manually register the Gateway service.

Did registering and activating the service work okay? Especially pointing to the subclassed MPC & DPC?

@larshp
Copy link
Author

larshp commented Oct 21, 2016

I think it will work if you add the Gateway artifacts again, see abapGit/abapGit#75

The export of the artifacts worked, but import was recently fixed

@grahamrobbo
Copy link
Owner

Great - is someone ( @gregorwolf ) able to test this for me? ;) All the systems I have access to already have this example setup.

@larshp
Copy link
Author

larshp commented Oct 21, 2016

@grahamrobbo first you have to upgrade to latest abapgit + plugins and push objects:

IWOM ZDEMO_MDL_0001_BE
IWPR ZTECHEDDEMO
IWSG ZDEMO_SRV_0001

to the repository again

@gregorwolf
Copy link
Contributor

I'm happy to test when @grahamrobbo pushed the updated objects.

@grahamrobbo
Copy link
Owner

Please test whenever you can. Thanks

@larshp
Copy link
Author

larshp commented Oct 26, 2016

Hi Graham,
I did some testing, it fails when importing

IWOM ZDEMO_MDL_0001_BE
(and probably same issue with IWSG ZDEMO_SRV_0001)

the IWOM file in the respository is 2 months old, can you check that the latest version of the file is pushed using latest abapGit and latest abapGit-Plugins?

@gregorwolf
Copy link
Contributor

Hi Graham / Lars,

first I'm getting this error:

IWOM

I've cloned your repository again and delete the object above. Then I get:

IWPR

Deleting thet I get the error:

IWSG

Before I've started that I've updated abapGit and the plugins to the latest Git version.

CU
Gregor

@grahamrobbo
Copy link
Owner

I updated to the latest version of abapGit & plugins on my development system. This picked up some additional objects that were missed in the earlier commit.

I have just successfully installed the package on one of my customer's systems - first updating to the latest abapGit & plugins. All objects installed & compiled successfully.

I then maintained the model & services....
image

...and finally registered the system alias for the service.
image

All worked fine. The customer system is running NW 7.40 SP 10.

@gregorwolf
Copy link
Contributor

Unfortunately I'm still getting:

IWPR

after removing that file from my fork I was able to import without errors.

I would think you should not include the ICF-Node and the registered Service in the repository. The /IWFND/MAINT_SERVICE should be a manual step as it is also in SAP delivered standard services.

Using the reports /IWBEP/R_DST_SERVICE_BUILDER and /IWBEP/R_DST_MODEL_BUILDER I was able to define the service and then register in /IWFND/MAINT_SERVICE. And I get results for all entity sets.

@larshp
Copy link
Author

larshp commented Oct 27, 2016

I get an error when installing on 750(same error as Gregor describes above), opened issue abapGit/abapGit-Plugins#13

@grahamrobbo grahamrobbo reopened this Oct 27, 2016
@grahamrobbo
Copy link
Owner

I'm in two minds about this. It seems that removing the ICF-node & GW Service objects from the repo will get everything to activate on a 750 system. On the other hand if resolving issue abapGit-Plugins#13 fixes this it makes the install easier for people with little GW experience.

Do you guys have a preference?
image

@larshp
Copy link
Author

larshp commented Oct 28, 2016

I'll try to do a quick fix of abapGit/abapGit-Plugins#13 today

@larshp
Copy link
Author

larshp commented Oct 30, 2016

I have updated abapGit-Plugins, @gregorwolf try again after updating to latest abapGit-Plugins. It works for me on 750

@gregorwolf
Copy link
Contributor

gregorwolf commented Oct 30, 2016

We're getting there. Everything get's activated without issues.

After installing on 7.40 and 7.50 the first problem that occurs is that the System Alias you're shipping doesn't exist. I would suggest you replace it with LOCAL.

After I've corrected this I've got:

<code>/IWBEP/CM_MGW_RT/026</code>
<message xml:lang="en">No service found for namespace /SAP/, name ZDEMO_SRV, version 0001.</message>

when calling the service. This I've fixed by executing the reports:

/IWBEP/R_DST_MODEL_BUILDER
/IWBEP/R_DST_SERVICE_BUILDER

To maintain the model and the service. I think when the slide pages 72 and 73 will be mentioned explicitly the novice user should be fine.

@grahamrobbo
Copy link
Owner

Hi @gregorwolf

Thanks for your help on this. I have modified the documentation to more explicitly talk about how to configure and activate the service.

I am surprised that you see the System Alias is not set to LOCAL. It is on my development system and it also appears to be the case in the repo. Can you check this pls?

     <SRV_IDENTIFIER>ZDEMO_SRV_0001</SRV_IDENTIFIER>
     <IS_ACTIVE>A</IS_ACTIVE>
     <NAME>BEP_SVC_SOURCE_SYSTEM</NAME>
     <VALUE>LOCAL</VALUE>
    </_-IWFND_-I_MED_SIN>

@larshp
Copy link
Author

larshp commented Feb 3, 2017

closing

@larshp larshp closed this as completed Feb 3, 2017
@grahamrobbo
Copy link
Owner

FYI - in latest release I have removed the GW model, service & ICF objects from the repo. They are not needed as the process of registering and activating the demo service creates them anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants