BDC & exit from tranction

Hi,
I am using BDC to start transaction MM01. I am only using BDC to skip the first initial screens, in which you need to enter the material number & type, views and plant/storage location data, etc. Then the user must fill the rest of the data manually.
Now the problem is that if I want to exit the transaction (without filling the data), it is not possible. Only the green "back" button is enabled, and I cannot use that to exit the transaction, since there are mandatory fields missing, and I am getting errors due to the missing mandatory fields.
If I launch the transaction directly, also the yellow exit button is available, and I can exit the transaction without filling the mandatory fields.
Is there any  trick to avoid this problem? Or should I just forget the whole BDC thing?
Regards,
Pa

Hi,
Check the values exits in these fields material number & type, views and plant/storage location data, etc before calling the MM01 tcode. Depending on the value exists in these fields call the Tcode this way..
IF material number & type, views and plant/storage location data, etc  is not initial.
CALL TRANSACTION 'MM01' skip the first initial screens.
ELSE.
CALL TRANSACTION 'MM01' .
ENDIF.

Similar Messages

  • Call an applications 'user exit' from a PL/SQL procedure

    My question is a technical PL/SQL question related to Oracle Applications. I need to call a standard applications 'user exit' from a stored PL/SQL procedure. Can anyone tell me if this is possible and how to do it?
    (i.e. I am attempting to call the AR user exit SALESTAX)
    Thanks,
    Michelle Dodge

    Hi,
    Read this thread, perhaps is there your response :
    Host...
    Nicolas.

  • How can I exit from full-screen View?

    On the View menu, I clicked "Full screen View", but then I couldn't find any way back to normal view. I had to Force-Quit Firefox to escape.
    How do you exit from Full Screen View?
    (I tried Esc, Ctrl-C, and many other key combinations)
    Thanks, PeterR

    Try F11.

  • Exiting from ABAP Web Dynpro application

    Hi,
    In ESS portal we have one tab Personal info, there I have created one link and integrated my ABAP web dynpro application.
    I want to exit from the application and go back to the Personal info sub area. created one exit button in my application on press of that i need take this action.
    Please guide me with this
    Thanks!
    Piyush

    Piyush,
    I am not sure whether it works or not just get the navigation url of personalinfo subarea and using portal APIs navigate to that url when you click on exit button
    Thanks
    Bala Duvvuri

  • Acrobat 9.2 crash after exit from Acrobat

    I have a plugin for Acrobat 8.0 and re-compiled for Acrobat 9.0 using the 9.0 SDK.  It works fine except when I exit from Acrobat, Acrobat always crash in any of the Acrobat Pro 9.x versions. The crash log always show the same place.  It does not matter if I disable or enable the update. Always the same place to crash. Does anyone have any ideas?
    Process:         AdobeAcrobat [29144]
    Path:            /Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/AdobeAcrobat
    Identifier:      com.adobe.Acrobat.Pro
    Version:         9.2.0 (9.2.0)
    Code Type:       X86 (Native)
    Parent Process:  launchd [119]
    Interval Since Last Report:          668 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  24 sec
    Per-App Crashes Since Last Report:   1
    Date/Time:       2009-10-14 15:10:00.939 -0400
    OS Version:      Mac OS X 10.5.8 (9L30)
    Report Version:  6
    Anonymous UUID:  F9997425-181F-4A46-8222-B1BAA9558760
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000015fffcc1
    Crashed Thread:  18
    Thread 0:
    0   dyld                              0x8fe1764c ImageLoaderMachO::doBindLazySymbol(unsigned long*, ImageLoader::LinkContext const&) + 300
    1   dyld                              0x8fe06ed5 dyld::bindLazySymbol(mach_header const*, unsigned long*) + 149
    2   dyld                              0x8fe18c2f stub_binding_helper_interface2 + 21
    3   ...adobe.acrobat.amtlibwrapper    0x188c42e2 0x1883b000 + 561890
    4   ...adobe.acrobat.amtlibwrapper    0x188c4343 0x1883b000 + 561987
    5   ...adobe.acrobat.amtlibwrapper    0x18851355 AVAMTForegroundUpdateCheckEnabled + 84063
    6   ...adobe.acrobat.amtlibwrapper    0x18843989 AVAMTForegroundUpdateCheckEnabled + 28307
    7   ...adobe.acrobat.amtlibwrapper    0x1883cc26 AVAMTForegroundUpdateCheckEnabled + 304
    8   com.adobe.Acrobat.framework       0x803d4a07 AcroSecurityBailOutImpl + 2997119
    9   com.adobe.Acrobat.framework       0x803d4a79 AcroSecurityBailOutImpl + 2997233
    10  com.adobe.Acrobat.framework       0x800ffc97 AcroSecurityBailOutImpl + 28175
    11  com.adobe.Acrobat.framework       0x8038cb91 AcroSecurityBailOutImpl + 2702601
    12  com.adobe.Acrobat.framework       0x8007ff72 AcroBundleThreadQuitProc + 3096
    13  com.adobe.Acrobat.framework       0x7fe43320 RunAcrobat + 326
    14  com.adobe.Acrobat.Pro             0x00002e8b start + 2371
    15  com.adobe.Acrobat.Pro             0x0000264a start + 258
    16  com.adobe.Acrobat.Pro             0x00002571 start + 41

    iPhoto is missing bits of itself. You need to reinstall it.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • Redirecting control to portal page after exiting from SAP R/3 transaction

    Hai,
    In my portal Top Level Navigtion, I have two Option, "HOME", "HR FUNCTION".
    When a user login to portal by default the first node "Home" is opened and its content is opened in detailed navigation. Then the first content from detailed navigation which is  URL iview is opened on the content area.
    When a user opens the second node "HR Function", in the detailed navigation, SAP transcaction IViews are shown. When a SAP transaction IView is clicked, its content are opened in content area. After the user finished working with that transaction, he/she is exiting from the transaction by clicking the "Exit" button. This action, makes the content area to show as blank screen.
    Is it possible to show the URL ivew from the "Home" menu when ever the control is coming out of SAP transaction IView.  In otherwords in need to fill the blank screen with  URL Iview. I don't know from where and how to call this URL IVIEW.
    Please let me know how to do this.
    Thanks & Regards,
    H.K.Hayath Baha.

    Hai Anant,
    Thanks for the suggestion. Can you tell me where I have to give the code.
    Regards,
    H.K.Hayath Basha.

  • How do we exit from a sub procedure

    Hi,
    I am calling a sub procedure from my plsql procedure. If an error occurs in the sub-procedure, it should exit from the appilcation.
    return gets the control back to the called procedure. but is there a way to stop the execution totally?
    Thanks,
    Narayan

    Raise an exception that is not handled in the sub-procedure nor in the main procedure.

  • Automatically exit from fullscreen mode when silveright player section or any buttom from control strip click in fullscreen mode.

    I have implement an full screen functionality using javascript fullscript api to show page contain in full screen mode and that page have three type of content
    a.)smf player xap
    b.)dfp ads
    c.)social media plugin
    that full screen functionality is work perfectly in chrome browser but when I use the mozila browser it create problem during fullscreen mode when any user click on any area of smf player.
    For example if i click on fulls screen button that page easily open in full screen mode but if user click on any part contain by the xap contain it automatically exit from full screen mode like if any user click on play button during full scree mode it automatically exit from full screen.

    In order to uninstall a possibly unwanted extension, please do the following:
    #From the Firefox window click the Firefox button at the top left and select ''Add-ons'', or, if the Firefox button is not shown, click the ''Tools'' menu and click ''Add-ons''.
    #Once the Add-on Manager has opened in a new tab, click the ''Extensions'' button on the left side of the window.
    #You should now see a list of your installed extensions on the right side together with buttons on the right side of each extension.
    #To remove an extension from Firefox, simply click the ''Remove'' button. You should see a message that informs you about the successful removal of the add-on.
    #Note that some add-ons require a Firefox restart to be removed completely. To perform a Firefox restart after the add-on removal, click the ''Restart now'' link in the message.
    You can find further information about uninstalling extensions in the following articles:
    [[Disable or remove Add-ons]]
    [[Remove a toolbar that has taken over your Firefox search or home page]]

  • How to exit from SQL PlUS

    HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true? If yes could u pls suggest me how to shutdown from user "SYSTEM/manager". Bcoz with this am warned that I dont have previleges.

    Hello,
    HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true?The ORA-00600 is an internal error it can be caused for instance by a Bug, a corruption, ... , and if someday you experience this kind of error, you should open a Service Request to My Oracle Support.
    However, I've never heard that exiting sqlplus could cause this kind of error. Where did you get such information ?
    how to shutdown from user "SYSTEM/manager". To shutdown the database you should be connected with the User SYS (as SYSDBA). You may use the following statement:
    sqlplus /nolog
    connect / as sysdba
    shutdown immediate;
    exitHope this help.
    Best regards,
    Jean-Valentin

  • How to exit from SQL*Plus based on the return value of a SQL select stment?

    Hi
    I have a SQL script executed from SQL*Plus. I would like to know if SQL*Plus
    supports any kind of branching or exiting from script execution based on a
    returned value of a SQL select statement. I am on 9i.
    Regards,
    Tamas Szecsy

    in sqlplus, you have whenever
    ex:
    whenever sqlerror exit failure
    insert into ...
    -- if this fails, then you will be out
    insert into ...
    -- if this fails, then you will be out
    whenever sqlerror continue
    insert into ...
    -- if this fails, this continues
    insert into ...and you have PL/SQL
    declare x number;
    begin
    select count(*) into x from emp;
    if (x=14) then null; end if;
    end;
    /note that you can mix those in some case
    -- exit if there is no row in emp
    whenever sqlerror exit 1
    var dummy number
    exec select count(*) into :dummy from emp having count(*)!=0

  • Hello I would like to record my exit from all related Alkmbiotaat it because he reached the minimum 5

    Hello I would like to record my exit from all related Alkmbiotaat it because he reached the minimum 5    
    <Email Edited by Host>

    Most of the people on these forums, including myself, are fellow users - you are not talking to iTunes Support here. I've asked the hosts to remove your email address from your post.
    You shoudl be able to individually deauthorise your computers directly on them via the Store > Deauthorise This Computer menu option, or as you have multiple computers authorised then you can log into your account on your computer's iTunes via the Store > View Account menu option and 'deauthorise all' (which you can do once every 12 months) and you can then authorise/reauthorise the computers that you still have and need : authorising and deauthorising.
    If you've already deauthorised all within the past 12 months then you can try contacting iTunes Support and ask if they can do it for you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Exiting from a function module.

    Hi,
    I have a function module in which i am extracting output message from NAST based on vbeln.
    I record is not found, then i am updating return table with error message using 'MESSAGE_TEXT_BUILD'.
    Now i have to exit from the function module as my select statement is unsuccessful.
    how do you do this?
    can i use subroutines in a function module?
    thanks,
    Sandeep

    Hi Sandeep,
    You can use EXIT statement to exit out of the FM.
    Yes, you can use sub-routines in Function Module. If you are using EXIT inside a sub-routine, the program control will come out of sub-routine and not the FM> So if it is inside a sub-routine, return sy-subrc value as a parameter of the sub-routine. Outside the sub-routine, check the value and use EXIT statement accordingly.
    Best Regards,
    Ram.

  • Exit from a pl/sql block

    Hi all. I'm on oracle 9i.
    I have a problem: I launch my sql file, which has a part made of some SQL commands and then inside it there is a part that is a PL/SQL block.
    What I want is that if a certain if condition is verified it must exit from PL/SQL block and also it must exit from all the file!
    Here is a part of code:
    drop table test1;
    create table test1
    as select * from test2;
    create table prova_test1
    as select * from test_1
    where 1=2;
    DECLARE
    conta number := 0;
    valore number := 0;
    contap number := 0;
    valorep number := 0;
    istruzione varchar2(2000) := null;
    BEGIN
    select count(1), sum(val) into contap,valorep
    from prova_test1;
    select count(1), sum(val) into conta,valore
    from test_1;
    if conta <> contap or valore <> valorep then
    istruzione := 'exit';
    execute immediate istruzione;
    else
    others sql statements.....
    end if;
    end;
    So what I want is that if the condition is verified it must exit from pl/sql block and also from all the process.
    How can I achieve that??
    Thanks for collaboration,
    Fabrizio

    Fabrizio Delli Priscoli wrote:
    whenever sqlerror exit 99
    whenever oserror exit 98
    Number 99 or 98, are SQLCODE returned from my exception?No, they are NOT SQLCODE.
    SQLCODE is an oracle database error code.
    Now,
    sqlerror is how 'Sql*Plus' (the one that is calling the pl/sql block) would handle ANY SQL ERROR coming out of pl/sql block OR other parts of the sql you are running within the SQL*Plus construct.
    99 and 98 are the error numbers that SQL*Plus is returning to the script or code that is calling SQL*Plus. In this case, probably the 'shell script' that calls this SQL*Plus construct.
    So, you would handle that error in the shell script.
    Maybe something like this: (this is the shell script that is calling a sqlplus session).
    1>>$LOGFILE 2>>$LOGFILE sqlplus -s $DBCONN <<EOF
    whenever sqlerror exit 99
    whenever oserror exit 98
    set serveroutput on
    set feedback off
    BEGIN
    some_code;
    END;
    exit
    EOF
    ret_value=$(echo $?)
    case "$ret_value" in
        99) mail -s "Error: Some sqlerror on the script on $(date)" $SOME_EMAIL <$LOGFILE ;;
        98) mail -s "Error: Some oserror on the script on $(date)" $SOME_EMAIL <$LOGFILE ;;
    esac

  • How to exit from an update Function Module

    Hi Friends,
    I am using an Update Function Module in my program.The Program also has various other logics implemented in it. The Update Function Module gets triggered only when it finds COMMIT WORK statement. Now, I want that when the FM gets triggered and inside it, sy-subrc <> 0 at any stage, it should exit the complete processing and come to my main screen.
    I tried to use Exit, STOP commands in the FM, but they only make the processing to exit from the FM.
    Please suggest what shud I do.
    Helpful suggestions will be surely rewarded.
    Thanks in advance.
    Regards,
    Himanshu

    hi hemansu,
    after coming out from function module check value of sy-subrc
    and
    if sy-subrc ne 0
      exit.  or leave to screen 0 [module pool progarm] or stop.
    endif.
    if helpful reward some points.
    with regards,
    suresh babu aluri.

  • On exiting from a website, Firefox (5.0) reverts to the first page

    Whenever I exit from a website, it does not matter which page of the query I start from, Firefox returns to the first page of the query.

    Perhaps your install of Firefox is hanging on exit, triggering the session restore.
    You can disable session restore by changing a hidden preference.
    Type about:config into the location bar and press enter
    Accept the warning message that appears, you will be taken to a list of preferences
    In the filter box type resume to bring up a small number of preferences
    Double-click on the preference browser.sessionstore.resume_from_crash to change its value to false
    *solution courtesy TonyE
    https://support.mozilla.com/en-US/questions/754840

Maybe you are looking for

  • Networking Snow Leopard to XP and Windows 7

    Hi all, I have a MacPro (OS X 10.6.3), a Pentium (Windows XP) and a Toshiba Laptop (Windows 7). I use a D-Link DIR-825 Xtreme N Dualband Gigabit router with the Snow Leopard and Windows XP PCs, a Lexmark laser printer and an Epson inkjet connected (w

  • Podcast Artwork not showing up in iTunes

    I have a new podcast which was recently approved by iTunes. All appears to be well with the feed setup, but the artwork is not appearing properly in iTunes. I have checked the setup on my end and the raw feed XML, and I don't see the problem, as the

  • HT5312 how to reset my security question as I cannot remember any ?

    Hi, I want to change my security question as I cannot recall them but when I am log in I cannot reset them unless I know them !!!!!!!!!!! how can I do reset them in a simple way ? Thanks David

  • Still hate versions and autosave

    I've given it a week and I still can't get used to the save version/duplicate set up.  I understand what they are meant to do, but it is just an awkward workflow for what I do.  I hate duplicating an existing file just to edit it and save it as a new

  • Itunes slows my pc

    I had the same problem as the pperson who posted the question below. I followed the advice of wiclee after trying everything else imaginable and iTunes now works properly! why is Itunes slowing down my computer     1292 Views   1 Reply Latest reply: