Copying Batch Characteristics Value from Standard SAP Table Field

Dear Experts,
1. While creating a user-defined Batch Characteristics 'CREATED_BY' using ct04,  on the Additional Data tab, I filled  the following fields as follows:  Table Name = MCHA,  Field Name =ERNAM.
'CREATED_BY' was then assigned to a batch Class TRIMMED (of class type 022).
TRIMMED  was assigned to a batch managed material ADE245DD.     
After posting co15 (confirmation of production order) for material ADE245DD, the value in table MCHA & field ERNAM is automatically copied into the Batch Characteristics value field of u2018CREATED_BYu2019  for the generated batch.
2. But I am unable to achieve the same result when I create another Batch Characteristic with similar settings in the Additional Data tab as follows: Table Name = MARC, Field Name = DISPO.
After doing co15, the value stored in table MARC and field DISPO does not get copied into the Batch Characteristics value.
Please what do I need to do in Scenario 2 above to achieve the same result as in Scenario1?
Regards

Hi,
Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
Cheers
Dheeraj

Similar Messages

  • Creating a new Search Help on a standard SAP table field?

    Good day, everyone!
    As part of a report I am writing, the customer would like to have Search Help added to the AUFEX field in table AUFK.  They would like this functionality so that when they are changing an order via t-code ko02, they can get a list of valid values to put in field AUFEX.  I would like to tie it to a zTable I've created; in my zTable, I have just 2 fields:  a key value (that will go into AUFEX) and a text description of the key value.  This zTable is used in my report.
    While I've created a Search Help on this table already for table maintenance, I've never added a custom Search Help to an existing standard SAP table field before.  I've done some Googling and other searching to see what I need to know, but I've only been able to find information on Collective Search Helps.  AUFEX doesn't yet have a Search Help field, so I don't think Collective Search Helps is my answer.
    Is this possible?  Can I add a custom Search Help to a standard SAP table field that doesn't have any Search Help linked to it yet?  Is there an existing thread or guide somewhere that can tell me how to do this?
    Thank you!

    Hi
    Yes u can: u can assign the search help to (A) data element livel or (B) field table livel.
    After creating your search help:
    A) Run SE11, insert your data element (AUFEX), press edit and insert the search help in "Search Help" area on DEFINATION tab;
    B) Run SE11, insert your table (AUFK), press edit, place the cursor on your field (AUFEX) and go to GoTo->Search help->for field
    But u should consider it'll mean to change a standard object for both cases: so u need to get the access key from your OSS.
    Max

  • Copy of Batch characteristics value from material master to Batch

    Hi Gurus,
    I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
    Can any one help me to achieve this in standard way?
    Thanks
    Sandip

    Hi,
    Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
    Thanks
    Kumar 

  • How to add a F4 help to a standard sap table field

    HI all,
    I have created a F4 help that gets the value from a custom field. Now i want to add this search help to  a standard table PRPS-USR00 field. but, when i selects the USR00 field and clicks search help button it says 'No Search help exist for this field'. How to Add ? Do i need to get the access key , go in change mode and add it .Will it work. Will this affect any other table if i add this search help.
    regards
    sandeep

    Hi,
    Where do you want to see this seach help which transaction if it is in any custom program then you use the events for F4 or else if it is any standard transaction then there might be any collective search help which you will have to enahance. Let me know the trnaction name and field name.
    Regards
    Tanweer

  • Can COPA pull values from material classification tables

    Hi All,
    I know COPA can pull values from standard SAP tables like material master tables (e.g. MARA) but can it also pull values from material classification table(s)?
    Your help is greatly appreciated,
    Points will be rewarded

    Hi Kati,
    In order to derive CO-PA chars from material classification view for a
    specific material value you have to implement the CO-PA derivation exit
    (include ZXKKEU11) accordingly. It's indeed table AUSP from which you
    can get the corresponding value (field ATWRT) for each classifying
    attribute (field ATINN). In order to find out the field name for each
    ATINN number (so that the mapping to corresponding CO-PA chars can be
    done in a sensible way) you have to select additionally the ATNAM value
    from table CABN (for given ATINN number).
    BR,
    MLM

  • Is there any standard SAP table which stores the license number assigned to a delivery item

    Hi Experts,
    This is in relation to license number assigned to a delivery item under ‘Export License Log’. Our scenario is for delivery of type NLCC created for an inter-company stock transport order. (i.e.not a sales order case where the license may get copied from sales order to delivery through copy control)
    As we understand, for legal control – relevant scenarios, export license for each item shall be determined afresh every time the delivery is accessed. (Depending on legal regulation, grouping, destination country, export control class, delivery partners vis-à-vis license master customer assignments etc.)
    To print the license text on one of the delivery output types, we want to access the license number for each item. (determined under export license log)
    Our question is:  is there any standard SAP table which stores the license number assigned to a delivery item?
    We have checked some of the license tables (T606*, VAEX, EMXX etc.) but couldn’t get any specific table storing delivery-item-specific license data.
    Helpful answers Text Removed
    Regards,
    Jagan
    Message was edited by: G Lakshmipathi
    Dont add such text in your post

    Hi Lakshmipathi,
    The export control log can be accessed by going to delivery Extras-> Export license log
    We need a table that stores the determined license for each item in a delivery document ( as shown in the below screenshot)
    Regards,
    Jagan

  • Distinct values from dynamic internal tabls

    Hi All,
    I have a dynamic internal tables like <dy_table> , i want to get distinct  values from this internal tables,
    how to do that, structure of dynamic internal tables is dynamic acc. to user conditions.
    regards,
    Anuj

    Hi Anuj
    Just try this,
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    it_fieldcatalog = tb_fields_for_it
    IMPORTING
    ep_table = gp_dyn_table.
    ASSIGN gp_dyn_table->* TO <gt_table>.
    ASSIGN LOCAL COPY OF INITIAL LINE OF <gt_table> TO <fs_table>.
    LOOP AT tb_output.
    *To assign value for serial number.
    ASSIGN COMPONENT 1 OF STRUCTURE <fs_table> TO <ls_field>.
    <ls_field> = tb_output-sno.
    UNASSIGN <ls_field>.
    *To assign value for Sales Organization.
    ASSIGN COMPONENT 2 OF STRUCTURE <fs_table> TO <ls_field>.
    <ls_field> = tb_output-vkorg.
    UNASSIGN <ls_field>.
    *To assign Rate for its respective Condition type.
    LOOP AT tb_konp WHERE knumh = tb_output-knumh.
    READ TABLE tb_fieldcat1 WITH KEY fieldname = tb_output-kschl.
    IF sy-subrc EQ 0.
    lv_count = tb_fieldcat1-col_pos.
    ASSIGN COMPONENT lv_count OF STRUCTURE <fs_table> TO <ls_field>.
    IF tb_konp-konwa EQ '%'.
    tb_konp-kbetr = tb_konp-kbetr / co_10.
    <ls_field> = tb_konp-kbetr.
    ELSE.
    <ls_field> = tb_konp-kbetr.
    ENDIF.
    ENDIF.
    ENDLOOP.
    lv_count = lv_count + 1.
    APPEND <fs_table> TO <gt_table>.
    CLEAR <fs_table>.
    ENDLOOP.
    Hope this proves helpful to you.

  • How to select LAST line from a SAP table?

    Hi developers,
    I need to select the last line from a SAP table, NOT from an internal table.
    Something like
    SELECT SINGLE LAST FROM pa00169..
    any help is more than welcome.

    Javier,
    Based on this statement from you:
    "i created a Z table, its a config table that stores some bussines rules, and an id counter, so in order to update that counter i need the last line of the ztable."
    I have one additional solution which is the "text box" approach IF the 'id counter' mentioned above is a numeric data type.
    If so, use an SQL function to get the highest value of ID_COUNTER.
    Then simply add one to it to produce a new, unique, higher-order primary key.
    See below:
    data: l_id_counter like ztable-id_counter.
    data: new_id_counter like ztable-id_counter.
    select max( ID_COUNTER ) from ztable into l_id_counter.
    new_id_counter = l_i_counter + 1.
    Now new_id_counter will be the unique, primary key IF this is the only field in ZTABLE's primary key.
    This will also GUARANTEE that your new record is built correctly.

  • Batch Characteristics value in report

    I want to develop a custom report where material master batch characteristics value should be displayed.
    The report will display based on Process order No. In Process order AFPO table I am bringing MATNR, CHARG, WERKS information.
    Now, the MATNR is maintained with a batch classification of class type 001 (material class) one characteristic "Z_NUMERIC" and value is maintained as "22345".
    Now, in custom report I have to bring the 22345 no. In which Table I can get the information for material for 001 class type characteristics value?
    Please repond.

    You can find it in table ausp
    Regards,
    Dhaval

  • Runtime Error while updati9ng a standard sap table - fagl_saplinfo_val.

    Hi,
    I am facing a problem in updating a standard sap table through a z program. The table name is fagl_saplinfo_val.
    Error description is:
    Termination occurred in the ABAP program "ZMIGR_PCA_COPY" - in                   
      "SUB_POST-CUSTOMER_DATA".                                                       
    The main program was "ZMIGR_PCA_COPY ".                                
    In the source code you have the termination point in line 644                    
    of the (Include) program "ZMIGR_PCA_COPY".                                       
    The program "ZMIGR_PCA_COPY" was started as a background job.                    
    Job Name....... "ZMIGR_PCA_COPY"                                                 
    Job Initiator.. "BASAKK"                                                         
    Job Number..... 10485700                                                         
    The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in      
    procedure "SUB_POST-CUSTOMER_DATA" "(FORM)", but it was neither handled locally  
      nor declared in the RAISING clause of its signature.                                
    The procedure is in program "ZMIGR_PCA_COPY "; its source code begins in line    
    631 of the (Include program "ZMIGR_PCA_COPY ".                                   
    Is it related to non availability of space in that standard sap table?
    kindly suggest me the solution to this as soon as possible. Its vvvvv urgent!!!
    Regards,
    Panchali.

    Thanks Lakshman!
               I debug the program.There is no BDC used update.In this program after taking the data from excel sheet one internal table is prepared and this internal table is directly used to insert data into z table.This is the last code which executes.
      INSERT zmmpoamend FROM TABLE t_zmmpo_amend_tab.
      IF sy-subrc EQ '0'.
        MESSAGE 'Data Upload Successfully completed' TYPE 'S'.
      ELSE.
        ROLLBACK WORK.
        MESSAGE 'Data Upload failed ' TYPE 'E'.
      ENDIF.
      CLEAR t_zmmpo_amend_tab.
      REFRESH t_zmmpo_amend_tab.
         Is it possible to configure z table using SPRO tcode,such that this z tables data will go to standard table and then we can see it in the standard tcode?
    I am not sure but it's just a guess.

  • List rows with a certain value from a different table?

    Hi,
    I'm trying to list certain rows from a different table. Similar to the filter feature, kind of like a report.
    To be specific, I have 12 tables (Jan-Dec) with many entries each (as rows). Each row has a date, text and further data. Now I want to create an additional table that lists rows from the other tables that have a certain date.
    I would like to just enter that date in a header row cell so I can make a quick query. Using LOOKUP only shows the first row of that date. Is that even possible?

    Hi papalapapp,
    If you don't mind using a script, you're using Numbers 3, and all of your monthly tables are on the same sheet, then you could do something like this:
    Copy-paste script to Script Editor
    Enter date you want to filter on in the designated filterCell (here A1 of the Extract table). Make sure it is formatted exactly like the dates in the monthly tables.
    Clear any existing values from the Extract table, and make sure there are enough blank rows.
    Click the run button in Script Editor.
    SG
    property targetTable : "Extract"
    property filterCell : "A1"
    tell application "Numbers"
      tell document 1's active sheet
      set dateFilter to table targetTable's cell filterCell's formatted value
      --get all data in tables (excluding Extract table)
      set vv to {}
      repeat with t in tables
      if t's name is not targetTable then
      set vv to vv & t's rows's cells's formatted value
      end if
      end repeat
      --filter data
      set vvFilt to {}
      repeat with i from 1 to vv's length
      if vv's item i's item 1 is dateFilter then
      set vvFilt to vvFilt & {vv's item i}
      end if
      end repeat
      --write filtered data to table
      tell table targetTable
      repeat with r from 1 to (vvFilt's length)
      repeat with c from 1 to vvFilt's item 1's length
      set row (r + 1)'s cell c's value to vvFilt's item r's item c
      end repeat
      end repeat
      end tell
      end tell
    end tell

  • How can i make entry in standard SAP table

    hi all
    how can i make entry in standard sap table.
    ex- lfa1
    without using programming,BDC.

    Hi,
    in the table if u find delivery and maintainance allowed with restrictions in delivery /maintainance tab u can enter data from program only.
    see the below example.
    tables: lfa1.
    lfa1-lifnr = '0878877'.
    lfa1-name1 = 'my name'.
    lfa1-ort01 = 'bangalore'.
    lfa1-land1 = 'in'.
    modify lfa1.
    rgds,
    bharat.

  • How to get attribute value from standard page ?

    Hi,
    How to get attribute value from standard page ?
    String str = (String)vo.getCurrentRow().getAttrbute("RunId");
    But this value is returning a null value ....
    Can anyone help me to get this attribute value which is actually having a actual value .

    getCurrentRow() would always return null if no setCurrentRow() is used.
    Please check the page design and understand how many rows of VO are there. You can also use the following to get the row:
    vo.reset();
    vo.next();
    Regards
    Sumit

  • Retrieve values from a HTML table !!!

    Hi.
    How can i retrieve values from a HTML table using javascript ?
    I´m trying to use the command "document.getElementsByTagName" without success.
    Thanks in advance.
    Eduardo

    Hi, Deepu.
    I´m still with trouble in retrieving the value in HTML.
    In debug the C_CELL_ID seems to be correctly updated but
    when using the command "document.getElementById" the value is always "null".
    I implemented in the method DATA_CELL the code :
      if i_x = 3 and i_y = 2.
      C_CELL_ID             = 'zs'.
      C_CELL_CONTENT = 10. 
      endif.
    And in HTML :
    var ztest = document.getElementById('zs');
    alert(ztest);
    Could you help me please.
    Many regards
    Eduardo S.
    Message was edited by: Eduardo   Silberberg

  • How to retrieve the values from PL/SQL table types.

    Hi Every one,
    I have the following procedure:
    DECLARE
    TYPE t1 IS TABLE OF emp%ROWTYPE
    INDEX BY BINARY_INTEGER;
    t t1;
    BEGIN
    SELECT *
    BULK COLLECT INTO t
    FROM emp;
    END;
    This procedure works perfectly fine to store the rows of employee in a table type. I am not able to retrieve the values from Pl/SQL table and display it using dbms_output.put_line command.
    Can anybody help me please!!!!!
    Thanks
    Ahmed.

    You mean, you can't add this
    for i in t.first..t.last loop
    dbms_output.put_line(t(i).empno||' '||t(i).ename||' '||t(i).job);
    end loop;or you can't add this
    set serveroutput onor maybe, you are working in third party application where dbms_output is not applicable at all?
    You see, not able like very similar it is not working - both are too vague...
    Best regards
    Maxim

Maybe you are looking for