Problem in PAI

hello friends,
i need little help,
i have a screen which has two input values,gscreen_exdiv and gscreen_door# as input.
how do i update a ztable in the database, with these fields along with system userid, system date.
can any one please give a step by step approach, presently the development was done till  PAI,
when i double click on PAI it takes me to few modules already built. now i have to
write a module that does this  job. can any one plz give details of sample code.

Hi kutumba rao,
You can use your own modules also just write the module name...
eg. module mod1.
now double click on mod1 ..
then choose main progaram and then enter.
now here you can write your own code as your logic says...
for system date you can use sy-datum . you can use other system variables as per your requirement..
in that module you can write like..
case sy-ucomm.
when 'PUSH'. " Function code for the Push Button you had given...
      call transaction 'se11'.
when 'EXIT'.
     leave program.
encase.
Hope this will help you..
Regards.
ilesh Nandaniya

Similar Messages

  • Probleme de payement, comment faire?

    J'ai essayer d'acheter quelque chose de payant a partir d'un jeux gratuit (des donuts avec le jeux springfield) et ca ne fonctionne pas, ca m'écrit de demander de l'aide a apple. pourtant, j'ai verifier mon numero de carte et tout devrait fonctionner.

    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users on here, we won't know why you are getting the message) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Problem with PAI (Process After Input) in JSPDynpage

    Hi All,
    I am implementing a file upload functionality through JSPDynpage. When I browse the excel file and try to upload it, it gives this error :
    com.sapportals.htmlb.page.PageException: Eventhandler- "upload_file" or "onUpload_file" not found!
         at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:168)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    This is my component :
    public class FileUploadUtility extends PageProcessorComponent {
      public DynPage getPage(){
        return new FileUploadUtilityDynPage();
      public static class FileUploadUtilityDynPage extends JSPDynPage{
        private fileUpload fileUploadBean = null;
         protected IPortalComponentRequest request;
         protected IPortalComponentResponse response;
         protected IPortalComponentSession session;
         protected IPortalComponentContext context;
         protected IPortalComponentProfile profile;
         protected String userId;
         private final static int INITIAL_STATE = 0;   
         private final static int OUTPUT_STATE = 1;
         private final static int ERROR_STATE = 2; 
         private int state = INITIAL_STATE;
        public void doInitialization(){
              request = (IPortalComponentRequest) this.getRequest();
              session = ((IPortalComponentRequest)getRequest()).getComponentSession();
              context = request.getComponentContext();
              profile = context.getProfile();
              IUserContext userContext = request.getUser();
              userId = userContext.getUserId();
              System.err.println("berry + Getting userID " + userId);               
              fileUploadBean = new fileUpload();
              session.putValue("fileUploadBean", fileUploadBean);
              //uploadUtility();
        public void uploadUtility(){
              String mimetype;
              String resourceName;
              String repository;
              FileInputStream sourceFileInput = null;
              IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
         /*     IWDClientUser wdUser = WDClientUser.getCurrentUser();
              IUser user = wdUser.wdUser.getSAPUser(); */
              IUser epUser=(IUser)request.getUser().getUser();
              System.err.println("epUser - " + epUser);
              ResourceContext ctx = new ResourceContext(epUser);
              repository = "/Folder1/Folder2";
              RID rid=RID.getRID(repository);
              System.err.println("getting RID :- " + rid);
              IPageContext context = PageContextFactory.createPageContext(request,response);
         //     PageContext context = PageContextFactory.createPageContext(request, response);
              Event event=context.getCurrentEvent();
              if(null!=event)
                   String event_name=event.getAction();
                   if(null!=event_name && event_name.trim().equalsIgnoreCase("upload_file"))
                        //FileUpload fileUpload = (FileUpload)context.getComponentForId("fileupload");
                        FileUpload fileUpload = (FileUpload)context.getComponentForId("fileupload");
                             if(null !=fileUpload && null!=fileUpload.getFile())
                                       mimetype = fileUpload.getFile().getContentType();
                                       resourceName = fileUpload.getFile().getFileName();
                                       //sourceFileInput = new FileInputStream(fileUpload.getFile().getFile().getAbsolutePath());
                                       try {
                                            sourceFileInput = new FileInputStream(fileUpload.getFile().getFile().getAbsolutePath());
                                       } catch (FileNotFoundException fnf) {
                                            System.err.print("FileNotFoundException Occured " + fnf.toString());
                                       Content content = new Content(sourceFileInput, mimetype, -1L);
                                       //IResource resource = (ResourceFactory.getInstance().getResource(rid, ctx));
                                       IResource resource = null;
                                       try {
                                            resource =(IResource) (ResourceFactory.getInstance().getResource(rid, ctx));
                                       } catch (ResourceException resexp) {
                                            System.err.print("Resource Exception Occured for IResource" + resexp.toString());                          }
                                       ICollection aCollection=(ICollection)resource;
                                       //IResource newResource = aCollection.createResource(resourceName, null, content);
                                       try {
                                            IResource newResource = (IResource) aCollection.createResource(resourceName, null, content);
                                       } catch (NotSupportedException e2) {
                                            System.err.print("Not Supported Exception Occured" + e2.toString());
                                       } catch (AccessDeniedException e2) {
                                            System.err.print("Access Denied Exception Occured" + e2.toString());
                                       } catch (ResourceException e2) {
                                            System.err.print("Resource Exception Occured for ICollection" + e2.toString());      
                                       }//end of catch
                        }//end of innermost if
              }//end of 2nd if
         }//end of 1st If
    }// end of uploadUtil
        public void doProcessAfterInput() throws PageException {
              uploadUtility();
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("File_Upload.jsp");
    Kindly help with expert suggestions :

    I put this
    public void onUpload_file (Event event) {
              uploadUtility();
    In my FileUploadUtilityDynPage.java and its still throwing the same error.
    {0}#1#com.sapportals.htmlb.page.PageException: Eventhandler- "upload_file" or "onUpload_file" not found!
         at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:168)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    I've also imported import com.sapportals.htmlb.event.*;
    No relief!!

  • Comment payer avec paypal

    bonjour a tous,
    voila mon probleme: je payer mon abonnement mensuel avec ma visa. probleme je ne l'est plus et je ne compte pas en reprendre. je souhaiterat payer avec mon compte paypal comment faire?
    merci

    Hello,
    Je pense effectivement que la réponse de Loic est très pertinente car dans Adobe ID (Accounts.adobe.com/plans), il n'existe pas de possibilité de payer avec Paypal. Tiens nous au courant. D'autres personnes peuvent être dans le même cas.

  • DynPro - numerics not showing

    Hi there,
    I created a Dynpro where data from LIPS (SD table) is used.  I tried a Table Control, but I'm not sure which keywords.commands to use, to save data from a Table control to the Internal Table / Std table.
    I used Inout/Output Text fields and arranged them in Table form, and write data to these Input blocks.  However, my numeric fields are not showing.  I have Char types showing, but Item number and number of Items are not showing.  Please help.  I asked my Snr and he doens't seem interested in even opening the program...  Am I asking a stupid straight forward question that I should know?
    Hope someone can help.
    Regards
    Ryno

    Hi Ryno,
    Please make sure the field names that you declared in the TABLE CONTROL on the screen must match with the names of interanal table that you declared in the TOP include
    in top include
    data : begin of itab occurs 0.
    include structure LIPS.
    data : end of itab.
    now on the table control please take the columns from the itab and press the pushbutton FROM PROGRAM
    now as the columns you selected on the Table control on the screen and the program variable match the data transfer takes place automatically.
    if you still have problem.
    in PAI
    loop at itab.
    module modify_tab.
    endloop
    in program
    module modify_tab.
    describe table itab lines tc-lines.
    if tc-current_line > tc-lines.
    append itab.
    else.
    modify itab index tc-current_llne.
    endmodule.
    Best Regards
    Ramchander Rao.K

  • Screen exit for co11n and problems in writting the PBO and PAI Logic ?

    Hi People,
    I am developing a screen exit for transaction co11n. I have found the exit ( CONFPP07 ) ... I created a project and have
    assigned this exit and activated the project. I have created a field named SHIFT  on clicking this field i have to give three
    possible values (a,b,c  ) and i have to store these values in some table .......... now my problem is in which include i
    have to write PBO and PAI logic ... should i have to write pbo logic in the include provided in the exit
    EXIT_SAPLCORU_S_100 and PAI in EXIT_SAPLCORU_S_101.......or .........Can any tel me what should i have to do to
    meet the requirements... and in which structure i have to add this field so that it gets stored in some table.
    Thanks in Advance.

    Hi,
    Use the includes in the program SAPLXCOF given in CONFPP07 Exit.
    You may use include zxcofzzz ( for Subprograms and Modules )
    by creating it upon double click.
    Regards,
    Wajid Hussain P.

  • Hola tengo un problema actualize mi iphone 5 a ios 7 y en mi pais ya no me reconce sim que puedo hacer?

    hola tengo un problema actualize mi iphone 5 a ios 7 y en mi pais ya no me reconce sim que puedo hacer?

    Do a reset, hold down the home/power button until you see the apple logo and then release, then wait for the phone to boot back up.

  • Bonjours il n est pas possible de faire un paiement sur n importe quel site avec paypal sinon pas de probleme avec internet explorer

    bonjours il n est pas possible de faire un paiement sur n importe quel site avec paypal sinon pas de probleme avec internet explorer edit

    Hello didierj1, try to [https://support.mozilla.org/en-US/kb/Template:clearCookiesCache clear Cookies and Cache] and check it again.
    also be sure you have '''check mark''' in '''Accept cookies from sites'''[ v ] and to '''Accept third party cookies''' [ v ]
    see : [http://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences#w_how-do-i-change-cookie-settings How do I change Cookie settings?]
    thank you

  • I hve pop up from adobe that tell me they have problem with my paiement and billing information and to go in my account or my lisence will stop working in 25 days

    I have pop up from adobe that tell me they have problem with my paiement and billing information and to go in my account or my lisence will stop working in 25 days again... I can't find anything wrong in my account infos. What do I need to check and change? Adobe takes the money directly on my credit card since almost 2 years and I haven't change anything sicne then. The expiration date is good. Also, I'm not able to contact the Adobe support, it's not available.

    ImprimerieModerne, my response of about being unable to find the CC was for Kathy P. The issue that you are facing is being worked upon.
    I am sorry for the confusion.
    Regards
    Rajshree

  • Bonjour. J'ecris cela pour vous faire part de mon probleme, lorsque je veux telecharger une application l'ipod me met:" mode de paiement rejeté"... Aidez moi s'il vous plait.

    Bonjour. J'ecris cela pour vous faire part de mon probleme, lorsque je veux telecharger une application l'ipod me met:" mode de paiement rejeté"... Aidez moi s'il vous plait.

    Google translate:
    Good afternoon. I am writing this to tell you about my problem, when I download an application ipod makes me "payment rejected" ... Help me please.
    If you can't find anything wrong with the account/payment method, then contact iTunes.
    Contact iTunes

  • Problem with DYNP_UPDATE_FIELDS and PAI module

    Hi gurus,
    I have two dynpros (100 and 200)  in a module pool, and when I double click in a table field, then appears another dynpro with the values of this field.
    To show the fields values in the dynpro 200, I use the function DYNP_UPDATE_FIELDS, in the PBO. The dynpro 200 have a button to return to dynpro number 100.
    When appears the second dynpro with the values, show the status-gui of the dynpro 100, and when click the return button, execute another time the PBO and then, at the second time, put the stats-gui of the dynpro 200.
    In resume, execute two times the PBO, and then, execute the PAI. If I delete the function DYNP_UPDATE_FIELDS, all works fine, but don't show the values of double click....
    Thanks.

    Hi gurus,
    I have two dynpros (100 and 200)  in a module pool, and when I double click in a table field, then appears another dynpro with the values of this field.
    To show the fields values in the dynpro 200, I use the function DYNP_UPDATE_FIELDS, in the PBO. The dynpro 200 have a button to return to dynpro number 100.
    When appears the second dynpro with the values, show the status-gui of the dynpro 100, and when click the return button, execute another time the PBO and then, at the second time, put the stats-gui of the dynpro 200.
    In resume, execute two times the PBO, and then, execute the PAI. If I delete the function DYNP_UPDATE_FIELDS, all works fine, but don't show the values of double click....
    Thanks.

  • Problem with looping table control in PAI

    Hi,
    I have a table control which displays 10 records at a time. In PAI it is looping only these 10 records even though itab has more than 10. I need to do some validations on all the records. How to overcome this prob.
    Thanks in advance.

    c if u want to do validationsdo it on the internal table before passing it to the table control..
    Secondly in a table control if its size on the screen is for displaying 4 records only den it will display on 4 while running even though ur table has 10 records...
    So in SE41 drag and increase the size for table control...den it will display all records..
    And if u dont want dis..den write the code for vertical scroll in table control..
    Get back to me in case u want 2 do dat..
    Hope dis helps..
    Reward if it does

  • Problema para enviar correos por fuera del pais, error con el smtp

    Buenas tardes
    Resulta que tengo inconvenientes para enviar correos cuando me encuentro por fuera de Colombia, como por ejemplo cuando viajo a Estados Unidos,
    La configuracion que tengo en mi IPAD con el SMTP, es con usuario y contraseña, y con el puerto 25, asi me funciona perfectamente en Colombia, pero en Estados Unidos me sale un mensaje de autentifacion fallida, o usuario y contraseña incorrectas.
    Que configuracion debo de hacerle a mi IPAD para poder enviar correos cuando este por fuera del pais?
    Gracias

    Muchísimas gracias Federico, me lo has solucionado.
    Había oído campanas y no sabía por donde. Intentaba activar los derechos de comentario para Reader y eso me desactivaba el formulario.
    Efectivamente la solución es activar en Avanzados>Funciones extendidas en Acrobat Reader. Por lo visto esto permite guardar con datos antes de enviar.
    Pd.: sorry por no indicar la versión y demás. Trabajo con un Mac Pro, Snow Leopard y últimas versiones de Acrobat, Reader... todo actualizado, aunque ya no hace falta
    Gracias de nuevo, saludos,
    Pedro J. Sempere

  • I ve problem to change payement method.. i cant find where mange it and guide can't help me

    Can Someone help me to change my payment method?

    Hello,
    one of the instructions to "Manage your membership and payments" you will find there:
    http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html
    Good luck!
    Hans-Günter

  • Update IOS 8.1.3 . No way to have iphone 5 ON after ... Apple asking payement for repair as no more warranty?! any problem with IOS 8.1.3 update ?

    Hi
    anyone experience troubles with hardware after updating to 8.1.3 on Iphone 5?
    no way to turn ON IPHONE 5 after.... apple askig money to repair ?! As phone no more under warranty
    Find it quite nice from them !!!!

    Pascalitto wrote:
    i am not expecting warranty to last forever... But at least more than 3 months... also when I am servicing my car, I am expecting it to be returned working...
    btw thanks for your assistance!
    Details matter. You didn't say your phone was only 3 months old. In fact you said in your opening statement your phone was no longer under warranty.

Maybe you are looking for

  • How to disable SSL v3 for sun os 5.6 (OAS 4.0.8), I am facing POODLE vulnerability issue?

    my Website is hosted on Sun OS 5.06 (OAS 4.0.8) and using web server : Oracle_Web_Listener/4.0.8. Website is configured to use https for secure pages and it was working fine from last 10 years but suddenly i am getting complaints from my customers th

  • I want to know before the step of go live?

    hi All, i want to know the step of start the sap project before GO-LIVE what we do in this and what is the the step related this because i m not in configration i am in support deppert. BS, Atul

  • OfficeJet J6480 Duplex Printing not working

    Duplexer is installed correctly with my OfficeJet J6480.  When I try to print a two sided page using AUTOMATIC setting, it prints a page and pushces out the page without rolling it back to print on the other side.  Any input on correcting this issue?

  • JDK 1.5 parser & parser properties listing..

    Hi. I'd like to know, which parser is bundled with JDK1.5. Is it still Crimson? Also, i am trying to get properties of GNU JAXP dom implementation. Something I am doing wrong, because my app only says, that it supports only Core and XML - modules, an

  • How to install apex 4 with Oracle Fusion Middleware Web Tier Utilities

    Hi all, Does any one know how to install apex 4 with Oracle Fusion Middleware Web Tier Utilities ? I follow the instructions http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/toc.htm but there's no directory called ORACLE_HTTPSERVER_