User_command - Link ALV o/p with ME33K

Good day Friends,
I have to link my ALV o/p with ME23N OR ME53N OR ME33K according to user Selection ( Purchase Order, Purchase Requistion or Outline agreement)
For ME23N & ME53N it's working successfully.
For ME33K - It's linking with the o/p but not acception the i/p value.
(Ex. I am clicking on ouline agreement value 25000013 or any other value, but it always shows the ME33K screen of outline agreement no. 25000025)
Giving you the code for Reference ---
In debugging for rs_selfield-value is giving the value as selected value (required value).
I am unable to get where it get changed.
FORM user_command USING r_ucomm LIKE sy-ucomm
                        rs_selfield TYPE slis_selfield.
  READ TABLE it_final INDEX rs_selfield-tabindex.
  CASE r_ucomm.
    WHEN '&IC1'.   " Hotspot
      IF rs_selfield-fieldname EQ 'BANFN' AND
         rs_selfield-value EQ it_final-banfn.
        IF rs_selfield-value IS NOT INITIAL.
          SET PARAMETER ID : 'BAN' FIELD rs_selfield-value.
          CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.
        ENDIF.
      ELSEIF rs_selfield-fieldname EQ 'KONNR' AND
         rs_selfield-value EQ it_final-konnr.
        IF rs_selfield-value IS NOT INITIAL.                          
          SET PARAMETER ID : 'VRT' FIELD rs_selfield-value.   " Here Value is Correct in debugging
          CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.
        ENDIF.
      ELSEIF rs_selfield-fieldname EQ 'EBELN' AND
         rs_selfield-value EQ it_final-ebeln.
        IF rs_selfield-value IS NOT INITIAL.
          SET PARAMETER ID : 'BES' FIELD rs_selfield-value.
          CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
    WHEN OTHERS.
  ENDCASE.
  CLEAR: it_final.
ENDFORM.                    "USER_COMMAND

Hi,
Based on the Requirement you need to use the one of the Following 3  Parameter IDs
      " Check the parameter ids  CTR  SAG VRT
In Your Code
ELSEIF rs_selfield-fieldname EQ 'KONNR' AND
         rs_selfield-value EQ it_final-konnr.
        IF rs_selfield-value IS NOT INITIAL.                          
          SET PARAMETER ID : 'VRT' FIELD rs_selfield-value.   " Here Use CTR and SAG as Parameter IDs and check
"SET PARAMETER ID : 'CTR' FIELD rs_selfield-value.
"SET PARAMETER ID : 'SAG' FIELD rs_selfield-value.
          CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.
        ENDIF.
Cheerz
Ram

Similar Messages

  • How can i link my E-mail with my iPad in a way that i can delete my messages from my email inbox server not from my iPad inbox only?

    How can i link my E-mail with my iPad in a way that i can delete my messages from my email inbox server also not from my iPad inbox only?
    Because when i delete emails from my iPad inbox, it will be deleted on my iPad only but when i check my email inbox server from the browser its not deleted!
    So how can i set up this link so when i delete any email from my iPad it will be deleted from my email inbox server also?

    Hi Pierrot10,
    Insert your backup disc (or plug your external hd), then open Mail.
    In the File menu, click *Import Mailboxes* and follow the steps for a *Mail for Mac OS X* transfer.
    Navigate to your CD/DVD's or external HD's backup and hit "OK".
    This should create a new "Imported" folder in Mail with all your old messages in it, that you can then rearrange as you wish, creating new mailboxes etc.
    Axel

  • How to download alv grid output(with field catalog) into excel file format

    Hi all,
    How to download alv grid output(with field catalogs) into excel file format and same file has to download to application server.
    Please help.
    Regards,
    Satya.

    Hi,
    On list where alv is displayed, select export icon( green color -> ),select spread sheet.
    This will display records in Excel sheet.

  • Linking between Activity network with Billing Document

    Hi Gurus,
        I have a requirement that I need to link between Activity, network with Billing Document number. By standard we can link only WBS-Element and Billing Document Number. How can I link between Activity, Network with Billing Doc. I want to develope a report for this.
    Kindly help me regarding this. I need some clue regarding this.
    Thanks,
    Ravi

    revenue can only be posed to WBS
    networks are meant for cost capture and scheduling
    so as per std sap what you want is not possible

  • ALV Standard Layout with problem for excel download

    Hi, i have a alv grid report with this problem:
    I execute the report and see all data ok.
    chose the download option to spreadsheet.
    *When open the spreadshet only see headers and no data.
    The report have a standard Layout with 4 of 12 column selected, if i execute this report and add a new column for the pool the download works fine, if i save this new layout as default and execute the report again the download don't work fine.
    ¿Some idea? Thxs

    Just a wild guess. In your system, check the MS excel security settings. Excel->File->options->Trust center settings. We had some similar issues with excel columns visibility when you click on the ALV spreadsheet button or download which was corrected by changing the trust center settings. I don't exctly remember which settings affect this. You may have to compare the settings with another system (If it works fine in some other system which was the case in our issue). Pls ignore if not relevant.
    Regards,
    Gokul

  • Is it possible to link an Audigy2 card with external haedphone & mic connections on my ca

    Is it possible to link an Audigy2 card with external haedphone & mic connections on my case as buying an external dri've bay is a bit expensi've, but i really want to make the most of my card. I currently use a usb headset and the sound is a bit naff as i have no control over bass & treble. The only advantage of this is convinience.

    longi wrote:
    . Is it possible to link an Audigy2 card with external haedphone & mic connections on my case as buying an external dri've bay is a bit expensi've, but i really want to make the most of my card. I currently use a usb headset and the sound is a bit naff as 2. i have no control over bass & treble. The only advantage of this is convinience.
    . There is no analog I/O pins available on Audigy 2. Only way to get it working the way you want is to split those I/Os found from back of the card. Here is a project running solving this matter, so you may want to follow it's progress.
    There are also couple threads talking 'bout this matter of yours.
    2. You can control treble and bass from software you're using or if you play games (only) then from
    - Creative Surround Mixer
    - CTPanel (can be found on driver installations)
    - Control Panel: Sounds And Multimedia properties: Audio tab --> Play Control : Volume slider: Advenced
    All these above affects sound Globally.
    .jtpMessage Edited by jutapa on 09-7-2005 09:57 PM

  • Trying to change reset my Apple ID as I can't remember it, however it is sending an email which says invalid link or a list with the option to change password which can't be clicked on? Can anybody please help?

    Trying to change reset my Apple ID as I can't remember it, however it is sending an email which says invalid link or a list with the option to change password which can't be clicked on? Can anybody please help? Going around in circles! Grrrrrrrrrrr

    Is this your machine or the company's?  Machines that came with Snow Leopard or earlier installed come with system and software install disks that can be used to reisntall the iApps that came with the machine orignally. 
    If this is your machine and it came with Snow Leopard or earlier installed the disk will look slimialr to one of these:
    If it is the company's machine see if they have the disks.
    Do a custom install and then use Software Update to update iPhoto to the highest version that is available.

  • Linking Consignment Settlement (MRKO) with Value Contract

    Hi Guys,
    We are trying to set up Consignment stock functionality in our company. We have successfully configured and tested it but there is only one problem, we want to link this consignment functionality with and Outline agreement (Value Contract to be exact), so that every time we do a settlement using MRKO, the invoice value is deducted from the total value of the contract. My first question is
    1 - Can we link consignment settlement (MRKO) and Value Contract in such a way that each time we run consignment settlement using MRKO , the open/ remaining value of the Value Contract is decreased by the invoice amount. If YES, then how can we do it (Please mention the steps if possible)
    2- If NO, then what is the way to achieve above task, is their workaround for it ??

    Normally we do not get into consignment arrangements with supplier with value limites or qty limites. It defeats the purpose of consignment, where idea is to reduce inventory carrying cost and yet have full availability of stock.
    Also, you will provide a dedicated space in your premises to your Supplier and hence to limit him with total value of your consumption is difficult to achieve. Even if you make some enhancement in system to achieve it, on shop floor how can you control it, if you have inventory open for use? If you have negotiated with consignment vendor based on value, I am sure Vendor will not replenish any inventory once he thinks that overall value limit is breached and hence suddenly one day, without any indicators to you, you will run out of those components which you do not have in your inventory, nor in your consignment inventory.
    You can implement any exit, which may stop you post the transaction in system, but I believe if you are entering into such contracts with your supplier, you may need to have some sort of notification once you are close approaching the overall limit, to either re-negotiate the contract or to have those components ordered for your inventory directly to ensure availability of stock.
    Regards,
    Dakshesh

  • Link to interactive report with filters

    I want to put a link to a page with an interactive report. But the link should setup a filter for the interactive report.
    For example, if I'm looking at a client, I want a link that sends me to the activity reports, but filtered to show only that client already.
    Is there a way to do that?
    Thanks
    Edited by: user1415525 on Sep 21, 2009 7:34 AM

    Hello,
    Set a parameter IR_<COLUMN_NAME_IN_IR> to #<COLUMN_NAME_IN_LINK>#
    Example : Set IR_ORDER_ID to #ORDER_ID#
    or for you
    Set IR_CUSTOMER_ID to #CUSTOMER_ID#
    (Of course you have to change the column names)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • How to link ship-to-party with sales area

    Hi,
       Suppose sold-to-party is defined with sales area/ sales org./dist. channel/division.
        It is possible to link ship-to-party with sales area/sales org./dist. channel/division.
    dinesh

    Hi
    U can link the ship to party to the sales area in which the sold to party was defined
    Use the tcode XD01  and create the customer with the account group 0002(according to the standards) and assign the ship to party in the  master data of the sold to party ,
    then u will find the ship to party partner function created in the same sales area created in the sold to party sales area in the partner functions of the sold to party
    settings:
    Transaction code:  XD01
    Account group: 0002
    sales orgranisation/distribtiobn channel/ division
    hope this is useful

  • HT201342 Trouble linking iCloud E-Mial with my PC E-Mail app

    Having trouble linking iCloud E-Mial with my PC E-Mail app.  When I created the new iCloud user name I couldn't use my current Apple ID (@comcast.net) it required me to use a @iCloud.com address. I was never asked for a password for this new account but it did say this was created under my original Apple ID somehow.  I got all of the server settings off of the support site and used the password for my original Apple ID but it doesn't work.  Any ideas on where to go from here?
    Thanks.

    After a series of tests with the Thunderbird users, we've established the problem was not:
    Mail/Thunderbird incompatibility
    related to Mail's stationery
    related to styled text
    only because of attachments
    only because of PDF attachments
    Both users had the trouble after I forwarded PDFs to them from two different outside suppliers. So far, my theory is that there was something about those particular files. After five run-throughs where the co-workers had no problems with e-mail from me, I now want to replicate the problem, but (understandably) they're not eager to lose their work time to do it. I'll post more as I learn more.
    Thanks, BDAqua for the ideas about blank lines around the attachment.
    Rob

  • Alv cell color with FM

    hi ,
    can one send me program for alv cell color with help of function modules
    kiran

    Hi Kiran .
    <b>1.Cell Color.</b>
    While Building Fieldcatalog ,there is one field called
    EMPHASIZE.You have to set like this .
    i_field-emphasize = 'C26'.
    <b>2.ROW COLOR.</b>
    Have a look at this example .
    <b>a</b>.Define one variable COLOR in ur main ITAB.
    <b>b</b>.Fill it .
    <b>c</b>.Pass this info.
      w_layout-info_fieldname = 'COLOR'.
    <b>d</b>. display it .
    *& Report  ZGRID_COLOR                                                 *
    REPORT  zgrid_color                             .
    TYPE-POOLS slis.
    DATA: BEGIN OF i_pa0001 OCCURS 0,
    <b>        color(3) TYPE c,</b>
            pernr TYPE pa0001-pernr,
            subty TYPE pa0001-subty,
          END OF i_pa0001.
    DATA :i_field TYPE slis_t_fieldcat_alv,
          w_field LIKE LINE OF i_field,
          w_layout TYPE slis_layout_alv.
    START-OF-SELECTION .
      PERFORM get_data.
      PERFORM fieldcat.
      PERFORM layout_build.
      PERFORM dispaly .
    *&      Form  fieldcat
    FORM fieldcat .
      CLEAR :w_field,i_field[].
      w_field-fieldname = 'PERNR'.
      w_field-tabname   = 'I_PA0001'.
      w_field-seltext_m = 'PERNR'.
      APPEND w_field TO i_field.
      CLEAR w_field.
      w_field-fieldname = 'SUBTY'.
      w_field-tabname   = 'I_PA0001'.
      w_field-seltext_m = 'SUBTY'.
      APPEND w_field TO i_field.
      CLEAR w_field.
    ENDFORM.                    " fieldcat
    *&      Form  dispaly
    FORM dispaly .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       i_callback_program                = 'ZGRID_COLOR'
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
    <b>   is_layout                         = w_layout</b>
       it_fieldcat                       = i_field
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = i_pa0001
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " dispaly
    *&      Form  get_data
    FORM get_data .
      SELECT pernr subty
      FROM pa0001
      INTO CORRESPONDING FIELDS OF TABLE i_pa0001
      UP TO 10 ROWS.
    LOOP AT i_pa0001.
        IF sy-tabix GT 5.
      <b>    i_pa0001-color = 'C51'.</b>
          MODIFY i_pa0001 INDEX sy-tabix.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " get_data
    *&      Form  layout_build
    FORM layout_build .
    <b>  w_layout-info_fieldname = 'COLOR'.</b>
    ENDFORM.                    " layout_build
    I hope it helps u .
    <b>Thanks,
    Venkat.O</b>

  • Problems with linking my Behance account with my Adobe ID

    Hello, I joined Creative Cloud a few days ago and since then I cannot log on my Behance account, no matter what I do! Also contacted support, but they have no clue. They send me here, so I hope you guys could relate to my problem and help me solve it. The story is at it follows: I had a Behance account before buying CC, but under other e-mail address. Now I am trying to link the new one with my Behance (so I can use ProSite) and it's not possible. What's to be done in this case, when if I log with the new e-mail it says I am already linked and when I try with the old Behance one it says it doesn't exist anymore

    Hi - we can definitely help! To have a private convo where we can give you your accont info, please write us a ticket here and someone will get back to you ASAP:
    Behance Support & Forum : Submit a request for assistance

  • Linking of SRM OBN with Custom SRM POWL WDA application

    Hi All,
    We have our Producer portal with version 7.0 sp14 and Consumer with version 7.4 sp05.
    We have "Check Status" a SRM Standard POWL application integrated in portal and all the Navigation OBNs are working fine with it.
    our ABAP team developed a custom POWL application only for Buyers to show the shopping carts.
    We have successfully integrated the POWL application in SRM portal.
    we have added the iView to Role and added the navigation folder with all BO objects for OBN.
    however when we assign the role to user, we are getting Portal Runtime Error.
    Please help us on how to link OBN Business Objects with Custom POWL application.
    Thanks in advance.
    Regards,
    Vijay.

    Hi Vijay,
    Your portal versions are not compatible. Please check note 1295662 - 'Interoperability between 2 portals in FPN environment' where you will see that in order to setup a federation between a 7.4 portal and 7.00, the 7.00 system must be on at least SP25.
    Thanks and regards,
    Lorraine

  • How to link the Business Partner with the SAP User ID.

    Hi,
    We are working on a scenario wherein the resources are created as Business Partners in R/3.
    now How to link the Business Partner with the SAP User ID.

    HI AP,
    Maintain the business partner in role Internet User - BUP005.
    Now assign the existing user to this BP .(you can make this assignment in tab "internet user'. Just enter the user name in the field User and save).
    You can now see the link in table HRP1001.
    Cheers,
    Rishu.

Maybe you are looking for

  • Connecting x box and tivo wireless

    I have a Linksys WRT54 G router with a Tivo wireless connected to it. I want to set up a x box 360 with a x box 360 wireless network adapter to the Linksys, without messing up the Tivo. I have no computer skills, I'm lucky to get my email, so please

  • Problem inserting one-to-many collection

    Hi, I've been trying to get an object (CMDMessage) that has a one-to-many collection (CMDMessageXREF) inserted into the database, but no matter what I try I can't seem to get the collection to grab the foreign key value of 'msg_id' to populate that f

  • Making a JSR168 Portlet not display due to auths

    Hi, We have a portlet that we'd like to not display based on some authorization business rules. These rules are not based on portal groups (otherwise we could just set the portlet's access through the Builder UI), we need to do this check in java cod

  • My iPad 1 Garageband does not appear in iCloud.

    Any help on this?

  • Monitor audio tracks not currently being captured?

    While logging and/or capturing, I would like to be able to hear what's going on in an audio track I have not currently selected for log or capture. This way, I can keep an eye -or rather ear- on whether the sound man added a second mic between takes