LT04 - User exit to add storage type and storage bin

Hi!
I am looking for a user exit to populate the destination storage type and storage bin (Fields-LTAP-nltyp and LTAP-NLPLA). The user uses tcode LT04 to createt transfer orders from transfer requirements.
The program name is SAPML03T.
Please let me know if anyone has any clue.
Thanks in advance,
Manasa
Message was edited by:
        manasa

I don't the exact User-Exit...And there are like 104 of them...So why don't you use this report (Not mine) and find out yourself -:)
REPORT zdummy_atg_2.
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA WA_TADIR TYPE TADIR.
START-OF-SELECTION.
  IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
  ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
  ENDIF.
  IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
      SELECT SINGLE * FROM TRDIR
      WHERE NAME = TSTC-PGMNA.
      IF TRDIR-SUBC EQ 'F'.
        SELECT SINGLE * FROM TFDIR
        WHERE PNAME = TSTC-PGMNA.
        SELECT SINGLE * FROM ENLFDIR
        WHERE FUNCNAME = TFDIR-FUNCNAME.
        SELECT SINGLE * FROM TADIR
        WHERE PGMID = 'R3TR'
        AND OBJECT = 'FUGR'
        AND OBJ_NAME EQ ENLFDIR-AREA.
        MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
      ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT IN ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
      WRITE:/(105) SY-ULINE.
      FORMAT COLOR COL_HEADING INTENSIFIED ON.
* Sorting the internal Table
      SORT JTAB BY OBJECT.
      DATA : WF_TXT(60) TYPE C,
      WF_SMOD TYPE I ,
      WF_BADI TYPE I ,
      WF_OBJECT2(30) TYPE C.
      CLEAR : WF_SMOD, WF_BADI , WF_OBJECT2.
* Get the total SMOD.
      LOOP AT JTAB INTO WA_TADIR.
        AT FIRST.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 SY-VLINE,
          2 'Enhancement/ Business Add-in',
          41 SY-VLINE ,
          42 'Description',
          105 SY-VLINE.
          WRITE:/(105) SY-ULINE.
        ENDAT.
        CLEAR WF_TXT.
        AT NEW OBJECT.
          IF WA_TADIR-OBJECT = 'SMOD'.
            WF_OBJECT2 = 'Enhancement' .
          ELSEIF WA_TADIR-OBJECT = 'SXSD'.
            WF_OBJECT2 = ' Business Add-in'.
          ENDIF.
          FORMAT COLOR COL_GROUP INTENSIFIED ON.
          WRITE:/1 SY-VLINE,
          2 WF_OBJECT2,
          105 SY-VLINE.
        ENDAT.
        CASE WA_TADIR-OBJECT.
          WHEN 'SMOD'.
            WF_SMOD = WF_SMOD + 1.
            SELECT SINGLE MODTEXT INTO WF_TXT
            FROM MODSAPT
            WHERE SPRSL = SY-LANGU
            AND NAME = WA_TADIR-OBJ_NAME.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WHEN 'SXSD'.
* For BADis
            WF_BADI = WF_BADI + 1 .
            SELECT SINGLE TEXT INTO WF_TXT
            FROM SXS_ATTRT
            WHERE SPRSL = SY-LANGU
            AND EXIT_NAME = WA_TADIR-OBJ_NAME.
            FORMAT COLOR COL_NORMAL INTENSIFIED ON.
        ENDCASE.
        WRITE:/1 SY-VLINE,
        2 WA_TADIR-OBJ_NAME HOTSPOT ON,
        41 SY-VLINE ,
        42 WF_TXT,
        105 SY-VLINE.
        AT END OF OBJECT.
          WRITE : /(105) SY-ULINE.
        ENDAT.
      ENDLOOP.
      WRITE:/(105) SY-ULINE.
      SKIP.
      FORMAT COLOR COL_TOTAL INTENSIFIED ON.
      WRITE:/ 'No.of Exits:' , WF_SMOD.
      WRITE:/ 'No.of BADis:' , WF_BADI.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
  ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
  ENDIF.
AT LINE-SELECTION.
  DATA : WF_OBJECT TYPE TADIR-OBJECT.
  CLEAR WF_OBJECT.
  GET CURSOR FIELD FIELD1.
  CHECK FIELD1(8) EQ 'WA_TADIR'.
  READ TABLE JTAB WITH KEY OBJ_NAME = SY-LISEL+1(20).
  MOVE JTAB-OBJECT TO WF_OBJECT.
  CASE WF_OBJECT.
    WHEN 'SMOD'.
      SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    WHEN 'SXSD'.
      SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
      CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
  ENDCASE.
Greetings,
Blag.

Similar Messages

  • Storage Type and storage bin in MB26 pick list

    Hi,
    We want to print a pick list using MB26. The pick list should contain the warehouse number , storage type and storage bin. I have found that in the layout of MB26 pick list, we can pull these fields. However, the values of these fields are not getting pulled in the list.
    Can you please help me to understand if I need to do some setting/config so that warehouse number, storage type and storage bin can be pulled in the MB26 report.
    Thanks,
    Shekhar

    if it is a standard output if you go to the output type you can see what are the standard fields included in the pick list but if it is a custom one please contact your functional consultant who designed or look at the spec to see the design/mapping of fields.
    Please let me know if thhis helps.

  • How to distribute HU items in to diffrent storage types and diffrent BINS

    Hi
    I have one handling unit and I have done empty all 4 items in it  HU02
    As a result one material document created
    But How can I distribute all items in to diffrent storage types and diffrent BINS
    No TR and Posting change created at material doc
    What is the config settings to cretae TR ot Posting change notice and Movement types
    Kindly Help

    yes LT10

  • LT06 enhancement - How to update Storage type and Storage section

    Hi,
    My requirement is to update Storage bin, Storage type and Storage section, while creating Transfer order from through LT06. So I used the enhancement MWMTO003 to update Storage Bin in LT06 and it is also working.
    Similarly I need to update Storage type and Storage section using userexit or BADI.
    Is there any way to update Storage type and storage section in LT06?

    Check enhancement MWMTO007.
    regards

  • CO27 is showing blank values in Warehouse,Storage Type and Storage Bin

    Hi Gurus,
    I am using CO27 to generate pick-list for a production order. The pick-list is being used by Warehouse team to Goods Issue for the Production Order.
    However, the problem that I am facing is that in the pick-list generated from CO27 is showing blank values in Warehouse,Storage type and Storage bin.
    So, it is becoming difficult for the Warehouse to do the picking based on this pick-list.
    Could you please advice how the fields Warehouse,Storage Type and Storage bin can be populated in the Production Order pcik-list.
    Is these values are fetched from Material Master data or any other place?
    Thanks & Regards
    Subhasis

    Hello
    You should implement the following note:
    384427 - CO27/COIK: Storage bin is not displayed
    BR
    Caetano

  • What is storage type and storage bins

    explains the terms, storage type and storage bins, stock at production storage

    Hi Ahmed
    Inventory Managemenet can be done either at Storage location ( using Lean warehouse Management)or at storage bin level ( using full warehouse Management).
    General ( EWM)
    [http://help.sap.com/saphelp_scm50/helpdata/en/5f/c69040bca2ef4ae10000000a1550b0/frameset.htm]
    Storage type
    [http://help.sap.com/saphelp_ewm2007/helpdata/en/97/d94541c47a6e24e10000000a155106/content.htm]
    Storage bin
    [http://help.sap.com/search/highlightContent.jsp]
    [http://help.sap.com/saphelp_sm32/helpdata/en/35/26c132afab52b9e10000009b38f974/content.htm]
    Cheers !!
    Ajay

  • Default settings for  source storage type and storage bin ..

    Hi,
    While doing Transfer Order ,I want to make the source stage type and bin as default values.Where can I make these settings?
    i am using normal WM and not Lean WM
    Edited by: Roopak India on Sep 4, 2009 7:22 AM

    Please check settings as mentioned
    1. SPROEnterprise StructureAssignmentLogistic Exe check all the assignment here
    2. then SproLogistic ExeWM--master data , check whether storage types are properly defined or not
    3. then you have to Activate the search strategy at SproLogistic ExeWM--strategy --> Activate Storage type search
    Thanks,
    Raja

  • User Exit for MIGO (goods receipt and goods issue)

    Hi all ,
    When i create a cross company goods receipt or goods issue through MIGO,I need to add another line item to the accounting documents posted with the sales tax calculated.For this i need to use a user exit which adds another line item.
    Can someone suggest me the user exit which i need to use ?
    any input would be of great help.
    Thanks,
    nsp.

    Hi
    Available exits for MIGO are
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    You would hav to search through these.
    Hope this helps to solve ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • Need user exit to add body text in mail while saving the transaction VF02

    Hi All,
       Output type has been configured as external send(5) to trigger billing document as PDF. There is a requirment to add body text in the  mail along with pdf attachement. Funtional consultant has tried using NACE "Mail title and Text" but that doesn't worked out. As a abaper, we are trying to identfy the user exit where I can code the body of mail text.
    Can any body please let us know the user exit to add the body text only?
    Regards,
    Suresh Kumar.

    Hi,
    In your driver program you will have one standard include RVADOPFO.
    Copy all the code available in that include and make it to Z include.
    In this include function module ADDR_GET_NEXT_COMM_TYPE, will have the email address, subject etc.. details.
    So You can modify the contents of the imported parameters here.
    The above code will trigger only when update debugging is switched on!!!!!
    Regards,
    Santhosh.

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • User Exits for IW21 - Notification Type

    Hi ,
    I need to access User Exit related to IW21 , IW22 Transactions.
    I require the user exit to customize process for a specific Notification type 'KS'.
    User exit when a notificatrion Type is created & when it is modified.

    User Exits and Badi's For IW21 & IW22
    BADI's
    IQS0_STATUS_MAINTAIN Control of Changeability of User Status
    IWO1_SUBSCREEN_0170  Display Additional Data on Object Screen 0170 PhysicalSample
    IWOC_LIST_TUNING     Performance Tuning for Lists in PM/CS
    IWOC_OBJECTINFO_CHNG Changes to Data of Object Info Screen
    NOTIF_AUTHORITY_01   Additional Authorization Checks for the Notification
    WOC_FL_DETERMINE     Determine Date for Determining Installation Loc. Equi.
    USER EXITS
    IWO10026  User check on setting status 'Do not perform'
    IWO10027  User exit: Generate user-defined settlement rule
    IWOC0001  Create PM/SM notification: Determine reference object
    IWOC0002  PM/SM notification: Check whether status change is allowed
    IWOC0003  PM/SM authorization check of ref. object and planner group
    IWOC0004  Change single-level list editing PM/QM/SM ALV settings

  • MB21 user exit or add in

    Hi
    There is an user exit or add in  that validates the information field "good recipient" in the transaction MB21 to the vendor table LFA1?
    Thanks and regards.
    Edited by: buck485821 on Sep 7, 2010 8:45 PM
    Edited by: buck485821 on Sep 7, 2010 8:46 PM

    Hello,
    You could review MB_RESERVATION_BADI.
    Regards
    Waza

  • BADI or User Exit validation of operations tab and displaying an error mess

    Hello,
    Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
    Thanks,
    Suresh Mgl

    Hi ..
    I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
    .i hope i need to do implicite enchancement spot.....could you please help me to do that..
    Thanks,
    Suresh Mgl

  • Automated storage type and bin in wms

    hi
    In continuous how can we use the fixed bin method in the mm01  without using the putqway strategy
    how to get the storage type and bin in the transfer order at the destination pop up.

    Hi
    On navigating the transaction MM01 --> Organization level , you can get a field storage type below the plant and warehouse number fields.
    After entering into the Warehouse view, you can find a section
    "storage bin stock"
    and enter the Bin against the field
    "Storage Bin"
    Gobinathan G

  • In wms continuous to the automatic storage type and bin in the  destination

    hi
    Thanking for givining the solution ,In continuous to the automatic storage type and bin in the  destination your telling that fixed bin should be enter in the wm2 view in the mm01 ,
    i am not   getting fixed bin means  which bin should i enter in the mm01  wm2 view can explain clearly.
    thanks

    First you create your WM views in MM01 with just entering the warehouse number but no storage type in the organisation pop-up.
    Once you have done this and saved the material master, you do again MM01 for the same material number and select the WM 1 and 2 view and enter the warehouse number AND the storage type number in the organisation pop-up.
    Now SAP gives you some more fields in WM2 view. AMong them the fields you are looking for.

Maybe you are looking for

  • How do I make the search bar on the default Firefox Homepage search in Google rather than AOL?

    On the default home page for Firefox 4, the one with the restore previous session on it, the search bar links to AOL Search. This does not seem to happen on other computers. How do I make it search in Google?

  • Card Applet Help

    Hello, I have a quick question, hopefully easy enough.... In designing a card game applet.....I want the cards to show up on the screen very similar to the Windows Hearts card game. I understand how to get the cards at the top and bottom of the scree

  • Time Machine display does not bridge long period of computer non-use

    I have two locations where I work; call then "summer place" and "winter place." The two Mac installations are similar, both with a Time Machine safety net. I am now back at "summer place" and need to see a document from last summer. The Time Machine

  • WebServer/Firewall/Oracle 8i Question

    I am having a problem with communications between a WebServer (WinNT/PHP) and Oracle 8i (Sun Solaris). There is a firewall between the two systems. My observation is that the WebServer connect transmits fine to Oracle. However, when the reply is sent

  • Ear Classpath problem

    I have an ear file that contains staiAppln.ear -> stai.war -> staiEJB.jar -> application.xml (defining stai.war as web module & staiEJB as EJB module) -> manifest.mf (empty except for version number) staiEJB.jar contains the various classes and EJBs