Production order no is missing the Batch short text field in MSC2N T.code

Hi Guys,
I have some requirement in my project. I have maintained Batch management in my project.
When I create & release the Production order in CO01, immediately Batch number (Produciton order: Goods receipt tab) creates automatically by the system.
Also this same production order should be appeared in the Short text field in Basic data 2 tab in the transaction MSC2N.
But this production order no. is not updated automatically in the short text field in MSC2N.
Is there any standard settings available for this case?
Please help me the same.
Regards,
Mohan

Hi Mohan,
There is no  standard link between Production Order and Batch Master Record, If your client needs the production order number in Batch Master record, short text field. we need to achieve it thro user exits with the help of developers.
Thanks
Balasubramanian NSD

Similar Messages

  • Short text field information of a service notification

    Hi everyone,
    Please guide me about the following query: How can we find the complete short text field information of a service notification.
    Please guide me how can i find this information for all the service notifications which are created in a specific time period.
    Through transaction code IW29 or IW59, complete field information is not available.
    Please guide.
    Thanks and Regards
    Edited by: MP Vashishth on Apr 3, 2010 8:26 AM

    Pavan Kumar P.
    BAPI_ALM_NOTIF_SAVE is only for the header.
    Questions relating to BAPI_ALM_NOTIF_DATA_MODIFY:
    What input parameters are you using when calling the BAPI
    Did you use the NOTIFACTV_X tables
    Are there any values in the RETURN table
    PeteA

  • If we can increase the length of the Short Text field in a purchase order?

    Hi Experts,
    Please suggest if we can increase the length of the Short Text field in a purchase order?
    If yes, How? and what will be the impact?
    Thanks
    Gavar

    Dear Arpit,
    You can use PO Text field for long description of the material.
    Regards,
    Manish Jain

  • Make short text field in Purchase order creation only display..

    Sir,
    Yeah my requirement is quite unusual, but such is the situation.
    I want to make the short text field in purchase order creation "only disply". what is happening is that user while creating PO is able to change the text of material in short text column. I want to make it only for display.
    Can it done on document type level, since for service type, and Text type of account assignment cat, only text field is filled up. so how to do it.
    Please assist...
    Rahul

    Dear Rahul,
    If you want to have the short text display only for standard item but not service item, you may check below customizing.
    Transaction SPRO:
    MM-PUR-PO
    -> Define screen layout at document level
    Field Selection group: Basic Data, Item
    Field Selection Key:  PT0F Standard item purchase order
    Field: Short text -> set as display
    Hope this help.
    Ian Wong Loke Foong

  • Using BAPI_PR_CREATE , but failed to overwrite the item short text

    As I want to create PR items and rewrite the items' short text,
    even if i have give the short_text some  values ,
    but it still to be the default value after the PR items created.
    The following is main part of my program using BAPI  'BAPI_PR_CREATE' to create PR:
         w_pritem-material = t_in-matnr.
          perform frm_add_zero using w_pritem-material.
         W_PRITEM-PREQ_ITEM = SY-TABIX.
          w_pritem-preq_item = l_tabix.
          perform frm_add_zero using w_pritem-preq_item.
          w_pritem-acctasscat = t_in-knttp.
          w_pritem-plant = t_in-werks.
         W_PRITEM-STORE_LOC = '1003'.
          w_pritem-quantity = t_in-menge.
          w_pritem-SHORT_TEXT = t_in-txz01.
          append w_pritem to t_pritem.
          w_pritemx-preq_item = w_pritem-preq_item.
          w_pritemx-material = 'X'.
          w_pritemx-preq_itemx = 'X'.
          w_pritemx-acctasscat = 'X'.
          w_pritemx-plant = 'X'.
         W_PRITEMX-STORE_LOC = 'X'.
          w_pritemx-quantity = 'X'.
            w_pritemx-SHORT_TEXT = 'X'.
          append w_pritemx to t_pritemx.
        call function 'BAPI_PR_CREATE'
            exporting
                prheader = w_prhead
                prheaderx = w_prheadx
            importing
                number =  l_prnum
            tables
                return =  t_return
                pritem =  t_pritem
                pritemx = t_pritemx
                praccount = t_praccount
                praccountx = t_praccountx
                pritemtext = t_pritemtext
    Ivan Yang

    Now I try to use 'BAPI_REQUISITION_CREATE'  to instead of 'BAPI_PR_CREATE'.
    But it still fail , it always give a error message like that 'No direct postings can be made to G/L acct.'.
    Pls note that the ACCTASSCAT is setted to be 'M' , and I am sure that all the data entries can generate a PR without problem
    while using 'BAPI_PR_CREATE'.
    Following is the main part of my program:
    PR_ITEM-DOC_TYPE   = T_in-BSART.
    PR_ITEM-PREQ_ITEM  = l_tabix.
    perform frm_add_zero using PR_ITEM-PREQ_ITEM.
      PR_ITEM-ACCTASSCAT = 'M' .
    PR_ITEM-MATERIAL = t_in-MATNR.
      perform frm_add_zero using PR_ITEM-MATERIAL.
          if t_in-txz01 is not initial.
            PR_ITEM-SHORT_TEXT = t_in-txz01.
          endif.
        PR_ITEM-QUANTITY  = T_IN-MENGE.
        PR_ITEM-DELIV_DATE = '20090801'. 
        PR_ITEM-PLANT  = T_IN-WERKS.
        PR_ITEM-PREQ_DATE = '20090801'.
        APPEND PR_ITEM.
        PR_ACCOUNT-PREQ_ITEM = PR_ITEM-PREQ_ITEM.
        PR_ACCOUNT-G_L_ACCT = T_IN-SAKNR.  
        PR_ACCOUNT-SERIAL_NO = 1.
         PR_ACCOUNT-CO_AREA =  'XXX'.
          PR_ACCOUNT-PREQ_QTY = t_in-MENGE.
          PR_ACCOUNT-sd_doc = t_in-vbeln.
          perform frm_add_zero using PR_ACCOUNT-sd_doc.
          PR_ACCOUNT-SDOC_ITEM = t_in-posnr.
          perform frm_add_zero using PR_ACCOUNT-SDOC_ITEM.
        APPEND PR_ACCOUNT.
        CLEAR PR_ACCOUNT.
         CLEAR PR_ITEM.
    CALL FUNCTION 'BAPI_REQUISITION_CREATE'
    EXPORTING
      SKIP_ITEMS_WITH_ERROR                =
      AUTOMATIC_SOURCE                     = 'X'
           IMPORTING
             NUMBER                               = l_prnum
            TABLES
              REQUISITION_ITEMS                    = PR_ITEM
              REQUISITION_ACCOUNT_ASSIGNMENT       = PR_ACCOUNT
              RETURN                               = PR_RETURN
    Ivan Yang

  • Problem with Refreshing the data bound text fields

    Folks,
    First of all, this a GREAT product and I am moving my apps from Eclipse to Studio Creator. I am very impessed with it so far.
    I am gone through most tutorials, but can't help resolve the problem that I am having. I have a page, that lists all the users in a table. When you click on any user, it opens up another page that lists the detail of the specific user you have clicked on. This a typical use in most web applications, right?
    In the user detail page, I open it in "Read" only mode, by setting the "setReadOnly" to true for all text field components. Then users can edit it by clicking "Edit" button. Edit button just changes the "setReadOnly" to false, to allow editing. After editing, they can hit the "Save" button to save the changes. In the save button, I call this code:
    public void prerender() {
            try {
                userID=getSessionBean1().getUserID();
                getSessionBean1().getWeb_userRowSetUserDetail().setObject(1,userID);
                getWeb_userDataProviderUserDetail().refresh();
                info("prerender: Refresh called");
            } catch (Exception ex) {
                error("Error in userForm.prerender():"+ex.getMessage()+ex.getStackTrace());
                log("Error in userForm.prerender():", ex);
            setReadWrite();
    public String btnSave_action() {
            try {
                getWeb_userDataProviderUserDetail().commitChanges();
                getWeb_userDataProviderUserDetail().refresh();
                info("Data Provider Refreshed in SAVE");
                _readOnly=true;
                form1.discardSubmittedValues("saveVForm");
                info("User Updated New:"+userID);
            } catch (Exception ex) {
                log("Error Description", ex);
            return null;
        public String btnEdit_action() {
            try {
                _readOnly=false;
                //info("User ID Edt="+getSessionBean1().getUserID());
            } catch (Exception ex) {
                error("Error in userForm.btnEdit_action:"+ex.getMessage()+ex.getStackTrace());
                log("Error in userForm.btnEdit_action():", ex);
            return null;
        private void setReadWrite(){
            // Set read-only to true or false for all text fiels
            this.btnEdit.setVisible(_readOnly);
            this.btnSave.setVisible(!_readOnly);
            this.user_id.setReadOnly(_readOnly);
            this.user_email_client.setReadOnly(_readOnly);
            this.user_email_office.setReadOnly(_readOnly);
            this.user_fname.setReadOnly(_readOnly);
            this.user_lname.setReadOnly(_readOnly);
            this.user_id.setReadOnly(_readOnly);
            this.user_password.setReadOnly(_readOnly);
            this.user_password_conf.setReadOnly(_readOnly);
            this.user_phone_cell.setReadOnly(_readOnly);
            this.user_phone_cell_aac.setReadOnly(_readOnly);
            this.user_phone_client.setReadOnly(_readOnly);
            this.user_phone_home.setReadOnly(_readOnly);
            this.user_phone_office.setReadOnly(_readOnly);
        }When the save button is clicked, the database is updated (as I can verify by looking directly into the database), but the data-bound text fields do not display the new value. YES, I am calling refresh() on data provider? I tried to call refresh in both "preRender()" and "Save" button action event, but that did not help either.
    Please note that the save button also changes the "setReadOnly" back to TRUE for all text fields. That means, users view the page in Read-Only mode after saving. (They have to click on "Edit" button again to edit it). I discovered that if I do not set the text field components in "ReadOnly" mode, then they display the updated value of the fields. But if I change setReadOnly to TRUE, then they display the old values (before the save).
    Any idea what I am doing wrong here?
    Thanks

    Here is my experience with it. I have three text
    boxes to be filled out. They are part of a virtual
    form with an add button as the submit. You can fill
    out the 3 and add them and a node is added to a tree
    component. When you click on a node in the tree
    component (the submit to another virtual form that
    the 3 buttons participate in) the text fields should
    be loaded with the values that they where added with.Hard to tell from this explanation, but if the text fields do not participate in a virtual form, then they are not going to get updated when an action in the virtual form happens. Not sure this is your problem. Like I say, hard to tell from this explanation.
    They will not display the values though...having
    nothing to do with read only. If I disable them
    before hand...they display the updated values. If I
    set their value at the top or bottom of prerender,
    they display the change...if I set the value in an if
    conditional that is hit (I have checked many times)
    in prerender, they will not display the values. If I
    set them in the tree handler anywhere, they will not
    display the values. This is very frustrating and is
    wasting tons of my time...I simply want to load the
    text fields based on the tree node that was
    clicked...I have messed with this for hours and it
    certainly does not work.Well, setting them in the tree handler won't work because the tree handler gets called in the page instance that handles the submit and not the page instance that renders the response.
    Posting your prerender code might help. Also, your action handler.
    >
    >
    - Mark

  • Guideline for Using 40 Char in Short Text Field of Material Master

    Dear Experts & Forum Members,
    In MM01 while creating a Material Master record (spare part) we need to fill in Basic Data. It has a field known as "Short Text Field " This Field has limitation of 40 characters. This is the same field which has Searched associated with it. This description is what we see when we look for Stock Overview of Material in the Stores through MEMBER.
    To use this 40 characters efficiently people usually come up with a guideline so that maximum and meaningful information crucial information for identification of spare part/material is VIEWED when we see it.
    For example for an AC Motor the description may look like
    *MOTOR AC SQ 100KW 1500 RPM 8P CLA FRXYZ
    which describes AC Motor, Squirrel Cage Type, 100 KW, 1500 RPM, 8 Pole, Class A, Frame Size XYZ
    Request the forum members to provide / share any guideline they might have come up with to use these 40 characters to describe different spare parts.
    Thanks in advance for your help.
    Regards
    Vinay
    Edited by: VINAY MAITHANI on Jul 15, 2010 6:51 PM

    Hi Vinay,
    We are also doing the same activity and we are arranging the material description in a manner which is almost simlar to you.
    But, except one thing which is Classification. We have classification feature mapped with material master for the details of Dimension,Brand,Color and Orgin.
    For further commets, rever back.
    Regards,
    NAK
    Edited by: abdul kader on Jul 28, 2010 9:36 AM
    Edited by: abdul kader on Jul 28, 2010 9:38 AM

  • Making short text field in Display mode for one particular Purchasing

    Hi All,
    This is regarding Making the Short text field in Display mode of PR for one Particular Purchasing.. i am giving you a bit elaborate...We are into E-Catalog Procurement.I will do the shopping from the Vendors external catalog and i will return back to SAP.
    While doing so, i dont want the user to change the Short Text field. I want that field shud display the Description. When i tried with the Screen Layout settings, it is fully grayed out and i am not able to see the Description of the Material. Is there any other options to get this enabled?. Please advice me on this settings to be done. Thanks in Advance.
    With Regards,
    Saakithyan

    Hi
    Define a Field selection key (new not the one which is assigned to document type) which makes  short text editable in screen layout config. and assign it to functional authorization value in t.code OMET. (it should be numeric). Then assign that functional authorization value in user master SU01 for users with parameter id EFB.
    Then it will work
    Regards
    Antony

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Why does the keyboard cover text fields ios 8

    Why does the keyboard cover text fields in safari in ios 8 in safari?  I've never had this problem before, but now when a text field is near the bottom of the page, I can't move it above the keyboard.  If there any fix? This is extremely annoying and renders filling in text on many web pages impossible.

    This solved it for me. I only needed to split it once before it was fixed (but shouldn't have had to do it at all). Thanks, chuck9999, you're my hero!
    Level 1(0 points)chuck9999Oct 19, 2014 8:15 AM Re: Why does the keyboard cover text fields ios 8
    Re: Why does the keyboard cover text fields ios 8in response to TeraBI had the exact same problem on my iPad Air and it's working fine now. Try toggling your keyboard a few times between split and regular using the keyboard key in the lower right corner.  I also then docked the keyboard a few times.  The turned-off/rebooted the iPad and it's worked fine ever since.  I stumbled upon the fix reading another post, and it did work although not sure why.  My guess is toggling the keyboard and rebooting updated something in the "registry".
    Liked Show 1 Like(1)
    Reply

  • How to remove the automatically generated text fields from the InfoSet

    I followed the procedure by SAP help.
    Automatically generated text fields are marked with a 'T' on the icon in the InfoSet. You can remove the automatically generated text fields from the InfoSet in the initial screen of the InfoSet maintenance under Further Functions -> Delete Text Fields. Cancel the DataSource creation on the next screen and delete the text fields in the InfoSet maintenance transaction.
    I know that there is an option "No automatic text recognition" when I create a new InfoSet, however, I couldn't find out how to change an existed InfoSet. I checked menu Goto->Global Properties, but that option is disabled. Is there a way to remove text fields from an existed InfoSet?

    Hi,
    In the initial screen (when you enter transaction code SQ02) type your infoset name and goto menu: Infoset -> More functions -> Delete text fields. this will delete all text fields.
    I hope this helps to resolve the issue.
    Ram

  • How can i calculate the lengh of text field of workarea at runtime

    hi .
    we tried below code but it is always showing entire lenght of field , not the lenght of text field 
    DESCRIBE FIELD wa_itab_raw-txt LENGTH len.    
    IF len GE 139 AND wa_itab_raw-txt+39(1) = 'R'.
       wa_itab_retro = wa_itab_raw.                
       APPEND wa_itab_retro TO itab_retro.         
    ELSE.                                         
       wa_itab_sbi = wa_itab_raw.                  
       APPEND wa_itab_sbi TO itab_sbi.   
    kindly help me
    correct answers will be awarded <= read the rules [here!|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    Edited by: Julius Bussche on Jul 28, 2008 6:37 PM

    Hi,
    try this
    DATA lv_length TYPE i.
    lv_length = STRLEN(wa_itab_raw-txt).
    Regards Rudi

  • Purchase order from production order !!  (Missing material no)

    Hi,
    This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
    Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
    Pls help me in finding the material number.(item wise)
    Thanks & Regards
    Hrishi

    Hi
    1. Check table EKPO, if material number is stored against said PO,
    2. Check ME23N, ME23N, ME22, ME23 screens are u able to see material no. in any of T-code.
    If one of T-code not showing material number, it is sort of bug in system
    Regards,
    NNK
    PS:Award points for useful ans

  • Batch creation at the time of order creation & confirmation on the batch.

    Hi all,
    My client's requirement is while creation of the production order of say 100 pcs, system should create 4 batches, each of 25 (this might be different every time) of that order & also the confirmation (CO11) should be done on those batches.
    Also if the order contains 10 operations then confirmation of operation no. 0020 should not be possible before confirmation of 10, whether it is for partial & whole quantity.
    You can say these batches will reprsent the lots.
    Regards
    SmanS
    Edited by: SAP PP Consultant on Mar 9, 2009 8:05 AM

    Hi SAP PP
    You can use this function to automatically create a batch for the material to be produced.
    You can make the following settings in Customizing (production scheduling profile):
    No automatic creation of batches in production orders
    Automatic creation of batches during order creation
    Automatic creation of batches during order release
    To carry out automatic batch splitting via batch determination, proceed as follows:
    Select the component that you wish to split and choose Component ® Batch management ® Trigger batch det.
    The system lists all batches that meet the selection criteria and that have available stock on the requirements date.
    Distribute the required quantity as required over the existing batches.
    Choose .
    The system copies each batch as a separate component into the component overview screen.
    For more information refer to Batch Determination.
    To carry out manual batch splitting with manual batch assignment, proceed as follows:
    Select the component for which you want to carry out batch splitting. Choose Edit ® Insert ® Batch split.
    Enter the batch number and the required quantity manually in the component.
    Save your entry.
    Regards
    Sachin

  • Tables for production order number for material and Batch combination

    Dear Experts,
    Please suggest the table names for finding the production order for material and batch combination .
    Thanks in advance for your help...
    Best regards
    Nitishj

    Dear
    Please check in  AFPO-CHARG
    AFPO          Order Item Detail -Batch Number -CHARG
    AFFW         Confirmations -- Goods Movements w
    AFRD          Confirmations -- Defaults for Collective Confirmation
    AFRH          Confirmations -- Header Info for Confirmation
    Regards
    JH

Maybe you are looking for

  • Transfer from Subtotal in one table to another sheet.

    Hi, about a year ago i made a salary application for my production company. This works quite well, but when I supposed to report amounts for each employed to the swedish tax authorities I am still not automatic because I haven't solved how to transfe

  • System crashes when i use any input field after installing Maverick

    Hello all. I have a 2010 macbook air, and have just installed Maverick OS. Now every time i go to any input field to type in a web address or apple id, the system crashes and re-boots. Tried to alter keyboard properties nothing works. I presume i wil

  • Error when trying to move iTunes Media to external hard drive

    I want to free up space on my laptop so I read this support file: iTunes for Mac: Moving your iTunes Media folder: http://support.apple.com/kb/ht1449 I am following the directions for "Moving your iTunes Media folder" set-by-step. When I get to the s

  • Language Selection to print scripts

    Hi Friends, I have a custom dialog program . On the screen I have following parameters . Print Immediately : No of Copies : I want to add a language option to it . The default should be the logon language . Which table contains the logon language and

  • Performance on connection pooling

    Hi there, Does solution for CR099363 found in link http://e-docs.bea.com/wls/docs70/notes/resolved.html#1295792 work for WL6.1 platform by setting parameter secondsToTrustAnIdlePoolConnection to a positive integer? Or does this only work on WL7.0 pla