Variant transaction ZMM42 for one view: Logistics: Distribution Center

Hi All!
I have to create for tCode MM42 a variant (ZMM42) and authorize some users only for ZMM42 (in order to modify only Storage data).
I read about the solution of Ralf Nellesen in thread How create a custom profile on SU02, with only one view? .
But I can't create an entry for my transaction in OMT3E in order that the new screen sequence will be called for transaction ZMM42. I can't create this entry because I don't know how to create a new Transaction screen reference (table T130M). If I use tCode SM30 for table VCM_T130M I can only modify the entries and I can't add a new entry for:
ZMM42     Change Material &    04
(04 is a new transaction screen reference)
Can anybody help me? I'm getting stuck...
Regards.
Florina

Hi,
To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
To fill one, use:
SET PARAMETER ID <pid> FIELD <f>.
This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
To read an SPA/GPA parameter, use:
GET PARAMETER ID <pid> FIELD <f>.
Regards,
Ram

Similar Messages

  • How to create transaction code for maintenance view

    hai friends,
    i hope every thing goes good.
    i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
    i tried and i donot know the screen number and program name and where can i give the view name.
    if any one know please post in details.
    thanks in advance.

    Hi Elam,
    You need to create a "Parameter Transaction".
    What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
    Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
    Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
    Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
    Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
    Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
    Now save the transaction and there you have it.
    Hope this helps.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

  • I want to add transaction code for one user.

    Hi abapers,
    My requirement is;
    I want to add transaction code for one user.
    EX: zsdf to kanne.
    Can any body tell me the procedure step by step.
    With regards,

    If you want to give authorisation to an user for a particular tcode, you need to first include the transaction code in an authorisation Role and then assign the authorisation role to the user id in the transaction code SUIM.
    A Basis guy will be able to help you to do this and anyway this is not the job of an ABAPer.
    Hope this helps you.
    Reward if this helps you

  • To Find transaction code for maintenance view J_1BT001WV

    Hi Gurus,
    I have to find transaction code for maintenance view J_1BT001WV. Plz tell me how can i do it.
    regards
    Rajesh

    Hello Rajesh
    There are no specific transactions defined for this view (except for SM30 ).
    The IMG activities where the view is used are (check OBJSUB ):
    SIMG_ORFB_J_1BT001WV (Assign business place)
    J_1BASSBRANCH (Assign CGC branch to plant)
    In order to find the view in the IMG call transaction SM30, enter the view and push button Customizing.
    The following activites are found on ERP 6.0:
    South Korea: Basic Settings for Value-Added Tax     Assign Business Place
    Business Place (Generic)                                        Assign Business Places to Plants
    Official Document Numbering (Indonesia)                 Assign Business Places to Plants
    Nota Fiscal                             Assign Business Places to Plants
    Official Document Numbering (Thailand)                    Assign Business Places to Plants
    Regards
      Uwe

  • Delete Transactional data for one (1) Cost element

    Hi All.
    How to Delete Transactional data for one (1) Cost element?
    i know T code OKC3 but it is saying I can delete only at controlling area level,
    I want to delete only data (Transactional) for one cost element .
    Please let me know, Thank you ,
    Paartha,

    it is not possible to delete the data, if u want u can repost from one cost element to the another cost element if u are feeling the entry was posted to wrong cost element.
    Otherwise if u want restrict the transactions further to that cost element, u can restrict through cost elmenet master where in u can select the direct postings and secondary postings etc.,
    regards
    madhav

  • Transaction code for maintenance view

    Hi all
          I created a maintenance view and I also generated the table maintenance dailog for the view.Now I am changing the values using the transaction code SM30.But I have to create a transaction code for this maintenance view to access it and update the table instead of using sm30 for this purpose.Please help me.
    Thank You.
    Regards
    Giri.

    Hi
    create transaction using 'se93'
    select parameter transaction and give below attributes
    Transaction code ZTX1
    Transaction text Maintain View ZSDCZTVIEW
    Transaction SM30 Screen 0
    From module pool
    Name of screen field Value
    VIEWNAME = ZSDCZTVIEW
    UPDATE = X
    Thanks

  • Transaction PFAL for ALE HR data distribution

    Hi Experts,
    We're facing a problem using transaction PFAL for HR distribution to our RPM system. We have our HR data defined in the ECC system but yet, when we run the transaction we get the message No data selected for distribution
    Any idea on which customizing may be missing?
    Thanks!
    Neil

    Hi Neil Billqvist,
    First you must be sure you used the right options in PFAL before going over to missing customizations. Maybe no data was found because wrong options were informed. I don't know what you are integrating with HR, but there is a useful building block about HR ALE distribution. Maybe there you'll find what's missing.
    [SAP Best Practices D59 - HR Integration to Project Resource Planning|http://help.sap.com/bestpractices/BBLibrary/documentation/D59_BB_InstallGuide_EN_UK.doc]
    Also check...
    [ALE QuickStart for Distributed HR|help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEHR/CABFAALEHR_ALE_QS.pdf]
    [Distributing HR Master Data and Org. Structure to CRM via ALE|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30139fb0-360c-2a10-1e9f-9d5417754983]
    Regards,

  • Multiple (mail) destinations for one report using distribution list

    I would like to email a report to multiple destinations using a distribution list.
    Environment:
    Oracle reports: 10.1.2.3
    OS: Windows 7
    Database:Oracle 11g(11.2.0.2)
    This is the content of the distribution file:
    <destinations>
      <foreach>
        <mail id="a1" from="[email protected]" to="&amp;&lt;mail_to&gt;" subject="Invoice">
          <body srcType="text" format="ascii">Invoice attached
          </body>
          <attach srcType="report" name="invoice.pdf" format="pdf" instance="this">
             <include src="report"/>
          </attach>
        </mail>
        <mail id="a2" from="[email protected]" to="[email protected]" subject="Invoice sent to &amp;&lt;mail_to&gt; ">
          <body srcType="text" format="ascii">Attached invoice was sent to the customer
          </body>
          <attach srcType="report" name="invoice.pdf" format="pdf" instance="this">
             <include src="report"/>
          </attach>
        </mail>
      </foreach>
    </destinations>
    When I run this using the following URL:
    http://testserver.our_servers.local:7778/reports/rwservlet?server=rep_dev&report=VKR0030.rdf&userid=myuser/test123@ORCL&distribute=yes&destination=VKR0030.xml&onfailure=rollback&onsuccess=commit
    I get the following error: REP-34304: Distribution failed to complete, please review the distribution lists
    When I remove one mail element, it works fine.
    One mail tag with multiple email addresses in the "to" parameter isn't possible because I have to use 2 different mail templates(subject and body differ).
    According to the documentation(https://docs.oracle.com/html/B14048_02/pbr_dist.htm#i1005830), it should be possible to use multiple mail elements.
    Required/Optional
    Optional. You can have as many mail elements as you require.
    What am I doing wrong?

    Found the solution.
    When putting each mail element in a foreach, it works.

  • Delete G/L Accounts for one company code when transaction data exists

    SAP transaction OBR1 can be used to reset transaction data.
    If you execute this transaction for a specific company code, the FI transaction data of that company is deleted. Because of the procedure to keep FI and CO in line, also the CO data has te be deleted.
    But you can not reset CO transaction data for one company code. You have to reset CO transaction data for a whole controlling area.
    If you can not delete the FI and CO transaction data for a specific G/L account in one company code, you can not delete that G/L account.
    There exists another solution for the deletion of FI and CO transaction data for one company code, and thus for the deletion of G/L accounts?
    Thank you very much for your feedback.
    Edited by: E. Deleu on Mar 3, 2008 3:42 PM

    Helllo,
    I believe the account group information is what you get when loading hierarchies. Please look into the hierarchy extractor 0GL_ACCOUNT_T011_HIER.
    Regards,
    Christoffer

  • What r the trns code for maintenance view, help view and projection view

    hi all
    what r the transaction code for maintenance view, help view and projection view
    can anyone tell me how to create maitenance, help and projection view.
    with an example
    regs
    hari

    <b>What is the Different Types and Usage of Views
    The followings are different types of views:</b>
    - <b>Database View   (SE11)</b>
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. 
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - <b>Help View    ( SE54)</b>
    Help views are used to output additional information when the online help system is called. 
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view. 
    -<b> Projection View  (SE11)</b>
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    <b>- Maintenance View   ( SE54 )</b>
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    reward   points if it is usefull...
    Girish

  • Demand Plan Using Distribution Center

    Dears,
    There's A demand  Created in SCM DP for Location Type 1002 Distribution Center
    How i can see this demand by  /SAPAPO/SNP94  in Distribution Demand (Planned)  Key Figure ?
    Also i found after i run Network Heuristic 1 SNP Stock Transfer Created
    Where i can see this order as Receipt Element ?
    Regards
    Rami

    Dear Amol,
    Really Appriciate your effort
    But actully I need from you more illustration Because i 'm working with IDes Server not Connected to SCM APO Server :
    -  What's the Distribution Center Equal in SAP ECC
    -  How i maintain Demand in ECC for Distribution Center
    -    in SCM if stock is available in this case only you will have SNP stock Transfere order ?
    Regards

  • There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report

    When run as a batch program, (currently this is the case), or withT-Code ZJPVCS303 the selection screen is unchanged (except for additional sales area above)
    - When run as T-Code ZJPVCS303_UL (UL stands for Upload) the selection screen is changed.  The unix file option is no longer available, and the user is able to upload a local file (in the same format as the current unix file, but tab delimited) to the program for processing.
    Requirements:
    There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report.
    ->When ZJPVCS303 Transaction is executed, the file is uploaded from the Application
      server to SAP R/3. The selection screen parameters would be:
      Logical Filename:
      Sales Organization:
      Distribution Channel:
      Division:
    ->When ZJPVCS303_US Transaction is executed, the file is uploaded from the Presentation Server
      to SAP R/3. When this transaction is executed, it should not have the 'Logical
      Filename' parameter anymore on the selection-screen. Instead it should only have
      Local File name on the presentation server:
      Sales Organization:
      Distribution Channel:
      Division:
        The same thing is applicable for the other transaction ZJPVCS303. When transaction ZJPVCS303
    is executed, it should not have the 'Local Filename' parameter anymore on the selection-screen. Instead it should only have
    Logical Filename:
    Sales Organization:
    Distribution Channel:
    Division:
    So how should I make these parameters invisible depending on the transaction codes execution.
    I have an idea of using MODIF ID, LOOPING AT SCREEN...MODIFY SCREEN.
    I have an idea of using SY-TCODE.
    EX:
    AT SELECTION-SCREEN OUTPUT.
    IF SY-TCODE = 'ZJPVCS303'.
    LOOP AT SCREEN.
    IF SCREEN-GROUPID = 'GRP'.
       SCREEN-INPUT   = 0.
       SCREEN-INVISIBLE = 1.
       MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ELSEIF SY-TCODE = 'ZJPVCS303_US'.
    LOOP AT SCREEN.
    IF .....
    ENDLOOP.
    ENDIF.
    ENDIF.
    But I am not able to get the output which I require. Please help me out.

    Hello Rani
    Basically the transaction determines whether upload starts from application server (AS) or presentation server (PC). Thus, you will have the following parameter:
    PARAMETERS:
      p_as_fil          TYPE filename   MODIF ID unx,  " e.g. Unix server
      p_pc_fil          TYPE filename   MODIF ID wnd.  " e.g. Windows PC
    AT SELECTION-SCREEN OUTPUT.
      CASE syst-tcode.
    *   transaction(s) for upload from server (AS)
        WHEN 'ZJPVCS303.
          LOOP AT screen.
            IF ( screen-group1 = 'UNX' ).
              screen-input = 0.
              screen-invisible = 1.
              MODIFY screen.
            ENDIF.
          ENDLOOP.
    *   transaction(s) for upload from local PC (PC)
        WHEN 'ZJPVCS303_US.
          LOOP AT screen.
            IF ( screen-group1 = 'WND' ).
              screen-input = 0.
              screen-invisible = 1.
              MODIFY screen.
            ENDIF.
          ENDLOOP.
       WHEN others.
       ENDCASE.
    Regards
      Uwe

  • How to create variant for table/view ?

    Hi,
    When I go through SM30, I find a radio button called variant. I don't know the effect.
    Can anyone tell me how to create variant for table / view ?
    I want to know when we need to create variant for table/view.
    Best regards,
    Chris Gu

    hi ,
    Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
    For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
    If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
    Procedure
    To create a new variant:
           1.      On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
           2.      On the variant maintenance initial screen, enter the name of the variant to be created.
    Note the naming convention for variants (see below).
           3.      Choose Create.
    If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
           4.      If there is more than one selection screen, select the screens for which you want to create the variant
    5.      Choose Continue.
    The (first) selection screen for the report appears.
    If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
           6.      Enter the desired selection values, including multiple selection and dynamic selection.
           7.      Choose Continue.

  • Creating a transaction code for variant type in se93

    hai all,
    i created transaction's for dialogue type and report type,now i am trying to create transaction for variant type. in that what we have to provide in transaction text box where the f4 functionality is provided for that text box.
    could any one plz help me out.
    Thanks in Advance.

    Hi,
    U need to create transaction variant in SHD0 transaction before creation transaction by variant.
    Go thru the following link carefully.
    Certainly it will be helpful to you.
    http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm
    Regards
    Vadi

  • Creating Transaction code for selection screen of one ztable

    Hi ,
        i have one Ztable in order see the data in it , he wants one new transaction . by executing tht transaction he wants to view the data inside the table.
    i have created one transaction code by taking the transaction type as report transaction and program name i gave the selection screen program of tht table.
    when i executed tht t code  selection screen of table contents should come and on executing it i have to get  data.
    but im not getting data on executing tht selection screen .
    why? for this scenario which tcode type i have to select.

    Hi Pavan,
    Check this,
    Step 1
    Create parameter transaction (i.e. via SE93)
    Select the fourth options
    Step 2
    Enter transaction details. Within the Proposed values section there are a number of value which
    can be setup, simply use drop down menu to view the list. The 2 values assigned in the following
    example are as follows:
                   VIEWNAME:        Set table name to maintained
                   UPDATE:               Open table for update
    Mohinder

Maybe you are looking for