Hi,
we have moved the code to Quality environment and in that we are unable to view the metadata.. could some one tell me what could be the reason?
-Madhav
Hi,
we have moved the code to Quality environment and in that we are unable to view the metadata.. could some one tell me what could be the reason?
-Madhav
What error do you get ? did you configure the system alias correctly ?
hi, i understand where the problem is..
my basis consultant has changed the service to OAUTH, that is the reason i am unable to view the metadata..
any idea how to work with OAUTH service?
-Madhav
Anyone. Please help.
You do not have any Service Packs. Please upgrade IW_BEP to latest SP.
Hello,
I`m working with SAP Gateway extension and I created a extension project that extends a standard OData service for Leave Request.
my question in that topic is about what should be done after we implement an upgrade or note that modifies the standard OData that we have extended such as a new property has been added or another entity or import function. Will these changes appear in my extended project or do I have to recreate my extension project again?
Looking forward to hearing from you.
Kind Regards
Marcos Andrade
It will come automatically to your service. You have to clear the metadata cache though.
There can be some problems sometimes. Think about an artifact you added, and sap adds with same name. Then you model will become inconsistent. Those are exceptions of course.
Just stumbled upon a note. Not directly related, but gives out lot of information.
Please read this note. 2074804 - Soft-state Enablement for Performance Optimization
It talks about Locking, Timeout value etc.
Yes I saw that note already. it means though the main purpose of implementing that note is performance optimization, it does implement locking mechanism. but as recommended, 2 minute timeout value seems to be very high.
Also check note 2141567 - SAP FIORI - lock not released when leaving the application
Based on all this information, I guess with careful implementation of soft state feature, pessimistic locking can be implemented.
-Chandra
Softstate itself will not do the locking though. Within the DPC class, we need to call the ENQUE modules. Since we have a session now (say for 2 minutes), locks will be held for two minutes now. Moment two minute gets over, session is dropped, so the lock is released.
But Softstate framework creates another session to execute further calls, but this session will not have the lock.
Good to know thanksImage may be NSFW.
Clik here to view.
but how am I supposed to clear the metadata cache??
On Hub system /IWFND/CACHE_CLEANUP
On Backend /IWBEP/CACHE_CLEANUP
Thanks I will try that one after the upgrade.
I could solve this error..
I saw table space in DB02 transaction
It was completely occupied.
So I have free the table space with the help of Basis Consultant.
Hey all I create a service which map to a RFC. which is not work after we create another project at SEGW which map to another system alias.
My service now cannot load the metadata correctly now and when i call an entity set it says "Resource not found for the segment".
The system alias of service is the backend system alias and i checked the default check-box. I cleaned cache ten times. But still it doesnt work.
Any help would be appreciated.
Hi Adem
Could you refer the SAP KBA's for this issue...
2157517 - Resource not found for the segment 'Deletable'.
2160055 - Resource not found for the segment 'XXXXXXX'
BR
SS
Hi Experts,
When I am using batch am getting the success resposnse(202) for all oprations( read , post , put)but iam not getting response body as well as no entries are created in table level by Post method.
i have followed below steps.
1) Redifined Changeset_begin , changeset_end methods.
Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.
Requst Header :
Request Header:
Content-Type multipart/mixed;boundary=batch
X-CSRF-Token n5eBImWR4NnoK7aOIP1hKA==
Request body:
--batch
Content-Type: multipart/mixed;boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST headerSet HTTP/1.1
Content-Type: application/atom+xml
Content-Length: 1400
<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="http://ITFS1.hq.company.com:8000/sap/opu/odata/sap/ZTEST_DEEP_INSERT1_SRV/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<id>http://ITFS1.hq.company.com:8000/sap/opu/odata/sap/ZTEST_DEEP_INSERT1_SRV/headerSet('23')</id>
<title type="text">headerSet('23')</title>
<updated>2015-05-25T10:05:47Z</updated>
<category term="ZTEST_DEEP_INSERT1_SRV.header" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="headerSet('23')" rel="self" title="header"/>
<link href="headerSet('23')/itemSet" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/itemSet" type="application/atom+xml;type=feed" title="itemSet"/>
<content type="application/xml">
<m:properties>
<d:Id>987</d:Id>
<d:Name>BATCH</d:Name>
</m:properties>
</content>
</entry>
--changeset--
--batch--
URL : /sap/opu/odata/sap/ZTEST_DEEP_INSERT1_SRV/$batch
Image may be NSFW.
Clik here to view.
click on enter :
Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.
no entry created with the id 987.
Break-points are also not trigerred in Changeset_begin , changeset_end methods.
Please help me to to solve the issue.
Thanks in Advance.
hi Krishna,
i want to disable the conversion function in structure BAPI_EPM_BP_HEADER
for field BP_ID.
I followed the steps mentioned above like this
method DEFINE.
DATA:
lo_entity_type type ref to /iwbep/if_mgw_odata_entity_typ,
lo_property type ref to /iwbep/if_mgw_odata_property, "#EC NEEDED
lo_entity_set type ref to /iwbep/if_mgw_odata_entity_set. "#EC NEEDED
super->define( ).
lo_entity_type = model->GET_ENTITY_TYPE( IV_ENTITY_NAME = 'BusinessPartner' ).
lo_property = lo_entity_type->GET_PROPERTY( IV_PROPERTY_NAME = 'BusinessPartnerID' ).
lo_property->DISABLE_CONVERSION( ).
* Deactivate Conversion Exits for the entire Model.
model->set_no_conversion( iv_no_conversion = abap_true ).
endmethod.
but no luck for me, the conversion is still valid in the result.
Could you possibly light on this issue?
thanks a lot.
regards,
Yueqiang
Hello Hussain,
For now just redefine the ChangeSet_End and Begin Methods and write 'EXIT' statement and activate the class. Do not write any code.
Payload should have correct spacing. Use the below Payload and check ->
--batch
Content-Type: multipart/mixed;boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST headerSet HTTP/1.1
Content-Type: application/atom+xml
Content-Length: 1400
<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="http://ITFS1.hq.company.com:8000/sap/opu/odata/sap/ZTEST_DEEP_INSERT1_SRV/"xmlns="http://www.w3.org/2005/Atom"xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<id>http://ITFS1.hq.company.com:8000/sap/opu/odata/sap/ZTEST_DEEP_INSERT1_SRV/headerSet('23')</id>
<title type="text">headerSet('23')</title>
<updated>2015-05-25T10:05:47Z</updated>
<category term="ZTEST_DEEP_INSERT1_SRV.header"scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="headerSet('23')" rel="self" title="header"/>
<link href="headerSet('23')/itemSet"rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/itemSet"type="application/atom+xml;type=feed" title="itemSet"/>
<content type="application/xml">
<m:properties>
<d:Id>987</d:Id>
<d:Name>BATCH</d:Name>
</m:properties>
</content>
</entry>
--changeset--
--batch--
Below will help ->
Batch Request in Netweaver Gateway(Multiple Operations into a Single Request)
How To Batch Multiple Operations Into A Single Request
Regards,
Ashwin
Did you clear the metadata cache?