Skip to Content

Unable to update or save Records to R/3...I am using BAPI

Hello All,

This is regarding UPDATING R/3 DATA.

Done - I created a model and able to retrieve the data from the BAPI, which I am displaying in a table.

Requirement - I want to update the data which is coming in upper step.

Problem - 1. Do not know what to do exactly.

2. Read a PDF related with FlightBooking, but did not get the basic idea behind.

3. When I tried, BAPI to modify throws exception (tried to print that, but is null)

Below are the list of BAPIs I am using, not sure which all are to use & which not.

RHXSS_SER_GET_EMPLOYEE_DATA -> Getting the data from this BAPI currently.

HRXSS_PER_INIT_PERNR

HRXSS_PER_READ_P0006_IN

HRXSS_PER_CLEANUP

HRXSS_SER_GETMENUDATA

HRXSS_PER_NEW_P0006_IN

HRXSS_PER_GET_F4_VALUES

HRXSS_PER_MODIFY_P0006_IN

HRXSS_PER_CHECK

HRXSS_PER_SAVE

HRXSS_SER_GETCONFSCRLINKS

HRXSS_PER_CLEANUP

HRXSS_SER_INITSERVICE

Please guide.. Thanks.

Best Regards

Chander Kararia

Edited by: Chander Kararia on Sep 17, 2009 4:13 PM

Edited by: Chander Kararia on Sep 18, 2009 11:51 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2009 at 07:15 AM

    Hello,

    just to understand that: Have you already imported your model, called the BAPI function and you get a NullPointerException?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2009 at 08:02 AM

    Hello Chander,

    Please try to print content, just before it is being passed to BAPI, of Input object of BAPI which u are passing to get modified in R3. It seems some how it is getting null value.

    After getting all values, provide same set of input in R# and check whether it is working or not.

    I hope it would help to analyse the problem.

    Best Regards,

    Pankaj Sharma

    Edited by: Pankaj Sharma on Sep 22, 2009 10:03 AM

    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.