Connecting smartform calling program with iw32 standart screen

Hello All,
i have created a smartform and a program which calls this smartform.
I want to use this program in iw32 standart screen.
i have one input for this print, which is aufnr as p_aufnr.
how can i get aufnr from standart program into my program?
how can i make this connection?
Thanks in advance.

Hi,
You can use the following code to get the AUFNR value.
DATA : wrk_aufnr  TYPE  aufnr.
GET PARAMETER ID 'ANR' FIELD wrk_aufnr.
Thanks & Regards,
Harish

Similar Messages

  • Call tranasaction with skip first screen in ecc6

    Hi,
    We are doing upgrade from 4.7 to ecc 6. We are getting an error while running a report( The addition "AND SKIP FIRST SCREEN" can't be used with "CALL TRANSACTION .. USING".  ) in ecc6. This is not showing error in 4.7. Call transaction with skip first screen is fine in 4.7. But it is throwing an error in ecc6.
    Could anybody provide me the pointers to rectify this error.
    Regards,
    Ramesh

    Hi
    Did you pass all the mandatory field values to the calling transaction , Because when you use this addition you need to pass all the mandatory field values then only it works fine. Check out whether you are passing all the mandatory field values.
    Regards
    Pavan

  • Calling transactions with pre-filled screen in background processing

    Hi,
    We are currently running the two standard SAP programs RVV50R10C and SDV03V02 in background mode with static variants. A new requirement has come up whereby we need to run these programs with changing selection criterions, i.e. depending on whether a certain material has had a movement during the day.
    We are currently looking at the following options, all of which must be executeable in background mode:
    1) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program save variants containing the materials for each of the two standard programs. The standard programs will be scheduled as step #2 and #3 in the same batch job by using the variant which has been overwritten by the Z-program.
    2) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program call these programs by specifying the material numbers in addition to other relevant selection criterions by passing a batch input table.
    3) Copy the standard programs into Z-versions and enhance the selection criterias according to our needs.
    Of the options above we would prefer not to use 3) since we rather use the standard programs due to SAP support etc. The preferred option would be 1).
    Anyone faced a similar requirement and have some ideas about standard SAP functions to save a variant and what issues we might face in option 1) and 2)?

    Hi Geir,
    2nd option is good. Create a Z program to identify the material numbers which you want to process & then in the Z Program itself use SUBMIT statement to call the standard programs RVV50R10C and SDV03V02. Using SUBMIT statement you can populate the selection screen parameters for the calling programs.
    Please let us know if you need any additional details.
    Thanks,
    Best regards,
    Prashant

  • Every time I connect my MBP SR with an external screen, it FREEZES!!

    As the title said.
    Just ordered this september. Every time I connect it with an external screen, say, a projector or the dell228E at home, it freezes. Either failed to wake from sleep (freezes when the screen was still black), or just freeze where it was.
    Today it was the 4th freeze (I have to press and hold the power button to shut it down) in 30 days (I've only had it for 30 days!!).
    Any clues? Should I call Apple or what? Hardware issue or software (os) issue?
    Thanks!
    P.S. I don't have this issue on my own old powerbook 1.67. It was solid rock.

    Please search before posting. There is already an extensive exisiting thread in this forum dealing with the same issue
    http://discussions.apple.com/thread.jspa?threadID=1058380&tstart=0

  • Submit a report program with same selection screen with some values exclude

    Dear All,
    I have to  submit a stndard report program from a copied zprogram with same slection screen values ,
    and in some slect-options some values will be excluded depending upon the zprogram.
    How to make it.
    I mean when i submit , same selction screen values should go along with , depending upon some condions i have to exclude some values .
    for ex: selection screen from a to b
    posting date should go same
    but may be along with it i have to pass movem,ent type <> 202 to the submit screen ,.
    how to do this?

    Hi Rajendra
    >What if i have to pass the movement type also 200 to 250 , with 202 and 203 exluded .
    Use BT ( between ) operator for 200 to 250 :
    lr_move_type-sign = 'I'.
    lr_move_type-option = 'BT'.
    lr_move_type-low = '200'.
    lr_move_type-high = '250'.
    COLLECT lr_move_type.
    And use NE ( not equal )  operator to exclude 202 and 203 :
    lr_move_type-sign = 'I'.
    lr_move_type-option = 'NE'.
    lr_move_type-low = '202'.
    COLLECT lr_move_type.
    lr_move_type-low = '203'.
    COLLECT lr_move_type.
    It works just this way.
    > Secondly,
    >
    > If i have the selction sreen same in both the screen , is it possible to pass the same values as it is with out writing one by one selct-option and parameter?
    No I don't think there is way to do it without writing one by one
    but you may not specify for empty select-options.
    Edited by: Bulent Balci on Aug 21, 2010 11:46 AM

  • Call same smartform in program with different text - same result

    Hello,
    I'm facing the following problem:
    In a program, a certain smartforms form can be called multiple times. Only the text can change, depending on the user action.
    However, the resulting form does not show different text for the different actions. The first time it is used, the text is correct, but from the second time onwards, the text in the form will still be same than the first time.
    The text type in the smartform is 'include text', so I can see in the standard text transaction (so10) that the text was indeed changed correctly. But still it shows the same text in the result.
    Is there some option I have missed?
    Thanks

    Hi,
    You can use COMMIT_TEXT.
    The system keeps all text modules for which you defined 'storage in update task' in the corresponding text object in the text memory. As soon as it updates the corresponding application object, it must also place the text modules into the log file.
    The function module COMMIT_TEXT generates for the text modules in the text object a CALL FUNCTION... IN UPDATE TASK statement in accordance with the action to be executed (delete, create, change).
    No COMMIT WORK is created. This must be executed by the application program.
    If you do not specify OBJECT, NAME, ID, and LANGUAGE, the system transfers all texts from the text memory. To limit the function to certain texts, enter values (fully or generically) in the above fields. The system then selects all texts that match the selections in the fields up to the first ' * '.
    By default, the system deletes texts from the text memory as soon as they are written to the log file. If you want to keep updated texts in the text memory, call the function module with the parameter KEEP = 'X'. The system then keeps the texts in the text memory and flags them as updated. When calling COMMIT_TEXT again, the system ignores these texts. If you change such a text again during the transaction (for example, using SAVE_TEXT or DELETE_TEXT), the system deletes the flag. However, you need another COMMIT_TEXT to update the text.
    <b>Reward if helpful.</b>

  • Calling program with custom screen in VA01

    Hi gurus,
    I have the client's urgent need to call some custom screens in VA01.
    So I've created a custom button in screen 4900, added a function code to it (ZB_P), called transaction VFBS to create the navigation in both T185F and T185 (added the form and program for the custom code).
    In the custom code I call a custom screed created and designed there.
    After pressing the button I get a short dump:
    Category               ABAP Programming Error
    Runtime Errors         DYNPRO_NOT_FOUND
    ABAP Program           SAPLV00F
    Application Component  CA-GTF-BS-SQ
    Date and Time          18.09.2014 16:10:52
    He is thinking that the "1001' screen developed in the custom program is in SAPLV00F, but it definitely isn't there.
    Is there something I'm doing wrong?
    Thank you in advance,
    Marius.

    Hi Juan,
    Here I have written the form and program name.
    And here is the 185F definition.

  • Calling transaction with different start screen

    Hello
    I have two transactions TRANSACTION 1 and TRANSACTION 2, made by myself.
    TRANSACTION 1 has screen 001 as initial. It also has another screens.
    I want to call TRANSACTION 1 from TRANSACTION 2 starting not with screen 001, but for example with screen 005. Is that possible?

    HI,
      As an alternative, you will have to do a partial BDC recording for the transaction and write the code to call the transaction in ERROR mode.
    Go to shdb transaction.
    Create a recording for the transaction.
    Enter the required data and when you reach the screen you want, just backout.
    This would create a recording.
    Using this recording, you have to create a BDC program which would call the transaction in Error mode.
    Regards,
    Ravi

  • Connect iPhone to iTunes with broken display screen

    My iPhone has a broken display screen and I can't connect with my iTunes because it says I have to log into my phone.  I can't log into my phone because it is not working.  I tried pressing the home button and then acting out the motions of entering my password, but nothing is happening.  I have my replacement phone and I'm trying to reset my broken phone, but I can''t do that until I log into iTunes.  If someone can advise me on what to do, it will be greatly appreciated.  Thank you.  By the way, I am doing this on a PC computer.

    Try putting the phone in DFU mode and then doing the restore. This article should help.
    ~Lyssa

  • Connecting my Macbook Air with 26" Cinama Screen to my Blackberry Curve

    Hi All
    Firstly thanks for all the help with previous questions, its really making my mac more enjoyable.
    I am hoping someone can help me with this little issue
    I would like to use my mac as a handsfree kit with my Blackberry Storm, i could then listen to Itunes and the phone would then interrupt the music so i can make or receive a call.
    Is this possible, I dont mind if an additional piece of hardware is required ?
    I have probably omitted most of the details you guys need so please do drop me a line if you need anything.
    Many Thanks
    Steve

    Julian
    Thanks, just given this a go.. (free demo)
    It seems (and to be fair the website advises it may) to have a delay on making and receiving calls, so far as anyone the other end puts the phone down so I haven't had a conversation yet. It also seems to have some strange side effects with my bluetooth mouse.
    I dont think I will be using this one as its not very solid, I suspect it would work well with one of the simpler Nokia phone or alike.
    Does anyone have any other ideas ?
    Thanks
    Steve

  • I am not able to connect my iPad 1 with TV using apple VGA adapter

    Hello,
    When I connect my iPad 1 with a wide screen TV using the apple VGA connector, there's no display on the TV.
    But when I do the same thing from iPad 2, the iPad screen is projected on TV.
    Please help

    Sounds like the one common thing is the adapter. The cheaper, non apple branded ones tend to fail.
    Try another adaptor before worrying about your ipad.

  • Background Report Program with Variants to be Overwritten

    I have an Following Scenario.
    I have an Report program with the Selection Screen displaying an Input Parameter of date type sy-datum.This particular program is scheduled as an Background Job.
    Now when i execute the program  in background  the existing variant date must be overwritten with any new values . So please provide an solution for this.
    Thanks
    K.Nadesh Kumar

    hi nadesh,
    enter date on your selection screen , then save variant.
    tick the selection variable check box i.e L.
    now click on pushbutton SELETION VARIABLE.
    Then select type D and select the criteria current date or whatver of your choice.
    if you are not clear then search for the thread "daily background job". I think you will get the answer from there.
    Regards
    Abhinesh

  • Calling program

    Dear Experts,
         I have a requirements explained below.
        I have writen a Z program with the selection screen,  i need to execute the standard program RIMHIO00 (grid report)from Z Program by passing values to the selection screen of standard program after execution is completed i need the final internal table(object_tab) values back in my Z program for further process..
       i tried with the submit export to memory statement but it is not working for grid report, Is there any other way to do the above requirements
    pls help me in this,
    thanks in advance
    karthik

    Hi,
    In the copy of the standard program,you will be getting final internal table values before displaying alv grid.Once the final internal table is arrived,just export the internal table.Just remove the coding related the grid display.Then from your original program,import the internal table.
    Check here for export and import command.
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/export01.htm
    Kindly reward points by clicking the star on the left of reply,if it helps.
    Message was edited by:
            Jayanthi Jayaraman

  • I connected an external monitor to my MacBook Pro, but it doesn't open any programs. It Just sits there with a blank screen.  How do I get it to open programs and act like a monitor?

    I connected an external monitor to my MacBook Pro, but it doesn't open any programs. It Just sits there with a blank screen.  How do I get it to open programs and act like a monitor?

    Dear Jean:
    It sounds like you are trying to get your external monitor to act as the primary viewing screen. For example it would have your Doc, Icons, Etc. In order to make the external monitor the primary screen you have to:
    Open System Preferences.
    Choose the Displays Icon
    There will be several tabs to choose from pick Arrangement
    Drag the toolbar to desired display
    Let me know if this helps at all!
    Lance

  • When my iPhone 4S (with ios7) experiences a failed call while connected to my Bluetooth hands free in my car(screen locked) the failed call appears on the locked screen, as it should, then when I unlock the phone it automatically redials the failed call,

    When my iPhone 4S (with ios7) experiences a failed call while connected to my Bluetooth hands free in my car(screen locked) the failed call appears on the locked screen, as it should, the problem arises whenever I unlock the phone, it automatically redials the last failed call, it doesn't do this with missed calls that are on the locked screen, if any. It is really annoying as sometimes the phone doesn't respond to attempts to end the call before it connects to the number. I then have to explain that it was my phone and not me, I look like an idiot, which I don't really need any extra help with!! Does anyone have any ideas? I don't want to stop missed call from showing in the locked screen but it might be associated with the failed calls and therefore be the only resolution

    I have had the same issue which was driving me mad but think I have just found a way around it. In iOS 7 if you swipe up on the lock screen to access quick settings and go into timer then click the home button you get into the phone without calling the person back. Not a great 'fix' but hope it works for you. Come on Apple this isn't good enough, fix this bug otherwise you will lose your customers.

Maybe you are looking for

  • Is it possible for Apple to unlock my iPhone?

    My iPhone apparently has a SimLock for Vodafone Germany. My two years of contracet with Vodafone Germany (required minimum time to be able to get it unlocked from Vodafone) are over. Now my problem is as I had my iPhone swaped at the AppleStore so Vo

  • Set custom default window size for opening Preview?

    I'm using a terminal-based text editor, and when I compile LaTeX files, I have a script to open the compiled pdf in Preview. The trouble is that Preview opens in the same default dimensions every time, which covers up other applications I have open.

  • Generic USB hub missing which causes Moble broadband, bluetooth, camera... not working

    I've found myself in a bit of a problem. My W510 no longer have any devices for the fingerprint reader, bluetooth, mobile broadband, integrated camera (and possibly some more). When comparing the devices in "Device Manager" to another W510, I notice

  • Error marshalling user defined class

    I have a class MyClass implements Serializable. All it contains is int a = 1. But when I make my server call and pass new MyClass(), I get: (MARSHAL) No type found at indirection 2: probably stream corruption" org.omg.CORBA.MARSHAL: vmcid: SUN minor

  • New Section Open in Google Play!

    The People Section the one's you Follow is now up N running in Google Play if your Running Version 4.16.17 you should see it when you slide your Navigation menu.. the Option sits right under My Wishlist and above Redeem, I've checked it out kind of N