Quantcast
Channel: SCN: Message List - SAP Gateway
Viewing all 6105 articles
Browse latest View live

Exception messages

$
0
0

Hi

 

First. In my company we are getting a lot exception messages type 4. that are just not adding value, somebody know how to turn off those messages? Or do you consider that is important to keep it on?

 

4     1     Newly created order proposal

     42     Order proposal has been changed

     44     Order Proposal  re-exploted

     46     Order Proposal has been manually changed

     61     Scheduling: Custominzing inconsistent

     62     Scheduling: Master data inconsistent

     80      Reference to retail promotion

     82     Item is blocked

 

 

Second. Which are the messages that can impact directly our inventory levels, services, etc. in your own experiences , what are the most important exception messages that we need to put attention?

 

Third.  We are looking that if we change out MRP Type = Z4 instead of PD we are getting less exception message 6

 

     25     Excess Stock

     26     Excess individual segment

     40     Coverage not provided by master plan

     56     Shortage in the planning fence

     57     Disc. matl partly replaced by follow up

     58      Uncovered reqmt after effective-out date

     59     Receipt after effective - out date

     70     Max. release qty  - quota exceeded

     96     Stock fallen below safety stock level

 

but we are getting more exception messages 7

 

     10     Reschedule in

     15     Reschedule out

     20     Cncel process

     30     Plan process according to shcedule

 

So what do you think is the best MRP type to use to ensure that we have a healthy inventory, and everything under control

 

Well as you can see I dont have a lot experience in SAP but I hope that all of you can help, meanwhile

 

Thank you in advance

 

Alejandra

 

 

                        



Re: Error on $batch POST, system expected the element '{http://www.w3.org/2005/Atom}entry'

$
0
0

I have finally gotten a workaround for this: instead of trying to have the HTTP request body in XML, I sent my request with JSON as the body.  Now things are processing successfully.

 

This doesn't resolve the issue of the XML never posting successfully, but it does allow me to move along in my development.

Re: Difference between SAP NetWeaver Gateway 2.0 and SAP NetWeaver Gateway productivity accelerator for Microsoft

Count Field in Odata service

$
0
0

Hello All,

 

I have one entityset -  ResourceSet. I am sending Resources List in this set. Along with this I need to send the total count of resources in the list , in a separate field. I need to pas this number to UI5 App.

 

I have created a BAPI , which gives the output as Resources Table and one export parameter RCOUNT ( which has the resources Count)

When I map this to query operation how ever how to map this global field ?

 

Regards,

Sheetal

Re: Count Field in Odata service

$
0
0

Hi,

 

you just need to add /$count to your entityset which will give count of entries. no need of additional coding.

 

Regards,

Chandra

Re: Count Field in Odata service

$
0
0

Hi Chandra,

I tried doing that.

 

Firstly the same field gets repeated for every table entry . i.e. For every Resource I will get this field. Secondly though my BAPI output is correct , The field in odata service is blank when I run this odata service.

 

Please suggest.

 

Regads,

Sheetal

Re: Count Field in Odata service

$
0
0

Hi Sheetal,

 

In your .....DPC_EXT class GET_ENTITYSET method for the specified entity, please fill the ES_RESPONSE_CONTEXT-inlinecount to get this global value in your entitylist and this will only come once not with every entity.  Then try adding $inlinecount to your entityset GET request as follows:

http://services.odata.org/OData/OData.svc/Products?$inlinecount=allpages

Best regards,

Aakash

Re: Count Field in Odata service

$
0
0

Sorry I did not understood.

 

if you are querying like /sap/opu/odata/sap/ZGW_SRV/ResourceSet then it will give you output of resource table. now if you try with  /sap/opu/odata/sap/ZGW_SRV/ResourceSet/$count  then it will provide you number of resources.

 

You need not to do separate coding for returning counts.

 

additionally, if you want count to be displayed in output, you can have that field defined in entity and set the value. I will refer my blog Let’s code CRUDQ and Function Import operations in OData service! and accordingly you can go for code based implementation of entityset ie. query operation.

 

Regards,

Chandra


Re: Count Field in Odata service

Re: SAP Netweaver Gateway Deployment

$
0
0

Hi Martin,

 

Thank you so much for clearing my doubts. Links are also very helpful.

 

Regards,

Sunita

Exposing RFC as OData Model - Architectual Clarification Required

$
0
0

We are doing a POC were the user credentials were Input for the function module which returns the user role. Based on the role the mobile app greets the user as worker or administrator. This is achieved by an RFC whose input parameters are USER ID and Password and response is the user role. Please advice us how this model can be converted into Odata for the SAPUI5 consumption. As I understand that the sensitive user password details can’t be processed in the get method It has to go through post method. Please advice me how to proceed with. Thanks, Ganesh.

Re: Exposing RFC as OData Model - Architectual Clarification Required

$
0
0

Hi Ganesh,

 

Password will not be required to determine the User Role. What does the RFC do technically with the password?

 

Thanks

Krishna

Service doesn't update after data model updating

$
0
0

Hello, dear experts!

 

I have a question.

I created OData Service and all is OK.

 

After that I have updated data model. MPC methods have been changed with my new updates. But I can't see new service metadata document, browser displays old version of it. And service works in the way like old version of data model is actual.

I don’t understand this behavior.

 

In the book “OData and SAP NetWeaver Gateway” I have read that it is not “waterfall” approach in Gateway, which means that we can make changes in all 3 service creation phases (data model definition, service implementation and service maintenance) in the order we want.

 

I tried regenerate runtime objects and reactivate service, clear browser cache, but it didn’t help.

I put external breakpoint into DEFINE method of the MPC class and send some requests to server, but debugger doesn’t open. It looks like some kind of server cache.

I think it is incorrect behavior. What would you recommend?

 

Thanks in advance,

Ihar

Re: Service doesn't update after data model updating

$
0
0

Yes, it is server cache.

 

Run below two Tcodes

/IWFND/CACHE_CLEANUP

/IWBEP/CACHE_CLEANUP

 

Thanks

Krishna

Re: Service doesn't update after data model updating

$
0
0

Did you try model cleanup - transaction /iwbep/cache_cleanup ?

 

regards

Sunil


Re: Service doesn't update after data model updating

$
0
0

another option would be to select the service in transaction /iwfnd/maint_service and then click on Load metadata button.

Re: Service doesn't update after data model updating

$
0
0

Thank you, dear Krishna Kishor Kammaje,

Tcode /IWFND/CACHE_CLEANUP helped me

Re: Service doesn't update after data model updating

$
0
0

Dear Sunil Khemchand,

Thank you for your response!

Transaction /iwbep/cache_cleanup only didn't help, but /iwfnd/cache_cleanup helped

Re: Service doesn't update after data model updating

$
0
0

Dear Atanu Mallik,

Thank you for your response!

Unfortunately I have no such button in transaction /iwfnd/maint_service in my Gateway system. I saw in the book where it placed, but I haven’t it May be I have lower or higher version of my Gateway 

Re: Service doesn't update after data model updating

Viewing all 6105 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>