Saltar al contenido principal

Close is Bugging system

Respondida

Comentarios

11 comentarios

  • Geoff Booth

    Activate();  So you activate the current open form - should be OK

    Activate(1281); //switch to find mode - should be OK

    AutoPressNextPopup(2);//Accept the yes by default -  What is this popup ? Is it closing the form

    Close(); //Activate(1282); //switch to Add mode

     

    I suggest you turn on debug mode and navigate line by line to see what is happening

  • Jobi Joseph

    Hi Geoff ,

     

    thanks for your suggestion

    i tried many ways , once it come to close its bugging system

  • Geoff Booth

    I still don't understand what you are trying to do. You need to provide more details such as:

    • What form are you on?
    • What does the AutoPress next pop select do?
    • What is the point of switching to Find mode (which give you a blank form) and then Closing the form?
    • Send screenshots of your forms and you full UF
  • Jobi Joseph

    Hi Geoff,

    Cutomer want system to work with scanning , so ass soon they scan close , it should close user defined form. 

    all comments you seen there is my trys to avoid that

  • Geoff Booth

    I'm still not understanding,

    • Does the customer want to scan a barcode to retrieve a value on to a user-defined form?
    • Then what happens - does the data need to be saved?
    • Provide an example if possible

     

  • Jobi Joseph

    Hi geoff ,

    As simple , i need a user defined form to close with b1up validation .. form data no need to save..

  • Geoff Booth

    Try running the Close() on a core SAP form to see if it functions as expected.

    If it does then the issue is in your user defined form .

    The only code I would have in the UF to test is Close(); as nothing else should be needed.

  • Jobi Joseph

    i tried just simple close as initial step  its bugging system 

  • Geoff Booth

    This worked fine for me on a basic SAP Purchase Order. The PO form closed as expected.

  • Jobi Joseph

    Hi normal form will close without any issue .. could ypu please try user defined form

  • Geoff Booth

    I opened a user-defined window; added the same right-click menu item and it closed the form without error.

     

    I'm using SAP 10 SP 2408 & B1UP 2024.10 

Iniciar sesión para dejar un comentario.