LSMW - simple doubts

Hi Experts,
Pls. let me clarify,
1 - I did changes to existing_LSMW and saved. Now, I wanna to Transport it to QA, so, Where shuld I activate this LSMW? or Its NOT necessory to activate, bfor Transporting?
2 - In this LSMW, some data is declaring in Global_Data! If suppose, I started a new LSMW project, Where can I see this option? I mean, Navigation to declare my data in <i><b>Global_Data</b></i>?
3 - At some nodes, am getting the message "- default settings r changed"! Wht does it mean?
4 -  I wanna to convert flat file external DATE  to internal date format, Can I go for FM DATE_CONVERT_INTERNAL, if so, Wht is the function of <i><b>Convert_Date</b></i>(like Global_Data)  with in LSMW?
5 - Which is safe for date conversion either FM or shuld i go with Formatting options?
thanq.
Message was edited by:
        Srikhar
Message was edited by:
        Srikhar

thanq.
<i>At some nodes, am getting the message "- default settings r changed"! Wht does it mean?</i>
yes, I made some changes in ABAP code, of that corresponding node. But, in SAP point of view, R they(just ABAP code!) r Default changes?
<i>I wanna to convert flat file external DATE to internal date format, Can I go for FM DATE_CONVERT_INTERNAL, if so, Wht is the function of Convert_Date(like Global_Data) with in LSMW?</i>
So, u mean, just SAP suggeting to abapers, those names, like global_data, convert_data, for using FORM names in step 6 ?
thanq.
Message was edited by:
        Srikhar
Message was edited by:
        Srikhar

Similar Messages

  • EXTRACTing to TEXT file in Data Warehouse - Simple doubts!

    Hi Experts,
    Pls. clarify my simple doubts, in data EXTRACTing prog.,(data extract from SAP to text file in Application server, prog. runs in back ground)
    For the Dataware house mapping, I hv been asked to make the following changes,
    1) Presently, there is NO column headings in Text file, so I need to add the column Headings - How to get it done?
    2) presently, its NOT tab deliminated, so, I need to make it to TAB deliminated- How to achieve it?
    I am here paste some piece of code, so that U will get understand well.
    PERFORM open_dataset_zdata_whouse_04.
        DESCRIBE FIELD i_tab LENGTH tfr_length IN BYTE MODE.
        LOOP AT i_itab.
          TRANSFER i_itab TO transfer_file1 LENGTH tfr_length.
        ENDLOOP.
        CLOSE DATASET transfer_file1.
    ThaNQ.

    See the below code :
    parameters: d1 type localfile default
    '/usr/sap/TST/SYS/Test.txt'.
    data: begin of itab occurs 0,
          field1(20) type c,
          field2(20) type c,
          field3(20) type c,
          end of itab.
    data: str type string.
    constants: con_tab type x value '09'.
    if you have a newer version, then you can use this
    instead.
    *constants:
       con_tab  type c value
    cl_abap_char_utilities=>HORIZONTAL_TAB.
    start-of-selection.
    itab-field1 = 'ABC'.
    itab-field2 = 'DEF'.
    itab-field3 = 'GHI'.
    append itab.
    itab-field1 = '123'.
    itab-field2 = '456'.
    itab-field3 = '789'.
    append itab.
      open dataset d1 for output in text mode.
      loop at itab.
        translate itab using ' # '.
        concatenate itab-field1 itab-field2 itab-field2
    into str
                      separated by con_tab.
        translate str using ' # '.
        transfer str to d1.
      endloop.
      close dataset d1.
    above code for tab delimited.
    for heading then you can write simple logic in the loop of internal table
    loop at itab.
    if sy-tabix = 1'
    move heading data to file.
    endif.
    endloop.
    Thanks
    Seshu

  • A very simple doubt w.r.t ESB

    Hi All
    I have a very simple doubt yet very important for all the new BPEL guys (I feel so )
    I am doing order booking example as part of my BPEL learning!!
    My doubt is:
    When Client application calls OrderBookingESB , a message is being sent on the ESB.my Q is if the user places two different orders in a same session ,then will there be two messages on the same instance of ESB (assuming first message is not consumed b4 placing the second order) or two instances of ESB will get created each having one Message.
    And is it anytime possible that an ESB instance can have more than one message.??
    pls clarify once.
    thanks
    naveen

    Every time you send a message to the bus..it will create an instance for.
    There is no such thing as 'same' session on the bus..it just receives the messages and does his thing with it.
    So when you send both messages to the bus (wheter or not it maybe be in the same session) you will still get 2 new instances..and both instances will start his own processes for lets say the bpel...so you will also have 2 instances of the bpel process.
    "ESB instance can have more than one message"
    if i've understand you correctly i would say no.....1 message on the bus is 1 instance of your esb project. Between the different components in your esb project there will be new messages constructed...but to start with..it just needs 1 message

  • Simple Doubt in BDC

    Hi friends,
       I am new to BDC .I am just trying a simple code which is written already.
       This is the simple code to fill the transaction VK13 first screen.
      PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RV13A-KSCHL'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
      PERFORM bdc_field       USING 'RV13A-KSCHL'
                                           wa_report-kschl.
      PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RV130-SELKZ(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                           '=WEIT'.
      PERFORM bdc_field       USING 'RV130-SELKZ(01)'
                                            'X'.
      CALL TRANSACTION 'VK13' USING i_bdc_tbl
                              MODE  'A'.
    FORM bdc_dynpro USING program dynpro.
      CLEAR i_bdc_tbl.
      wa_bdc_tbl-program  = program.
      wa_bdc_tbl-dynpro   = dynpro.
      wa_bdc_tbl-dynbegin = 'X'.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_DYNPRO
    FORM bdc_field USING fnam fval.
      CLEAR i_bdc_tbl.
      MOVE fnam TO wa_bdc_tbl-fnam.
      MOVE fval TO wa_bdc_tbl-fval.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_FIELD
    When execute this code it is just showing the empty screen of transaction vk13. It is not filling the condition type field with whatever value i am passing. When go in debugg mode i am not getting the logic again and again it is going to the first screen of vk13 and asking to enter the value whwn the statement CALL TRANSACTION is getting executed. It is clear to me.
    My main doubt is we are clearing the internal table i_bdc_tbl before calling the transaction once we move the value to the specific field.I am not getting what they tried to do there.Simply moving one record to internal table and again clearing it then moving a next record and clearing it again before calling the transaction.
    What we are trying to do by this?Can any one explain me.
    Please help me out in understanding this.
    Thanks in Advance.

    Hi Shri,
    You can go thru these links for more info on BDC:
    http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sap-img.com/bdc.htm
    www.sappoint.com/abap/bdcconcept.pdf
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.planetsap.com/bdc_main_page.htm
    Reward points if this helps.
    Manish

  • Simple doubts with scenarios and services

    One simple and "basic" doubt
    Imagine I had developed an IDOC-IDOC scenario or File-IDOC, it doesn't matter...
    In my Integration Directory all the services and receivers, senders agreements and determinations remain there...
    First Doubt:
    How can I make them visually disappear without deleting them? Meaning, how can I disable them?
    Second Doubt:
    At the moment I would like to start another scenario, but that scenario will use one of the business systems created. How can I disable the other the interface determination and the receiver agreement from the other service, so that the older service won't get in execution?
    When I activate the new service, he runs the older one instead of the newer...
    Any help

    hello gonacalo...
    u r misunderstanding a few things...
    when u use the term scenario, its meant for a whole development...
    within an scenario u can have different business systems which r assigned to various sender/receiver channels and interfaces...
    u can disable the communication channels and not the interfaces because they r meant specificallly as senders or receivers...
    when a user opens a scenario , he can open his own business system components..and if u want all the determinations, agreements to be not viewed by the user in a single scenario , u may well add them to a different scenario....
    hope this eases u a bit...
    regards..
    vishal

  • Simple doubt in select statement

    hi all,
    Although this is a very simple ques.
    Can u pl tell me why i m not getting the value into v_adrnr ?
    Chk the following code.
    V_VBELN  = '0080000001'.
      SELECT SINGLE ADRNR
             FROM VBPA
             INTO V_ADRNR
             WHERE VBELN = V_VBELN
             AND   PARVW = 'BP'.
    i have cheked the table vbpa for the above mentioned conditions.I can see the
    value for adrnr in database as 0000022741.
    But while i run the above code i cant see value on v_adrnr.
    Pl help.

    First PARVW has a domain with a conversion routine based on table TPAUM so "BP" is internal code "RE"
    Use CONVERSION_EXIT_PARVW_INPUT
    CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'
      EXPORTING
        input = V_PARVW
      IMPORTING
        output = V_PARVW.
    Second
    Have you defined V_VBELN with reference to the element VBELN, char 10 with conversion Alpha
    Then it should work
    Regards

  • LSMW- Few doubts?

    Hi,
    Please tell me in what scenarios shall we go for LSMW with Batch Input Recording and in what scenerios shall we go for Direct Input Method in LSMW? Urgent.
    Regards,
    MD

    Hi,
    This one is the most complete document for the same
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://service.sap.com/lsmw.
    http://****************/Tutorials/LSMW/LSMWMainPage.htm
    Here is a step by step guide on LSMW
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    LSMW IDOCs
    check these threads..
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    Lsmw
    LSMW with TABLE CONTROL
    Refer the links -
    lsmw table control
    Re: Table control in LSMW
    Table control in LSMW
    Table Control in LSMW
    Re: Table Control in LSMW
    just refer to the link below
    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • IDOCs - Simple doubt in INBOUND DELVRY. IDOC-DELVRY03, Process code isDELV?

    Hello Experts,
    Our SAP system receives the Inbound IDOC for Delivery from Gentran.
    Further details are,
    Process code: DELV
    IDOC type: DELVRY03
    Message type: SHPCON
    Message code: TOC
    Parther profile: Account # of Ship To party
    So, my requirement is that,
    If this Inbound Delivery IDOC contans the Message Code as TOC, I need to insert/add my logic
    so, let me know that,
    1) Request u that, let me know How to go ahead, becoz am new IDOCs, like, Is I need to look for the any Usre Exit? I mean, At Wht point I need to add my code in this whole process?
    thank you
    Edited by: Srinivas on Jun 29, 2008 11:15 PM

    Hi Srinivas,
    Use the below user exit for creating a STO order.
      CALL CUSTOMER-FUNCTION '003'
           EXPORTING
                IDOC_CONTROL        = IDOC_CONTRL
                IDOC_DATA           = IDOC_DATA[]
                DELIVERY_HEAD       = S_KOKO
                DELIVERY_ITEM       = T_KOPO[]
                PACKING_HEAD        = T_VSEK[]
                PACKING_ITEM        = T_VSEP[]
                PROCESSING_STATUS   = F_STAT
           IMPORTING
                WARNING_IGNORE      = F_FLAG
           CHANGING
                PROCESSING_PROTOCOL = T_PROT[]
           EXCEPTIONS
                OTHERS              = 0.
    Because by the time you get to this point, the delivery document is created. I believe you need to create the STO order only once the delivery document is created.
    Thanks,
    Mahesh.

  • SET PARAMETER ID sak - Simple doubt

    Hi Experts,
    PLs. clarify me that,
    I copied standard SAP prog. RFITEMGL into my_z_rfitemgl prog.
    Actually, this prog. is for Transaction code of FBL3N.
    So, issue is that,
    If I(some one else) ran this tx FBL3N, with selection criteria, say, G/L acct of my_acct_01 and with company code of my_cc_01, then get BACK/F3'ed.
    Then, If I ran my_z_rfitemgl prog. with my OWN selection criteria in my own selection screen, say,
    my_acct_02
    my_cc_02
    BUT, SOME TIMES, still, system is fetching the data of my_acct_01, my_cc_01.
    This is mainly happening with 0000000 values in Acct filed of FBL3N tx.
    1) So, pls. let me know , How to fix it?
    I guess, SET PARAMETERR ID SAK space; SET PARAMETERR ID BUK space will help me.
    2) if so, Shuld I write it at the beginning of the prog?
    thanq
    Edited by: Srinivas on Apr 9, 2008 5:35 AM

    thanq
    u mean, like
    START-OF-SELECTION.
    LOAD-OF-PROGRAM.
    1) Its enough?
    2 )can u explain, pls. the follwing,
    Be aware that RFITEMGL use the parameter id to communicate with the LDB program behind. (So if your Z-program does not clear each and every parameter used by the standard program, some "ghostly" selections may arise in ldb program)
    am passing G/L accts, BUKRS, 2 check boxes from my_z_prog.
    3 )So, do, U mean,  I need to clear them, at the beginnning?
    thanq
    Edited by: Srinivas on Apr 9, 2008 6:19 AM

  • Simple doubt in BDC  Call Transaction Method

    Hi Friends,
      When i try to call vk13 transaction and pass the screen field values for the second screen and execute it it is displaying properly.But when i try to pass the different value in the bcddata internal table it is changing properly but in the screen it not updating that value.Alawly the screen fields are taking the values passed the first time.But in the internal table which we are oassing to the calltransaction it is changing correctly but not in the corresponding screen fields. Why it is happening so. Can any one help me out of this problem.
    Thanks in Advance.

    I am not passing through the selection screen . It is like iteractive report. when i select the particular line in the list output then the screen fields should take the values from that selected line. First time when i select the line it is taking properly.
    But next time when i select the line the content of the i_bdc_tbl is changing correctly but when it enter in to the transaction it is not taking the values from the i_bdc_tbl. Simply it is displaying the screen fields with the old values. It is not updating the screen fields with the values from the i_bdc_tbl. Why the screen fields are not replaced with the value of i_bdc_tbl? Why it is not getting refreshed with the new values?
    Just i am posting the bdc portion of my code here. So you can help me out on this.
    AT LINE-SELECTION.
      SELECT SINGLE kozgf FROM t685 INTO v_kozgf
                          WHERE kschl = wa_report-kschl.
      SELECT kolnr kotabnr FROM t682i INTO TABLE i_t682i
                     WHERE kozgf = v_kozgf.
      SORT i_t682i BY kolnr.
      READ TABLE i_t682i WITH KEY kotabnr = wa_report-tabna+1(3)
           TRANSPORTING NO FIELDS.
      CHECK sy-subrc = 0.
      v_index = sy-tabix.
      REFRESH i_bdc_tbl.
      l_tabix = '01'.
      PERFORM f_vk13.
      CONCATENATE 'RV13' wa_report-tabna  INTO v_bdc_val_field.
      PERFORM bdc_dynpro      USING v_bdc_val_field '1000'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'F004-LOW'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ONLI'.
      CREATE DATA v_rec  TYPE (wa_report-tabna).
      ASSIGN v_rec->* TO <wa_table>.
      SELECT SINGLE *  FROM (wa_report-tabna) INTO <wa_table>
      WHERE kschl = wa_report-kschl AND matnr = wa_report-matnr AND knumh = wa_report-objectid.
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname        = wa_report-tabna
        TABLES
          dfies_tab      = lwa_tabna
        EXCEPTIONS
          not_found      = 1
          internal_error = 2
          OTHERS         = 3.
      READ TABLE lwa_tabna WITH KEY fieldname = 'KSCHL'.
      p1 = sy-tabix + 1.
      READ TABLE lwa_tabna WITH KEY fieldname = 'MATNR'.
      p2 = sy-tabix.
      LOOP AT lwa_tabna.
        v_field = lwa_tabna-fieldname.
        IF lwa_tabna-position BETWEEN p1 AND p2.
          ASSIGN COMPONENT lwa_tabna-position OF STRUCTURE <wa_table> TO <fld>.
          PERFORM f_vk13_s2 USING lwa_tabna-fieldname <fld>.
        ENDIF.
      ENDLOOP.
      PERFORM bdc_field       USING 'RV130-DATAM'
                                       wa_report-fdate_value_new.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    'ONLI'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'F001'.
      CALL TRANSACTION 'VK13' USING i_bdc_tbl
                              MODE  'A'.
    FORM f_vk13.
      DATA: l_tabix(2) TYPE c.
    *Condition type
      PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RV13A-KSCHL'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'RV13A-KSCHL'
                                     wa_report-kschl.
    *Key combination
      PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RV130-SELKZ(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=WEIT'.
      PERFORM bdc_field       USING 'RV130-SELKZ(01)'
      l_tabix = v_index.
      SHIFT l_tabix RIGHT.
      OVERLAY l_tabix WITH '00'.
      CONCATENATE 'RV130-SELKZ(' l_tabix ')' INTO v_bdc_field.
      PERFORM bdc_field       USING v_bdc_field
                                    'X'.
    ENDFORM.                                                    "f_vk13
          FORM BDC_DYNPRO
          This form accepts the program name and screen number
          and places the values into the I_BDC_TBL internal table.
    FORM bdc_dynpro USING program dynpro.
      CLEAR wa_bdc_tbl.
      wa_bdc_tbl-program  = program.
      wa_bdc_tbl-dynpro   = dynpro.
      wa_bdc_tbl-dynbegin = 'X'.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_DYNPRO
          FORM F_BDC_FIELD
        This form accepts the field name and the corresponding value
        for that field and places them into the I_BDC_TBL internal table.
    FORM bdc_field USING fnam fval.
      CLEAR wa_bdc_tbl.
      MOVE fnam TO wa_bdc_tbl-fnam.
      MOVE fval TO wa_bdc_tbl-fval.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_FIELD
    *&      Form  f_vk13_s2
          text
    -->  p1        text
    <--  p2        text
    FORM f_vk13_s2 USING p_fieldname p_fld.
      CONCATENATE wa_report-tabna '-' p_fieldname INTO v_bdc_val_field.
      CHECK NOT p_fld IS INITIAL.
      PERFORM bdc_field USING v_bdc_val_field p_fld.
    ENDFORM.                                                    " f_vk13_s2
    Thanks.

  • Simple Doubt in JSP

    I have a set of check boxes and corresponding text boxes in a HTML form. I want to display the text box value if the corresponding check box is checked.
    Can anybody tell me how to accomplish this?

    I have a set of check boxes and corresponding text
    boxes in a HTML form. I want to display the text box
    value if the corresponding check box is checked.
    Can anybody tell me how to accomplish this?when are you trying to display the text box value? After they hit a submit button or something? If thats true then you can if you want write a servlet or jsp which will handle the POST action. Then you can get the value depending on what you named it in them in the JSP.
    So if you named your field something like:
    <input type="text" name="text_one"/><input type="checkbox" name="mycheckbox" value="one"><br>
    <input type="text" name="text_two"/><input type="checkbox" name="mycheckbox" value="two"><br>
    <input type="text" name="text_three"/><input type="checkbox" name="mycheckbox" value="three"><br>
    Now you can do:
    String[] checkBoxValues = request.getParameterValues("mycheckbox");
    for(int i = 0; i < checkBoxValues.length; i++) {
    if(checkBoxValues.equals("one"))
    System.out.println(request.getParameter("text_one");
    else if(checkBoxValues[i].equals("two"))
    System.out.println(request.getParameter("text_two");
    else if(checkBoxValues[i].equals("three"))
    System.out.println(request.getParameter("text_three");
    Obviously there probably way better ways to do this but this should at least lead you in the right direction.
    -Chuy

  • SIMPLE DOUBT IN ALV INTERACTIVE REPORTING

    HI EXPERETS,
    This is part of code in alv interactive reporting.
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN '&IC1'.
          READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
          PERFORM BUILD_FIELDCATLOG_EKPO.
          PERFORM EVENT_CALL_EKPO.
          PERFORM POPULATE_EVENT_EKPO.
          PERFORM DATA_RETRIEVAL_EKPO.
          PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
          PERFORM DISPLAY_ALV_EKPO.
      ENDCASE.
    ENDFORM.                    "user_command
    In This i didn't get wat's the meaning of    WHEN '&IC1'.What is
    actually &IC1 means.
    plz help me.
    Regards
    Suresh kumar

    HI
    PLZ REFER TO THIS
    *& Report  ZTESTDEMO_INTERACTIVE_LIST_2
    REPORT  ZTESTDEMO_INTERACTIVE_LIST_2.
    TABLES: MARA,MARC,MARD.
    * internal table itab_mara 3 fields matnr, ernam,mtart
    DATA: BEGIN OF ITAB_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,  " material number
    ERNAM LIKE MARA-ERNAM,  " name of person who create
    MTART LIKE MARA-MTART,  " Material Type
    END OF ITAB_MARA.
    * internal table itab_marc 3 fields matnr, werks,lvorm
    DATA: BEGIN OF ITAB_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    WERKS LIKE MARC-WERKS,  " Plant
    LVORM LIKE MARC-LVORM,  " Flag Material for Deletion at Plant Level
    END OF ITAB_MARC.
    * internal table itab_mard 2 fields
    DATA: BEGIN OF ITAB_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,  " Storage Location
    END OF ITAB_MARD.
    SELECT-OPTIONS: S_MTART FOR MARA-MTART.
    INITIALIZATION.
    S_MTART-LOW = 'HALB'.
    S_MTART-HIGH = 'HAWA'.
    S_MTART-OPTION = 'BT'.
    APPEND S_MTART.
    START-OF-SELECTION.
    SELECT MATNR ERNAM MTART FROM MARA INTO TABLE ITAB_MARA WHERE MTART IN
    S_MTART.
    PERFORM DISPLAY.
    TOP-OF-PAGE.
    WRITE:/2(15) 'MATERIAL NO',20(20) 'CREATED BY',45(15) 'MATERIAL TYPE'.
    FORM DISPLAY.
    LOOP AT ITAB_MARA.
    WRITE:/ ITAB_MARA-MATNR UNDER 'MATERIAL NO' HOTSPOT ON,ITAB_MARA-ERNAM
    UNDER 'CREATED BY',ITAB_MARA-MTART UNDER 'MATERIAL TYPE'.
    HIDE: ITAB_MARA-MATNR.
    ENDLOOP.
    ENDFORM.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN 1.
    SELECT MATNR WERKS LVORM FROM MARC INTO TABLE ITAB_MARC WHERE MATNR =
    ITAB_MARA-MATNR.
    PERFORM DISPLAY1.
    WHEN 2.
    SELECT MATNR LGORT FROM MARD INTO TABLE ITAB_MARD WHERE MATNR =
    ITAB_MARC-MATNR.
    PERFORM DISPLAY2.
    when 3.
    sy-lsind = 0.
    ENDCASE.
    FORM DISPLAY1.
    LOOP AT ITAB_MARC.
    WRITE:/ ITAB_MARC-MATNR HOTSPOT ON, ITAB_MARC-WERKS,ITAB_MARC-LVORM.
    HIDE: ITAB_MARC-MATNR.
    ENDLOOP.
    WRITE:/ SY-LSIND.
    ENDFORM.
    FORM DISPLAY2.
    LOOP AT ITAB_MARD.
    WRITE:/ ITAB_MARD-MATNR, ITAB_MARD-LGORT.
    ENDLOOP.
    WRITE:/ SY-LSIND.
    ENDFORM.
    regards
    ravish
    <b>plz dont forget to reward points if useful</b>

  • Simple doubt in partner determination procedure

    Hi gurus,
    I have a problem with a partner determination procedure. I need that a marketing campaing has a partner determination procedure in which Responsible Person will be mandatory with two assignments.
    In my partner determination procedure I select 2 as minumun value but the marketing campaing allows only one Responsible Person assigment.
    It's possible to make a partner function mandatory with a minimun number of partners?
    Thanks in advance.
    Javier Merino

    hi guys
    i have a query regarding access sequence in partner determination in SAP CRM.problem is that when i am trying to create a partner determination procedure using access sequence
    Business Partner Relationship->Activity Partner->User
    having three partner functions :
    Sales Prospect
    Contact Person
    Person Responsible
    there is deadloack arising in contact person and person responsible i.e. partner function is not being determined using the above access sequence
    i have maintained same relationship categories.please tell me whether deadlock is a problem or not because my main concern is when i am trying to run Lead using above mentioned partner determination procedure i am not able to run the LEAD.for instance ideally what should be happening is :
    there are three blank boxes
    one of contact person ,another of person responsible and finally of sales prospect.now since i have defined the BP relationship,so using above determination procedure what shoulod be happening is that if
    m writing any BP no. in sales prospect then conatct person should be dispalyed automatically because of the relationship i have maintained in BP.
    but its not happening ,i have to fill each entriers manually
    please guide me to some solution
    hoping of an immediate help to a silly problem which i guess m able to define appropriately
    thanks & regards
    ashish

  • Some simple doubts

    import java.util.*
    Here what is "java.util.*"?? Is it a package name?
    Also what is the exact meaning of "System.out" in System.out.print? Is System is adefault package or library?
    Forgive my ignorance...and Thanks in advance
    regards
    naveen

    DFA1 wrote:
    util is the package, * means that all the classes from the package util will be imported.
    System is a class, out is a PrintStream and is a static member of class System. print is the method of the PrintStream out.Correct, but...
    >
    Read Java API before you start programming.
    http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/System.html
    At least link to the Java 6 javadocs :/ I know google tends to return a link to 1.4.2 first, but you can easily remedy that by specifically adding java 6 to the search query.

  • A Java SWT simple doubt

    import org.eclipse.swt.SWT;
    import org.eclipse.swt.events.SelectionEvent;
    import org.eclipse.swt.events.SelectionListener;
    import org.eclipse.swt.layout.RowLayout;
    import org.eclipse.swt.widgets.Button;
    import org.eclipse.swt.widgets.Display;
    import org.eclipse.swt.widgets.Shell;
    import org.eclipse.swt.widgets.Text;
    public class SWTExample2 {
         public static void main(String[] args) {
               Display display = new Display();
               Shell shell = new Shell(display);
               shell.setLayout(new RowLayout());
               shell.setSize(300, 300);
               shell.setText("Example 2");
               final Button button = new Button(shell, SWT.PUSH);
               button.setText("Click me");
               final Text text = new Text(shell, SWT.SHADOW_IN);
               text.setBounds(100, 0, 800, 100);
               button.addSelectionListener(new SelectionListener(){
                   public void widgetDefaultSelected(SelectionEvent arg0) {
                        text.setText("Button Selecte");
                   public void widgetSelected(SelectionEvent arg0) {
                        text.setText("Button Selecte");
               shell.open();
               while(!shell.isDisposed()){
                    if(!display.readAndDispatch()){
                         display.sleep();
    }How do I increase the size of the textbox. setBounds does not seem to work

    This isn't an SWT forum.

Maybe you are looking for

  • Iphone 4s unable to sync to itunes on windows computer

    When I try to sync my iphone 4s to itunes on my windows 7 computer, it pops up with an error message saying " itunes cannot read the contents of iphone, go to summary tab and restore to factory settings", I have the most up to date version of itunes

  • HT1222 my iphone 4s is passcode locked and diabled

    my iphone is passcode locked and disabled, ive tried to connect t i tunes to fix it but it didnt work

  • Using a date field to remove 'duplicates'

    Hi all, Really struggling here, would appreciate some fresh ideas !! I have a ton of rows in a table that are duplicates with the exception of a date field that differs very slightly. e.g. TO_CHAR(START_DATE,' 13-JUN-2007 12:39:03 13-JUN-2007 12:39:1

  • ROE for exchange rate type M_CN

    Hello, The exchange rate type M_CN has been defined to capture the "Bank of china ROE" and the customer master data is also updated with M_CN. However, the accounting posting consider the ROE for Normal posting rate M. What could be wrong? Regards, S

  • Jump without keeping filters in WAD

    Q1 - >  Q2 detail - > Q3 detail > Q4 detail Q1, Q2, Q3 & Q4 are four existing queries. The jump Q1 - > Q2 is created. I need to create two jumps from Q2 to Q3 and to Q4 (jump from WAD to  WAD) The problem is that in Q1 i have a filter (in filter zone