How to make entry in a table e.g. vbak table

how make entries in a table.
what is the procedure.
can i do it in  production directly?

>
Vijay Babu Dudla wrote:
> it is not possible to do it directly in production. if you do that you will loose your job, don't practice those on production.
More than loosing you job you are violating the contractual terms with SAP. You will simply loose all Support from SAP.
I wonder how an ABAPer got a uid in Proction Server. Its a strict no-no in our organization.
pk

Similar Messages

  • How to make entry in table EDSDC?

    Hi,
      Can somebody tell me how to make entry in table EDSDC?
      I need an urgent answer.
      Waiting to give good points.
    Thanks,
    Max

    Hi ,
    Go to SE16 , Enter View Name -> V_EDSDC and Click on Display / Change Button to maintain entries .
    Please note that you must have authorization to do maintainance for this table ; failing which you can only view the table .
    If you are unable to add entries , I can tell you an alternative for doing so , through debugging  .

  • How to make entry for transit loss in the system

    Hello to all,
    I am having an issue with one subCon material.
    Suppose,
    Material A is the product required of 3000 MT Qty.
    SubCon vendor have sent that qty, but there is a transit loss of 500 MT.
    How to make entry for this transit loss in the system.
    regards,
    Anisha

    correct me if i am wrong-
    ur scenario is
    for making material A ,
    3000 MT of material B required.
    but for producing A vendor uses 3500MT of B
    solution : if this ia the case then u can overwrite the value of B at GRN from 3000MT to 3500MT.
    OR
    ur scenario is -
    u require material A of 3000MT
    vendor sends u 3000MT
    but actualy u recieve 2500MT
    and u have to pay for 3000MT as per bill
    solution : if this is ur scenario then.
    prerequisite-activate direct posting to G/L and material at MIRO
    Path - SPRO->MM->LIV->activate direct posting to G/L and material at MIRO.
    now procedure is -
    step 1) do GR for 2500MT
    step2) in LIV pay to vendor for 3000MT for that put 500 qty in material tab and the relavent amount.
    in this way loss in transite will be book on inventory.
    regards,
    sujit

  • How to make a row as selected in output internal table in oops ALV

    Hi All,
    I have ALV grid output using oops ALV concept, in my output i have a checkbox as first column when i select this checkbox and press a push button 'Print' which is there above ALV grid that particular line in output table should get selected and i need to code some logic for printing selected row.
    how to make the particluar row in the output internal table to be selected and where to write the logic for print once it is pressed?
    Thanks in advance
    Srilakshmi.

    but the checkbox is not getting set in internal table when i select some checkboxes.
    can anybody explain y the checkbox in internal table not set?
    Hi Srilakshmi,
    As explained by Uwe, when we change a field ( say check box ) in ALV grid, the view (frontend) changes (showing the tick mark) but the changed data ( normally ) is not transfered to the backend.
    We can initiate this data transfer by just registering the cl_gui_alv_grid=>mc_evt_modified  edit event
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    Now as soon as we check a checkbox, the data_changed event is triggered.
    This initiates data transfer to the backend and the checkbox field in internal table is updated.
    check the below code for example.
    DATA: go_cont            TYPE REF TO cl_gui_custom_container,
          go_grid            TYPE REF TO cl_gui_alv_grid,
          gt_fieldcat        TYPE lvc_t_fcat,
          gv_language        TYPE spras VALUE 'E',
          gt_outtab          TYPE TABLE OF bus_loca_demo WITH HEADER LINE.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'BASIC'.
      SET TITLEBAR  '001'.
      PERFORM create_and_init_alv CHANGING gt_outtab[]
                                           gt_fieldcat.
    ENDMODULE.                    "pbo OUTPUT
    *       MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'PRINT'.
          BREAK-POINT.
      ENDCASE.
    ENDMODULE.                    "pai INPUT
    FORM create_and_init_alv CHANGING pt_outtab LIKE gt_outtab[]
                                      pt_fieldcat TYPE lvc_t_fcat.
      CHECK go_cont IS NOT BOUND.
      CREATE OBJECT go_cont
        EXPORTING
          container_name = 'CUSTOM'.
      CREATE OBJECT go_grid
        EXPORTING
          i_parent = go_cont.
      PERFORM build_display_table.
      PERFORM build_fieldcat CHANGING pt_fieldcat.
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    ENDFORM.                               "CREATE_AND_INIT_ALV
    FORM build_display_table.
      FREE gt_outtab.
      DO 10 TIMES.
        gt_outtab-creation_partner = sy-index.
        gt_outtab-date_field       = sy-datum.
        APPEND gt_outtab.
      ENDDO.
    ENDFORM.                               "build_display_table
    FORM build_fieldcat CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'BUS_LOCA_DEMO'
        CHANGING
          ct_fieldcat      = pt_fieldcat.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'CHECKBOX'.
            ls_fcat-checkbox = 'X'.
            ls_fcat-edit     = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'ENTER_FIELD' OR 'DBLCLICK_FIELD'.
            ls_fcat-no_out  = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                               "build_fieldcat
    Cheers,
    Jose.

  • How to make few columns of single record inactive in Table conrol?

    Hi all,
    Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular  record , now table control  should contain ten records , but nine records are in editable state and one record in non editable state .
    How to make few columns of single record inactive in Table conrol?
    Thanks in advance.

    hi there...
    select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
    if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
    dont forget to modify sscreen after setting the attribute values.
    i hope this helps.
    do reward if helpful.

  • How to make a key field manadatory, in a Z-Table (SE11)

    Hi,
    I've created a Z-table is se11 and one of the key fields is IWERK. Now the user does not want this field to be blank when they enter data into the table via SM30.
    Does anyone know how to make this field so that a blank entry is not acceptable.
    Many Thanks!

    Hi Robert!
    One way would be to adjust SM30 to a mandatory field (in SE11 of course), but this field sounds like you can assign T001W as a check table. In the foreign key definition, you can give a error message, which is called in case of wrong entries in screens -> there is no empty entry in T001W, you can only maintain valid values and got a value list.
    Regards,
    Christian
    P.S.: No, you need to change SE11->Table maintenance generator->Enviroment->Modification->Maintenance Screens->Element list->Tab Special attr. column Input. Set 'required'. Otherwise empty is still allowed
    Message was edited by: Christian Wohlfahrt

  • How to make a new row as selected in adf table

    Hi,
    I am adding a new row to my table as below.
    DCBindingContainer bindingContainer =
    (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}");
    DCIteratorBinding iter = bindingContainer.findIteratorBinding("IfwSystemBrandView1Iterator");
    ViewObject vo = iter.getViewObject();
    row = vo.createRow();
    row.setNewRowState(Row.STATUS_INITIALIZED);
    vo.insertRow(row);
    This code is adding a new row at the end of the table.
    I want this new row to be selected after it gets added.
    How to achieve this??
    Thanks,
    Praveen

    You should mention your JDev version!!!!
    in 11g you can archive this like
    BindingContext bctx = BindingContext.getCurrentInstance();
    BindingContainer bindings = bctx.getCurrentBindingEntry()
    DCIteratorBinding dcIterator =
    (DCIteratorBinding) bindings.get("IteratorBindingName");
    Row rw = dcIteratorBinding.getRowSetIterator().createRow();
    rw.setNewRowState(Row.STATUS_INITIALIZED);
    //insert row to iterator
    dcIteratorBinding.getRowSetIterator().insertRow(rw);
    //make new row the current
    dcIteratorBinding.setCurrentRowWithKey(
    rw.getKey().toStringFormat(true));or better if you have access to the table (
    private void createRowInTable(RichTable table){
    CollectionModel model = (CollectionModel ) table.getValue();
    JUCtrlHierBinding _binding = (JUCtrlHierBinding) model.getWrappedData();
    DCIteratorBinding dcIteratorBinding= _binding.getDCIteratorBinding();
    Row rw = dcIteratorBinding.getRowSetIterator().createRow();
    rw.setNewRowState(Row.STATUS_INITIALIZED);
    //insert row to iterator
    dcIteratorBinding.getRowSetIterator().insertRow(rw);
    //make new row the current
    Key k = rw.getKey();
    dcIteratorBinding.setCurrentRowWithKey(k.toStringFormat(true));
    }Timo

  • How to make entry into table J_1IEWT_ACKN

    Dear Sir,
    As per SAP Note 1172387 , for  printing Acknowledgement Number in TDS Certificate (Tcode used for Certificate generation is J1INCERT) , Records pertaining to Acknowledgement Numbers need to be created in Table J_1IEWT_ACKN .
    Kindly guide us , as how can we created Records into this table .
    With Thanks and Regards
    Sonia Agarwala

    Hi ,
    Go to SE16 , Enter View Name -> V_EDSDC and Click on Display / Change Button to maintain entries .
    Please note that you must have authorization to do maintainance for this table ; failing which you can only view the table .
    If you are unable to add entries , I can tell you an alternative for doing so , through debugging  .

  • How to make allow null for a column in all table.

    Hi,
    I have a column "col1" in all tables (user made table) , i want to make it allow null
    please tel me how can it be done using single script.
    i mean in short way.
    yours sincerely.

    yes. absolutely you can.
    Look, what i got -
    Ranit>>  select 'alter table ' || table_name || ' modify("TIMESTAMP" null) ; ' from user_tab_columns where column_name='TIMESTAMP' and nullable ='N';
    'ALTERTABLE'||TABLE_NAME||'MODIFY("TIMESTAMP"NULL);'                           
    alter table FIXED_OBJ$ modify("TIMESTAMP" null) ;                              
    alter table SUMPARTLOG$ modify("TIMESTAMP" null) ;                             
    alter table SUMDELTA$ modify("TIMESTAMP" null) ;                               
    alter table ALL_SUMDELTA modify("TIMESTAMP" null) ;                            
    alter table DBA_EXP_FILES modify("TIMESTAMP" null) ;                           
    alter table WRI$_DBU_CPU_USAGE modify("TIMESTAMP" null) ;                      
    alter table DBA_CPU_USAGE_STATISTICS modify("TIMESTAMP" null) ;                
    7 rows selected.But, it is not over.
    Either - You have to do an 'EXECUTE IMMEDIATE' over these 'alter' scripts.
    OR - Take these scripts, put it into a <script_name>.sql file and then execute this file.
    Hope you understand.
    Edited by: ranit B on Dec 22, 2012 3:17 PM
    -- code added

  • How to make a form using a wizard when the table has no primary key ?

    Hi,
    I want to make a form to update, delete a table. The table has no primary key. The problem is that the Wizard ask for a primary key.
    How to avoid using a primary key ? i mean I don't want to create a primary key if is is possible.
    I would like to use the wizard; is it possible ?
    Thank you for your kind answers.
    Christian

    I believe the key is choosing 'Interactive' as opposed to 'Classic' in the implementation and then you can choose 'Existing Trigger' for the primary key source and it should work to use an existing column as your proimary key.

  • How to make entries in TVDIR

    Hi,
    I want to maintain table J_1ISTATECD. When I try to maintain I get the message "The maintenance dialog is incomplete or not defined.". After debugging I found out that there needs to be an entry for table J_1ISTATECD in either TVDIR or DD25L.
    How to maintain the entry in TVDIR or DD25L.
    Please help.
    Regards,
    Sriram

    Hi,
    TVDIR is the view directory.
    Well, first you transfer required data from J_1ISTATECD to an internal table ITAB.
    Then update TVDIR from this internal table using :
    MODIFY TVDIR from TABLE <itab>.
    Hope it helps.

  • How to make a field unique accross two or more tables?

    Hi Experts,
    We have a requirement where we need to establish uniqueness for accross two fields of two different tables.
    Consider the following example:
    Table Table1 has Field Field1 and Table Table2 has Field Field2.
    Table1>Field1 have the following values:
       Mnum_1
       Mnum_2
       Mnum_5
    and Table2>Field2 have the following values:
       Mnum_3
       Mnum_4
       Mnum_6
    Now we need to have the uniqueness defined in such a way that, adding Mnum_1 into Table2>Field2 should violate the constraint. And simillary adding Mnum_3 into Table1>Field1 should violate the constraint.
    We should be able to add a new value, say Mnum_7, into either of the column, but after adding into one, we should not be able to use the same value into the other table.
    We are using SAP MDM 5.5 SP06.
    Please let me know if this is possible and how. Even if we could define it using some valiation it would be helpful.
    BTW, Table1 is the Main table and Table2 is a Look Flat table.
    Thanks in Advance.
    Regards,
    Uday

    Hi Uday
    this is not possible. Unique keys are defined for a table and we cant link this definition across different tables.
    Even Validations work at atable level hence we can not check for the unique key violation using validations as they are in two diff tables.
    consider introducing 1 more field in table1 or 2 for defining the uniqueness may be or revisit the data model.
    Otherwise this can be controlled outside MDM. How are you maintaining values in these 2 tables- manually or via import. If this is via import and say the source files are excel then this can be checked in the excel sheet itself.
    best regards
    Ravi

  • Is there a tutorial on how to make a long press menu appear on a table item with storyboard?

    Hi there!
    I'm very new to app development and i've been playing around with designing a few. I wanted to know, how can you create a long press menu appear when pressing and holding on a table item. Id like it to pull up a menu with 3 options, each leading to its own view depending on what one is selected.
    Is there a decent tutorial out there for a beginner? I'm using the newest xCode with storyboard and all the tutorials i found are for older xCode versions.

    Greg,
    This topic is covered elegantly in an older book by Al Ward. The directions are too long to post here. The book is still available - at Amazon for $0.46 + postage!!
    http://www.amazon.com/s/ref=nb_ss_b?url=search-alias%3Dstripbooks&field-keywords=photoshop +elements+2+special+effects&x=11&y=12
    He wrote this for PEv.2, yet it requires only the basic tools which remain in the more recent versions of the program.
    Ken

  • How to make the SQVI through the linking of 4 tables

    I have a document no.i.e.9300801724.
    I am getting the Internal No ( DOCNO ) from J_1IPART2 by put the doc.no.9300801724,then,I am putting the Internal no. ( DOCNO ) into J_1IPART1 and get the output of Material Document (MBLNR).Third,I am using the table,SE16-MSEG,and getting the Purchase Order (EBELN ) by given the input of Material Document i.e. already got from J_1IPART1.Now,I want to make the SQVI of all these 3 tables with including a new table of BKPF sothat I could get document no. ( BELNR ) from BKPF.
    Now,the summary are:-
    1-J_1IPART2
    Input-FAWREF Output-DOCNO
    2-J_1IPART1
    Input-DOCNO Output-MBLNR
    3-MSEG
    Input-MBLNR Output-EBELN
    4-BKPF
    Final output should be BELNR
    Is it possible to get all the datas from making the SQVI of above 4 tables?
    Regards
    Pradeep Kumar Gupta

    Hi,
            This can be achived through info set query.  Below are the steps to create the info set query.
    1. first create SQ03 user group to which query will be assigned
    2. create infoset SQ02 and select the table and fields required for the output but ensure that there should be common field in each table you are using. system will show you the graphical display of table linkages.
    3. Assign usergroup to infoset
    4. Create query using SQ01 system will prompt you to select the info set and user group created in the above steps to select.
    5. Give the desired name in description and select the basic list icon to select the field that need to be displayed in the output.
    Hope it is clear and useful
    Regards,
    JB

  • How to make Single row of an entire collumn of table control- Changeable

    Hi ,
        In Module Pool , in table control , I've all the rows in a specific column as "read only". However, with a specific "if statement" I want one row of that column as editable.
    For example ,
                       if  itab-name1 = 'PRITHVI'.
                    Make that row, editable.
                    Keep the rest of the column unaffected.
    I used the following code in my program in PBO:
    module STATUS_0005 output.
    Loop AT SCREEN .
      if screen-name = '%#AUTOTEXT009'
       AND I_MARKLIST-STUDENT_NAME1 = 'SUNIL SHARMA'.
        SCREEN-INPUT = '1'.
        MODIFY SCREEN.
        ENDIF.
        ENDLOOP.
    endmodule.
    I've tried this, but in vain .. ! Please give me suitable solutions ASAP.

    Hi,
    try like this..
    in the PBO of screen flow logic..
    loop at I_MARKLIST with control tc.
      MODULE CHANGE.
    endloop.
    IN THAT CHANGE MODULE WRITE...
    IF I_MARKLIST-STUDENT_NAME1 = 'SUNIL SHARMA'.
    LOOP AT SCREEN.
      IF SCREEN-NAME = '%#AUTOTEXT009'.
       SCREEN-INPUT = 1.
      ELSE.
       SCREEN-INPUT = 0.
       MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    ELSE.
    LOOP AT SCREEN.
      SCREE-INPUT = 0.
      MODIFY SCREEN.
    ENDLOOP.
    ENDIF.

Maybe you are looking for