Calling smartform for PO from ME22n

Hi all,
I had created a smartform for PO and print program for the same.
My requirment is that I want to call the PO smartform from ME22n and all the details ie PO number,supplying plant,doc date, PO qty etc will be displayed on the smartform but I am not getting that.
I had gone to Tcode NACE and in the processing routine of output type ie NEU I had entered the Form name and printprogram.But I am not aware of form routine whether I ve to write separate Form Routine for the driver program.
Pls tell me the necessity of form routine here.
Pls experts its an urgent requirement and help me out regarding the same.
I will reward points for the same.
With regards,
Abir.

The routine name is the the soubroutine in your print program.
For eg in Script:
If your print prog starts as
FORM entry USING return_code us_screen.
  CLEAR retcode.
  xscreen = us_screen.
  PERFORM processing.
  IF retcode NE 0.
    return_code = 1.
  ELSE.
    return_code = 0.
  ENDIF.
ENDFORM.
Then "entry" will be the routine you are looking out for.
Message was edited by: vinodh balasubramaniam

Similar Messages

  • Error while calling BAPIs for DMS from Portal

    Hi everybody,
    We are developing a portal with Web Dynpro and trying to call from our java code BAPIs that deals with DMS:
    BAPI_DOCUMENT_CREATE2 - to create a new DMS document and checkin an original.
    CVAPI_DOC_CHECKIN - to checkin an original to an existing DMS document.
    CVAPI_DOC_CHECKOUT - to checkout an original from the DMS.
    While using other bapi's that deals with DMS but do not deals with originals (like creating a new document, retrieving metadata about documents and originals) we don't have any problem.
    Only when trying to checkin or checkout originals we get the following message (from the DMS?): RFC_START_PROGRAM
    the full message is: com.sap.aii.proxi.framework.core.BaseProxiException:RFC_START_PROGRAM error key:RFC_ERROR_PROGRAM.
    does anybody knows the meaning of this message?
    by the way - those BAPIs works well while called from the R/3. only when we call them from the portal we have this problem.
    thanks for any information, Adi.

    Hi Adi,
    Right now I have a similar problem. Did you find the cause/solution?

  • Calling smartform multiple times from driver program

    Hi Experts,
    In a internal table i have multiple records, and my requirement is i need to call the smartform by looping the internal table and i'm geting output N times based on the N record in the internal table
    But my output i need to club all these output into single output i.e Instead of getting a print preview screen N times... i need to get the output during the last record of the internal table displaying all the pages.
    I tried searching the SDN, but the answers were not convincing for my requirement.
    Please advise. Thanks
    Regrds
    Balaji R

    Hi Sravanthi
    Thanks for your quick reply.
    I found your code interesting....
    but in my requirement spool will not be created..
    In my requirement
    I receiving the print preview for each record of the internal table, say 5 page for 5 records in the internal table.
    Now i need to change that only at the end of the itab.....  i need to get the print preview with all the 5 pages...
    Please advise..
    Thanks

  • Call RFC for Lookup from BPM. how to determin the correct target system

    Hi
    I have a scenario where i am sending a sync call to SAP R/3 to fetch some sata using the BPM.
    The issue is I can have multiple SAP systems so to determin the SAP system for the correct lookup is necessary.
    in the rec determination step of Config I can configure multiple receivers but this isthrowing an error saying the multiple receivers cannot be determined for sync step.
    Any idea why is such an error occuring
    Regards
    Nikhil

    Nikhil,
    Multiple Receivers cannot be configured for a Synchronous Interfaces. reason is that when you are sending the request message to the target systems, XI will recieve multiple responses for one request and this is aginst the concept of Synch Message Processing.
    You will have to have an option of determining the receivers inside your BPM and using separate Send Steps for each of these.
    Regards
    Bhavesh

  • On my ipad mini, when I delete an email from the inbox (and it goes into Trash), it immediately deletes that email from the server (ATT/Yahoo).  I've called support for both ATT and Apple and can't find a way to have the emails remain on the server.

    On my iPad Mini, when I delete an email from the inbox (and it goes into Trash), it immediately deletes that email from the server (ATT/Yahoo).  I've called support for both ATT and Apple and can't find a way to have the emails remain on the server. 
    My husband and I share an email address and if he misses a day checking email on his notebook, he doesn't receive the items that I have sent to Trash on my iPad Mini.
    Appreciate suggestions.
    [The curious thing is, if I "move" the deleted emails from Trash on my iPad Mini into the Inbox, I can go to my notebook, open my online email and they are back in my ATT/Yahoo Inbox.]

    Is your Yahoo account set up as POP3 or IMAP?

  • I guess the problem come from me or I really need those contacts before he calls me for it. I'll try some method that I got from some responders on your support website. Do you have or can you recommand any software that can solve this problem?

    I guess the problem come from me but I really need those contacts before he calls me for it. I'll try some method that I got from some responders on your support website. Do you have or can you recommand any software that can solve this problem?
    One more thing. I just update my iphone that my boss gave to me but it seems to be like it giving me some trouble. My iphone was updated not too long and was successful. I try to lock into it and it telling me emergency call. I plug it to my itune and it telling me that the sim card is not valid or supported. So I inserted my sim card that I usually use to call and it still saying the same. Please help me get into it.

    And as far as paying for phone support, here are a few tips:
    If you call your carrier first and then they route you to Apple, you usually don't have to pay for phone support.
    If you are talking to Apple and they ask you to pay a support fee, ask if you can get an exception this time.  That usually works once, but they keep track of the times you've been granted such an exception.
    If you still end up paying the support fee, that fee only applies if it's not a hardware related issue.  In other words, if it can be fixed by just talking over the phone and following Apple's instructions, then the fee applies.  But if your device is deemed to have a hardware failure that caused the issue, then the fee should not apply, and you can ask for it to be waived after the fact.
    This forum is free, and almost all of the technical support articles the Apple tech advisors use are available on this website.  Literally 99% of what they can do over the phone is just walking you through the publicly available support articles.  In other words, you're paying the fee to have them do your research for you.  It's like hiring a research consultant to go look stuff up in the public library so you don't have to.  You're capable of doing it; you'd just rather pay someone to do it for you.
    It's like Starbucks.  You know how to make coffee.  Everyone knows how to make coffee.  And Starbucks coffee isn't any better than what you could make at home for far less.  But you want the convenience.  So you're really paying a convenience fee.  Milk is more expensive at 7-Eleven than it is at the grocery store... because it's a convenience store.

  • Can you call a function module from within a smartform?

    I was told that yu can not call a function module from a smartform - that does not make sense to me because you can do tons of ABAP within a smartform.
    Well - can you?
    Thanks.
    Scott

    Yes, you can call function modules.

  • Calling Smartforms from Module pool: Most Urgent

    Hi, Exeperts
    how can I call smartforms from module pool.
    I have done like below.
    First Created a push button on screen and used
    these code in user command through PAI
    FORM CALL_SMARTFORMS .
    DATA: V_FORM_NAME TYPE RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME           = 'ZSMART'
      IMPORTING
        FM_NAME            = V_FORM_NAME
      EXCEPTIONS
        NO_FORM            = 1
        NO_FUNCTION_MODULE = 2
        OTHERS             = 3.
    ENDFORM.                    " CALL_SMARTFORMS
    now I am getting form name in v_form_name, but it is not executing.
    Please help me out.
    Regards
    Rajiv singh.

    Well, as it's most urgent....
    One you have a value in V_FORM_NAME you need to call this function module, passing the fields and strucures that make up the interface to your form.
    Eg.
    DATA: DEVICE TYPE SSFCTRLOP .
    DEVICE-DEVICE = 'PRINTER'.
    DEVICE-NO_DIALOG = 'X'.
    CALL FUNCTION V_FORM_NAME
    EXPORTING
       CONTROL_PARAMETERS         = device
       USER_SETTINGS              = 'X'
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5.
    Regards,
    Nick

  • Call BAPI_PO_CHANGE from ME22N and go back with F3

    Hello,
    could anybody confirm to me if it is technically possible the following process:
    - execute ME22N
    - call the BAPI_PO_CHANGE from transaction ME22N (through one added button in program SAPLXM06 and screen 0101)
    - call BAPI_TRANSACTION_COMMIT
    - go back to ME22N (F3)
    Thanks !

    Hi Nuria,
    Yes, it is possible technically.
    What are you trying to do? Please explain more in detail.
    Regards,
    Ferry Lianto

  • Method class for calling/executing VB script from abap

    Hi All,
    I need to call a vb script from abap.
    This vb script performs some function then.
    For executing this VB script i use the method CL CL_GUI_FRONTEND_SERVICES=>Execute.
    Now i need to pass data to the vb script in the from of a structure/workarea.
    Does anyone have any idea on what class/method shoul i use?
    Regards,
    Harshit Rungta

    Check Connect VB to SAP
    Kanagaraja L

  • Cannon 8800F not working with OS X yosemite 10.10.1  . I have downloaded the latest drivers and firmware from Canon. I called Canon for support and went through all the checks , but, still my iMac did not see the scanner. Any new ideas?

    cannon 8800F not working with OS X yosemite 10.10.1  . I have downloaded the latest drivers and firmware from Canon. I called Canon for support and went through all the checks , but, still my iMac did not see the scanner. Any new ideas?

    Have you done any of the following?
    http://support.apple.com/kb/PH18614 OS X Yosemite: Reset the printing system
    Repaired permissions & restarted your comp after the installations of the drivers?
    Sometimes, installing the GIMP drivers help with printing issues: http://gimp-print.sourceforge.net/MacOSX.php
    What to do when you can't print
    =============
    not working with OS X yosemite 10.10.1
    Per your profile
    Mac OS X (10.7.3)
    Conflicting info:  Please update/correct your profile so that you can receive the correct troubleshooting suggestions.  This will assist the users in trying to help you.  Thank you.

  • Option to disable the "slide to call" feature for missed calls from lock screen

    I realized that when the iphone (running iOS5) is locked, the“Slide to Call” allows anyone to make an outgoing call to the missed calls from a locked phone (with passcode). This may allow malicious and unwanted calls to be made from a locked phone by anyone having access to the phone and defeats the purpose of having the phone locked by a passcode.
    Don't get me wrong, it is nice feature for people who don't care about locking their phone, but I believe there should be an option to disable the “slide to call” or at least require password before allowing the outgoing call to go through. 
    At this point the only option that I see is to disable the phone related notifications from lock screen, which prevents all phone related notifications to be displayed on lock screen (missed or voicemail). This is not a desired solution.....
    This is the first time in the history of iOSes, that a user can make outgoing calls from a locked phone with a passcode. Even the voice commands (for dialling a number) have option to be disabled on locked screen.
    I was wondering if anybody else feels the same way about this? or have a solution?

    I share the same feeling with you about this issue.
    Actually I was very surprised when I discovered that!
    In addition to this, when you actually slide a missed call, it calls the person and when you end the call, the notification of the missed call is still present! So that person can be called again and again and again.
    This is a serious issue that Apple has overlooked!
    Please secure the iOS 5.
    Thanks.

  • Hi. NOT CALL ME FOR I AM DEAF BETTER U WRITE ONLY EMAIL. When I run the app ALLMYMUSIC FROM WONDERSHARE after installing I get this window up. When I log in with my Apple ID I just get: The Apple ID you entered couldn't be found or your password was incor

    Hi. NOT CALL ME FOR I AM DEAF BETTER U WRITE ONLY EMAIL.
    When I run the app ALLMYMUSIC FROM WONDERSHARE after installing I get this window up.
    When I log in with my Apple ID I just get:
    The Apple ID you entered couldn't be found or your password was incorrect. Please try again.
    I have however made sure that this is the correct Apple ID and password that I am putting in. In the Mac App Store it works.
    Do you have any solution?
    I am running Mavericks 10.9.2.

    To post a screenshot click on the "Camera" button at the top of the reply box and upload it there.
    MtD

  • Dispite I downloaded app video calling for facebook from appStore, my safari on my MacBook don't work, instead app wants to change browser. If I do this (changing user-agent) what will happen with my safari???

    Dispite I downloaded app video calling for facebook from appStore, my safari on my MacBook don't work, instead app wants to change browser. If I do this (changing user-agent) what will happen with my safari??? I have new (updated 10.7.1) OSX, Lion !!!
    Kind regards!
    Petar

    Dispite I downloaded app video calling for facebook from appStore, my safari on my MacBook don't work, instead app wants to change browser. If I do this (changing user-agent) what will happen with my safari??? I have new (updated 10.7.1) OSX, Lion !!!
    Kind regards!
    Petar

  • HT4009 In-app purchases (non-consumable) cannot be transferred from Ipad 2 to Ipad Air. I tried this for an app called Calculator for iPad Free.

    On my iPad2 I made an in-app purchase to get rid of ads in an app called Calculator for iPad Free.
    The ads free version works great on my iPad2. When I bought an iPad Air I restored all aps and music from my iCloud.
    The app Calculator for iPad Free has reverted back to the version with ads. Attempts to restore from iCloud, iTunes and backups have all resulted in the version with ads.
    It appears that non-consumable in-app purchases cannot be transferred. To make matters worse, the in-app purchase price has doubled since I bought it in 2011.
    Good for Apple, not so good for the consumer.

    Problem solved. Just made the in-app purchase a second time and received a note indicating that I had already purchased this app and could download again for free.
    Unfortunately, no one at Apple Support knew that. Frustrating, but all is well now.

Maybe you are looking for

  • Inserting NULL values from getParameterValues("name");

    I want to get values from collection of checkboxes in JSP into servlet through getParameterValues("name"); But the problem is if the user does not tick a particular checkbox I want null to come in the array where getParameterValues("name") is storing

  • Credit setting

    Dear gurus,      How can i have credit setting active at only delivery level(Static check).System should pop up message at delivery level (exceeded value) and a block delivery.Also it shoud calculate open items(payment not posted).               i ha

  • I am unable to setup facetime and imessages on my mobile no.

    Hi! I have iphone5 16Gb. I am unable to setup facetime and imessages on my mobile no. every time I sign in using my apple id,it only uses the email id for send & receive. I have created new apple Id too but still facing the same problem. I have tried

  • IMPORT OF INSTALLATION DETAILS USING API

    We have got orders in the existing 11.5.10 system now we want to import the systems from our legacy system and link them to the orders. I know we can create the systems using CSI_SYSTEM_PUB but how do we link them to order lines so that they are visa

  • Resizable, draggable, snap-to-each-other panels

    Hello! I seem to remember a sample file available for Flex that consisted of a button to add panels to the stage. Once a panel was on the stage, you could resize it, drag it around, or snap it to the panels already on the stage. I thought I linked to