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

Call Dialoge

Hi,

in call dialog i cant use the BAPI. Is any thing to be done to use this BAPI within call dialog or else i can't use this BAPI in call dialog

can any body help me...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:28 AM

    HI,

    call dialoge is an luw in it you cant use another luw. where as BAPI is also an luw you cant use BAPI in call dialoge

    so basically in one LUW you cant use another luw i think i am clear to u plzz reward if it is helpful..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:19 AM

    Hala,

    When the screen sequence is running as a dialog module, the system partly ignores COMMIT and ROLLBACK WORK statements.

    In the called program, the statements COMMIT WORK and ROLLBACK WORK lead to database commits or database rollbacks. However, procedures registered with CALL FUNCTION IN UPDATE TASK and PERFORM ON [COMMIT|ROLLBACK] are not executed till the corresponding statements in the calling program.

    Update function modules called using the IN UPDATE TASK addition are not started if the screen sequence is running as a dialog module.

    You must ensure that any such function modules can be delayed until the next COMMIT WORK in the calling program.

    I think ur bapi will work when the next commit work is called.

    Regards,

    Renjith Michael.

    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.