Skip to Content
author's profile photo Former Member
Former Member

Create problem in sapui5 with odata

Hi Experts,

I have a problem in sapui5 in create method

I used create deep entity in sap odata services and ui5 controller

omodel.create("Modelentity", modelDetails, null,

function(data) {

ODataoutput(data);

});

1. while I am using create offer using above code, it is not creating and it showing successfully created message in frotend output. but in ecc system its not creating, so I tested in debug mode in ecc bapi(I put breakpoint in bapi place) is taking 10-15 seconds to execute because I am passing 200items but in between frontend it showing successfully offer created massage showing, after completed bapi run, it showing the offer number in debug and its is created ecc system also.

2.and the created contract is not in sequence it taking alternative number.

I dont know why system is behaving like this I tested same in development and quality system its working fine but in production it is not working fine.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 15, 2016 at 08:04 AM

    Hey Kumar,

    Are there any further checks before your offer / contract is saved? You might want to check BADI implementations on the system after create method is executed.

    Regards

    Ugur

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2016 at 06:03 PM

    Hi,

    You may have to Check that you have Written the BAPI Commit & rollback statements properly.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.