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

bapi_material_savedata

Hi,

I take the Function "bapi_material_savedata" to change a field of MARC.

Normally i get back an importing field RETURN, which says me, if the change ist

correctly done.

Now i want to call the "bapi_material_savedata" with

with "starting new task ... destination ...". Therefore, i get a syntax error, that i isn't allowed to take import parameters.

Has anyone an idea, how i can see, if the material in "bapi_material_savedata" was

correctly changed, without taking the importing field return?

Thanks a lot

Sabine

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 02:56 PM

    Yes you cannot import back from the functionmodule in case of STARTING NEW TASK.

    Suppose program A makes a call to this bapi(consider the bapi module as program B) in new task , then the moment call is made to bapi the program B will start its execution in a seperate task(seperate LUW) . The calling program A will not wait for the return and it will continue its execution in parallel with the execution of the bapi module. Suppose the last line of program A is the call to bapi then program A will end before the execution of BAPI as these are being executed in parallel and their execution is not dependent on each other.

    Only during these kind of cases we need to go for NEW TASK.

    Reward pointf if found useful

    Regards,

    barath.

    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.