Transaction control after we press 'add' in system forms

Hi All,
I want to perform a transasction in goods issue for the same items which user enters in goods recipt form. when he presses 'Add' in goods receipt form, ideally first, receipt document will be generated by default (thru system only) and then thru SDK's oInventoryGenExit object, I m passing the same document to issue but, I want to let the receipt be created first and then only if the receipt is created successfully, Issue will  be generated. but, in practice, the issue is executed first.
Is there any way to track if user has clicked "yes"
for "you can not change the document after you have added it.
do u want to continue?" message, after he presses 'Add'?.
Ideally, issue document should be generated after user clicks yes and reciept is generated.
thanks in advance.
regards,
Binita

Hi All,
the workarounds we discussed work fine. I m facing one more problem. After the system form succesfully adds the data (and we get the confirmation by checking the action success or something like that) , how can I know which was the last document added by that form? for example, I am handling  the Form Data Event in sales order form and checking the action success. but, I want to know which was the document created by this event in back-end. we can do it by comparing the document number from form screen, but we know that, for cases such as more than one users adding the documents simultaneously or when a draft is saved as document, the shown doument number may not be the actual number with which the document may have been saved in back-end table.
How can I determine this?
Any help would be greatly appreciated as I m just stuck up on this
thanks and regards,
Binita

Similar Messages

  • Get control after key press in listview?

    how to get control after key press in listview ????
    example
    after keyboard key PAGE_DOWN  from listview
    execute my routine ?????
    Thank' s

    PavelSafrata, your solution is right, but in my case it does not work properly, because it has to be "setOnKeyPressed", then he picks up the current line and not after the jump PAGE_DOWN.
    used the routine below, but in this case when pressed SHIFT + PAGE_DOWN, does not bring the line "new" correct.
    this.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>() {
                @Override
                public void changed(ObservableValue<? extends Number> observableValue, Number old, Number n ) {
                    if( my_last_keyborard_registered == KeyCode.PAGE_DOWN  ) {
                        System.out.println( n.intValue() );    // when pressed SHIFT + PAGE_DOWN
                                       // get -1  << error
    Thank's

  • How to create add-on of a system form in sap b1 9.0?

    Hi all,
    I have a problem related to the creation of a system form add-on of sap b1 9.0.
    I can develop some projects in visual basic, but about sap b1 add-on, I know how to package files of to install (.ard and .exe files) and I also know how to register .ard file in sap b1 9.0, So I tried to register all projects found in SDK sample folder that was correct.
    I tried to do an example of project found in SDK Help Center.
    But the problem I have to day related to the creation of system form add-on.
    The steps I tried to do are:
    1. I opened SAP B1 Studio for Microsoft Visual Studio
    2. Right click my project and add the system form (Employee Master Data)
    3 Connection string I used in Command line arguments   0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056
    4. I added one field (CFL of BPCode) to Employee Master Data.  I did n't add any reference because when I add UI API Vission 9.0 to system form or user form of sap b1 it gives errors in Menu.vb. I do know why.
    5. I converted in 32 bit and build my project
    6. I re_opened new visual studio 2010 for creating new project with SAP B1 AddOnInstaller.NET Wizard
    7. From here I did every thing according to the video of Bryan Gomez
    Creating and Registering SAP Add-on - YouTube
    8. I registered my .ard file
    9. But when I start my add-on it gives error (Add-on connection timed out)
    The questions I want to ask,
    1. If you are creating the add-on of system form Is there any other thing needed to do more than the above  I explained?.
    2. Is it necessary to go in SDK code when you are using the system form like that?.
    3. If it is necessary to add reference of UI API  in project, how to handle error occurs when we add that the reference to the project which is using a system form?.
    Please anyone who has an idea he/she can help me.

    Hi pallavi p,
    That's good but as I said above when I add the reference of UI API Version 9.0 in the project which has the system form or user form of sap b1 it exactly gives errors in menu.vb of the project.
    So let me give you the way you can try.
    1. Open new project/ visual basic/ sap business one/ sap business one add-on project. and save it any where
    2. Right click on your project
    3. Add new item
    4. Sap Business One
    5. System form (Employee master data) or user form
    6. Add
    And then if your form is opened
    7. Go to add the reference of UI API Version 9.0
    8. Check errors found in menu.vb (or in OutPut)
    So if it's possible try to solve that problem.
    Please anyone can help me.

  • Reusing SAP System Forms

    I have the following problem:
    I need to reuse an System-form from within an UDO (well, it doesn't matter from where I want to use it, does it?).
    The System-form that I need to use is called "Select Serial Numbers". You can open it by clicking:
    [StockManagement]->[Pick and Pack]->[Pick List]->New
    then "deliver" and select the "Assign Serials" dialog.
    (Rightclick on a quantity and then "Select Serial")
    <u>Now my question:</u> <b>Is there any other way to add a system form the B1 Environment than clicking on the Menu Entry corresponding to that form? </b>
    The problem is that there is no menu entry for the "Assign Serials" formular.
    I know that its FormType(Ex) is 25 but I am not able to create that form with Forms.Add or Forms.AddEx!
    Any help (or even a negative answer) will be appreciated!
    Arvid Terzibaschian

    Well I really don't know. Usually you open it by following these steps:
    1. [StockManagement]->[Pick and Pack]
    2. [Pick List] and select any valid record
    3. press the [Deliver] Btn
    4. right-click on "Quantity" and select Batch/Serial Numbers
    now you see the form I need to use in another context, (and I need to open it from the Pick List via a custom button if anyone cares)
    I don't think that there is a different way than opening the delivery document and rightclick or control+tab on "Quantity".
    Thanks for your answers though
    Message was edited by: Arvid Terzibaschian

  • Is UniqueID form property really unique on all system forms?

    Hi all,
    We have an AddOn that controls matrix line changes on several system forms (Purchase, Sales, etc) to allow us detect article price changes made by user on matrix lines.
    The control that we have implemented is based on the assumption that the system form UniqueID property is really unique on all system forms opened by the user (he have an array where they key is based on Form.UniqueID to detect matrix line changes).
    It seems from our testes that this UniqueID is always unique across all system forms, so that when the user opens an existing standard document (sales order, invoice, etc), we always know if he has changed the price lines (event triggered at matrix level, were he set ArrayChanges[Form.UniqueID] = true)
    Is our assumption correct or it can happen that SBO internally reuses Form UniqueID?
    Thanks all,
    Manuel Dias

    Hi Manuel.
    You are correct. All system form's ID is unique.
    Regards,
    Vítor Vieira

  • System status - transaction control

    Hello ,
    I have a following doubt ,
    Are we allowed to checnge system status business transaction control ? using transaction BS22?
    Or it can cause problems in the system?
    Thank you
    Rika

    Hello Rika,
    the system status is the "stronger" one.
    Using transaction bs32 you can display the business transactions for the status maintanance. Position to one of them like "FINI" and display the where used list(F6). You will get a view where the corelation between system status and status process is displayed.
    For FINI I can see that the system status I1005 CMPD Completed is set.
    Now go to the bs22 transaction and search for the I1005 system status. Do also a where used list(F6) and you will get all the processes that delete this system status. You will see that the process QUOT is allowing this.
    So now it comes up to the status profile. You have mentioned that you have the FINI process. Check if the rejection user status is allowed after FINI by checking the lower highest columns in the status profile.
    I hope this will clearify your doubts.
    Best regards,
    Erika

  • After iTunes update, iTunes.exe System Error - msvcr80.dll missing  & icudt49.dll missing.

    After iTunes update, iTunes.exe System Error - msvcr80.dll missing. Followed the support suggestion & uninstalled then re-installed iTunes 5 times & still no good so followed Apples advice & uninstalled again then went into programme files & manually deleted the files re-installed again & now getting iTunes.exe System Error - icudt49.dll missing. I give up, anyone out there help ?

    I've just (finally) managed to fix this problem today. I checked the Apple Support forums, and it seems a lot of people are having the same problem.
    I rang the Apple Support line, and the very helpful man (thanks Alan!) talked me through it stage by stage. If you go to the following page on the internet:http://support.apple.com/kb/TS5376   it takes you through the process. WARNING - it takes a little time! The main purpose of this is to remove any trace of the old version of iTunes from your computer...
    Basically, the first thing you have to do is go to your Program Files and double click on your iTunes folder. There'll be a number of files with the suffix .dll - you need to move all the .dll files from that folder to your desktop - you can simply click and drag them on the desktop..
    Next, uninstall iTunes - go to Control Panel / Add/Rempve Programs and when the list comes up remove iTunes. This will take a few minutes... Then reboot your computer.
    Next, go back to Control Panel / Add Remove and Remove - IN THIS ORDER -
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot again!
    Next, check in your Program Files that the iTunes folder is completely gone - if it has, great: if it hasn't, right-click on the folder and press Shift and Delete - it will say "Are you sure you want to completely remove the folder "iTunes"? Click on "Yes".
    Reboot!
    Then go to the iTunes download page and voila! It should download iTunes without any problems... well it did for me.... Good luck!

  • How to add a system into Solution Manager directory.

    Hi!
    Can anybody tell me how to add a system into Solution Manager directory before generating license key for ECC installation .
    Also,
    How to connect the XI in same box with SolMan and ECC in defferent server to SolMan 3.2 .
    I am going to install SolMan and than XI in and box and after that ECC in a seperate box.
    AM I right?
    regards,
    Pratip Bhattacharyya

    Hi Bratip Bhattacharyya,
    SolMan 3.2 needs SLD only for automatic data gathering of the sap landscape; you can choose between SLD and LIS in transaction SMSY_SETUP (which simply uses the TMS-domain controllers for information gathering).
    XI needs SLD, but XI needs also a netweaver04 (s) system (Abap WAS 6.40). SolMan 3.2 isn't a netweaver04 system (Abap WAS 6.20). So you have to install XI as an own central instance (Abap + Java) on the same windows server, if you like. In this case you have to install for XI an own SLD. Different SLDs can create bridges between themselves. Please look at the SLD configuration guide (quicklink /netweaver -> installation guides).
    But don't ask me how to install two sap systems on one server on windows (on Linux it's easy I have done so); basically it will have an own SID and own "service" numbers (which means own tcp port numbers).
    If you can't dedicate to XI an own server, it's only a question of hardware sizing. For the different combinations of netweaver components you should study the master guide for netweawer.
    Bye
    Message was edited by: Riccardo Escher

  • Regain mouse control after movement

    Hello,
    I'm trying to do something that seems simple. While executing my vi, I'm trying to move the mouse to another open window to specific coordinates, click on a button of another program that starts that program running (it's not a labview program) and then move my mouse to another location and perform another click. I'm trying to use the user32.dll to do the mouse movement and clicking as several people have suggested on earlier threads.
    My problem is that while the first movement of the mouse works fine, when it clicks on the other application I seem to lose all control of the mouse and cannot get control back unless I physically move the mouse and click back on my labview vi. I've tried changing the active window to switch back to my vi window as well as making the vi window on top, but those don't seem to give me control of the mouse again.
    Any thoughts on if there's another function I should be using instead of user32.dll to move the mouse or any other ways I can regain control after that first movement? Thanks!

    This reminds me on an issue i have while manual using Windows XP and Windows 7.
    When initiating the shut down of the system, i am used to end all applications before hand. I do either terminate each application as it is recommended (Quit button), using the X of the Titlebar or simply pressing Alt+F4.
    The latest option initiates the shut down of the active application. If used properly, you can shut down all application one after another without interacting with the PC otherwise (no mouse move, no other keys pressed).
    The issue i observe in more than 50% times when doing so is: After closing the last application, the desktop is "in focus". But pressing Alt+F4 doesn't bring up the system shut down dialog. In this case (remember: more than 50% of all times!) i have to CLICK on the desktop and THEN can press Alt+F4 in order to get the system shut down dialog.
    I assume that this situation is created by the way how Windows shuts down applications and manages "Active Application". I am confident that there is some kind of race condition: An application, which is still in shut down gets the focus, but then is terminated. Which means, no application is in focus now....
    It is the same as during starting up applications with windows. Starting e.g. Firefox, i enter some URL (e.g. "forums.ni.com") and press enter. During load of the page, i start another application (e.g. LV). The LV launcher appears and suddenly, the Firefox window pops in front and displays the forums. I hate this behavior, as with other applications, the swapping of the active window takes place even during typing (e.g. entering passwords).
    So i would expect you to run into a bug of the OS which is present for years now but never being addressed by Microsoft.
    Norbert
    PS: Sorry, i have no solution for you except the recommendtion: Try to set the "active application" programmatically. Don't know if this is possible if the calling application is not already in focus. Meaning: I am not sure if this programmatic approach can only be used to pass the "active" flag from the active application to another.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Urgent : update of table QALS  through transaction QA12 after save

    Hello Experts ,
      I need to update the table field SELHERST of standard table QALS through transaction QA12 after the save button is clicked  .
    I have implemented the exit QEVA0010 which is triggered after clicking the save button , and have put the update command there , followed by commit work statement .
    But it is not updating the table QALS .
    Thanks in advance ....

    When the SAVE button is pressed, SAP execute some checks and launch the update task, if you want that your changes are not overwritten by SAP you need to submit those for execution during update task.
    So you need to use instructions like
    - PERFORM ON COMMIT
    - CALL FUNCTION IN UPDATE TASK
    and execute the update in one of these. (Reference [Updates in the R/3 System (BC-CST-UP)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf])
    You may also try to force the update in the main program, declaring a pointer (field symbol) in the calling program data '(SAPMQEVA)QALS'  (But that's not very correct)
    Regards

  • Both my iPad and iPhone have ios8 On either device in Calendars edit shared with add person when I enter an email address and press add nothing happens - just goes back to edit screen and what I have entered has gone. No error message or any clue

    Both my iPad and iPhone have ios8
    On either device in Calendars> edit >shared with> add person when I enter an email address and press add nothing happens - just goes back to edit screen and what I have entered has gone. No error message or any clue about why I cant share my calendar. Please help.

    UDPATE:
    Spoke with Express lane, and issue was escalated.  Kudos to the support guys that handled this one (Brian and Yi).  Went through everything in detail and took all the crash dumps off the iphones and ipads to send to engineering.
    After backing up the contacts, the recommendation was to delete all contacts in  iCloud.  Doing that caused my iCloud to crash (in the browser), so more crash dumps were sent to apple.
    Eventually got all contacts deleted, then did a resync.  Looks like IOS devices are coming back to life and syncing again.
    Also, Outlook iCloud connector has just been updated to ver 1.0.1 so i installed that on their recommendation.
    BOTTOM LINE workaround:
    1. Backup contacts
    2. Delete contacts in iCloud
    3. Delete accounts on IOS devices
    4. Recreate accounts on IOS devices.
    Hoping a real root cause can be found and real fix implemented.  This has caused me to doubt the stability of iCloud, so i will procees with caution.

  • Robo HTML 9 will not open our project from Source Control after initial start.

    We have a project in version control that we have been using forever, since 2003 or so and many versions of RH.  Now that we have upgraded to 9, this project will open the first time in version control and work normally.  Once you close the project and attempt to reopen from the starter screen, it opens just great, just not in version control.  The files are still set to read only.  I have done this several times and the only way i can work on my project in version control is to act like i am opening a project from scratch, then it needs to overwrite all of my local files with the server files.  It would not be so bad but I am 3000 miles away from the server and 13 hops plus a slow firewall on the other end.  While this has never been a problem in the past it is a big problem because it takes hours for all the files to download and overwrite my local files.
    This only happens with RH9 and Version Control 3.1.  RH8 works no problem.  So, I don't know if this is a RH9 starter problem or a Source Control Problem.  Maybe I will make a similar thread in the RH area.  I'll wait to see if I get any useful hits from this one first.
    It is very strange, I had RH9 open for several days because I was afraid to close the project for this reason and yesterday I published for the month so the heat is less right now but today, it opened with no source control.  If I go to Source Control the only thing i can select is put project in source control.  That is how it got into source control after converting to RH9.
    We have another project that seems to open from version control normally but we can only save topics in HTML view.  No useful answers to that topic after a week.
    Got any ideas???
    I have tried different folder names, different paths, etc.
    Thanks,
    dv

    Ok, here is a wierd one, I used the add to version control icon in the menu bar, It already knew the path so I figured I'm the only one who has been editing these files for the past few days so I clicked add to version control.  It added it. I closed and reopeded and still had the same files checked out.  Closed, checked in all, then reopened and it is working in SourceControl.  Strange that after opening from source control and closing that you need to reopen and tell it to put the project into source control.  Obviously some flag is not getting set somewhere.  This might help others having problems reopening source control files.
    dv

  • In PS module transaction CJ40 after detail planning back button throws out

    In CJ40 primary cost planning we come back to annual view by clicking back button now if i press back button system throws out from transaction CJ40 . rather to come back to element overview screen. Anybody can give me solution for this as the user suffer most during the cost planning of project having more than 100 WBS. if by mistake he click button in middle of his work . all his work lost and he has to do it again it should ask for saving or not . please give me solution
    Edited by: shab396 on Mar 9, 2011 6:07 PM

    Hello,
    Are you uploading the data manually through transaction code?
    It is better if you create a program to manage planning data and upload the data at one go. You will save a lot of time.
    You can use FM 'KBPP_EXTERN_UPDATE_CO' for CJ40.
    You can also go for BDC recording but if there is a FM or a BAPI available for it then better is to use FM/BAPI.
    Hope this helps.
    Regards,
    Saba

  • Business Transaction Control is not Working for Equipment Status.

    Hi All,
    I have created a Status Profile for Equipment / Functional Location & assigned 5 Status under this Profile i.e. NEW, COM (Commissioning), INS(Inservice), CAM (Care & Maintenance) & DCM (De Commissioned). For Status DCM i have assigned Transaction control FORBIDDEN for "Enter PM processing data , Enter PM planing data & Create Meas. Doc."activities.
    It Means, whenever user creates Plant Maintenance Order OR Notification, Maintenance Plan OR Maintenance Item & Measurement Document for any Equipment / FL having this user status (DCM), system should not allow creation of above mentioned object.
    In my scenario, system is giving an standard error message " The business transaction cannot be carried out" during creation of "Plant Maintenance Order OR Notification, Maintenance Plan OR Maintenance Item".
    But i am able to create measurement document for equipment / FL having user status DCM with Transaction control Forbidden of Measurement document creation. No error message displayed by the system.
    Can anybody tell me why its happening? Why system is giving error during order & plan creation but not for Creation of measurement document ?
    If this is not posible in standard SAP, does any body knows about any OSS note so that we can implement the same to get an error message.
    Thanks in advance
    Arun

    Please ensure whether both projects have the same budget profile. Other than that you need to carefully investigate how the cost was posted onto both projects in the first place. Please note in case of procurements, budget is only checked at the commitments level (search the forum as this has been discussed before).
    In case this does not resolve your issue, revert back with the budget profile settings.
    Regards,
    Ammar

  • Add BI System in Solution manager

    Hi All,
    I need to add BI DEV, BI PRD Systems to solution manager. As per my understanding first i need to create logical systems, after wards i have to add this system in SMSY.
    I will be glad if some one can post ur suggestions and procedure to add this
    Thanks

    Hi,
    this is same for all the system. only you have to select appropriate product instance
    please refer this screenshots here [SMSY Set Up|http://www.way2sap.com/sap-article/adding-a-sap-system-to-smsy-of-solution-manager-1907/]
    get the other set up guides on service.sap.com -> release and upgrade info -> installation and upgrade guide -> SAP components -> SAP Solution Manager -> Operation guides.
    Thanks
    Jansi

Maybe you are looking for

  • External table.How to load numbers (decimal and scientific notation format)

    Hi all, I need to load inside an external table records that contain 7 fields. The last field is called AMOUNT and it's represented in some records with the decimal format, in others records with the scientific notation format as, for example, below:

  • Internationalization for Hebrew language

    hi, I made an application, internationalized to be used with some different languages. Til now I internationalized it only for languages that have Latin letters (ISO/IEC 10646-1) and in this way it is working fine... Recently I had a request to put i

  • How to install Macbook Pro OS 10.4.8 with BootCamp2.0 for WIN Vista Biz?

    Please advise how do I install Macbook Pro 17"  OS 10.4.8 with BootCamp2.0 for WIN Vista Business? I need urgently to install these softwares onto my new HDD 500GB due to faults (bad sectors, etc) of the original 250GB HDD. Can I use the original App

  • Is GL_OES_compressed_paletted_texture really supported on iPhone hardware?

    The "iPhone Application Programming Guide" document, in the "Drawing with OpenGL ES" section, says that GLOES_compressed_palettedtexture is supported by the iPhone hardware. But there's a post in the ImgTec forums, at http://www.imgtec.com/forum/foru

  • UNDO tbs requirement

    How would I know what is the required UNDO tbs space for a job to run successfully. I cannot view the code of the job. How can I calculate the UNDO tbs requirement for that particular job. Following is the error I am facing while running that job : *