How to get the texts for each line item for Sales order in a smartform

I'm createing a smart form in which i need to display certain texts for each line item of a sales order. How can i get those??
I'm trying with the table STXH and FM read_text... but i'm not clear how and what i'm getting... can anybody pls help me.....

Hi There,
But then i will be getting only the value. i want to link that against the particular material of the Purchase Order.
Like for ex:
PO No.  Material Code        Line Item        Basic        Excise       Tax       Inv Value
0000001 5000251                010               100           16         4.64      120.64
0000001 5000252                020               200           32         9.28      241.28
Can u help me on this?
Regards,
Jitesh

Similar Messages

  • MRP RUN for the more than one line item in sales order.

    Hi ,
    In the sales order nuber of line item are , i will have to take MRP RUN for selected line item .
    So plz suggest what development will require?
    Abhay
    Edited by: abhay patil on May 30, 2008 8:52 AM

    HI,
    U can write separate prog. Which will ask sales order no. and from to line item or multiple line item of sale order. Then in loop internally pass the each line item no to MD50 prog. Which will run in background.
    I will give u sample prog. Which I had created for running MRP for all the lines items of given sales order in one go.
    *& Report  ZPRG_PP_001
    REPORT  ZPRG_PP_001.
    tables vbak.
    data: begin of it_vbap occurs 1,
            vbeln  type    vbap-vbeln,
            posnr  type    vbap-posnr,
          end   of it_vbap.
    DATA: P_MODE   TYPE    C.
          Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
    selection-screen begin of block b1 with frame title text-001.
      parameters :   p_vbeln  like  vbak-vbeln obligatory.
      selection-screen skip.
      parameters :   p_fore   radiobutton group mode,
                     p_back   radiobutton group mode default 'X'.
    selection-screen end   of block b1.
    at selection-screen.
    Check Sales Order
      if not p_vbeln is initial.
        select single * from vbak
          where vbeln eq p_vbeln.
        if sy-subrc <> 0.
          message e499(sy) with 'Invalid Sales Order no.' p_vbeln.
        endif.
      endif.
    start-of-selecTION.
    Get Sales order items
      select vbeln posnr from vbap
        into table it_vbap
        where vbeln eq p_vbeln.
    Set BDC mode
      if p_back eq 'X'.
        p_mode = 'E'.
      else.
        p_mode = 'A'.
      endif.
    Process MD50 BDC
      LOOP AT IT_VBAP.
        perform bdc_dynpro      using 'SAPMM61X' '0160'.
        perform bdc_field       using 'BDC_CURSOR'  'RM61X-TRMPL'.
        perform bdc_field       using 'BDC_OKCODE'  '/00'.
        perform bdc_field       using 'RM61X-KDAUF'  IT_VBAP-VBELN.
        perform bdc_field       using 'RM61X-KDPOS'  IT_VBAP-POSNR.
        perform bdc_field       using 'RM61X-BANER'  '1'.
        perform bdc_field       using 'RM61X-LIFKZ'  '3'.
        perform bdc_field       using 'RM61X-PLMOD'  '3'.
        perform bdc_field       using 'RM61X-TRMPL'  '1'.
        perform bdc_dynpro      using 'SAPMSSY0' '0120'.
        perform bdc_field       using 'BDC_OKCODE'   '=XBAC'.
        CALL TRANSACTION 'MD50' USING BDCDATA MODE P_MODE.
        CLEAR BDCDATA.
        REFRESH BDCDATA.
      ENDLOOP.
    end-of-selection.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.
    Ajay P. Nikte

  • How to change the characteristic value in a item of sales order by FM?

    Hi experts,
    I guess the FM BAPI_SALESORDER_CHANGE can implement my requirement. But I have made many testing program, that's all failed. I don't know which part is not correct. So could you give a very simple sample to me? Just change the characteristic value in a item of sales order, not do any change for other parts. Thanks in advanced.
    Regrads

    Hi Birendra,
    Thanks for you explain. I follow your guide to wirte abap program. But related characteristic value still not changed in SO main screen. could you give me some suggestion? Thanks a lot!
    type-pools: IBCO2,
                IBXX.
    data: l_CUOBJ type CUOBJ_VA,
          l_ibase type IBCO2_IBASE_REC,
          l_CONFIGURATION type IBCO2_INSTANCE_TAB2,
          w_CONFIGURATION type IBCO2_INSTANCE_REC2,
          l_ROOT_OBJECT type IBXX_BUSINESS_OBJECT.
    data: t_IBCO2_VALUE_TAB type IBCO2_VALUE_TAB,
          w_IBCO2_VALUE_REC type IBCO2_VALUE_REC.
    select single CUOBJ
      into l_CUOBJ
      from VBAP
      where VBELN = '0020030609'
        and POSNR = '000020'.
      CALL FUNCTION 'CUCB_GET_CONFIGURATION'
        EXPORTING
          INSTANCE                           = l_CUOBJ
        IS_BUSINESS_OBJECT                 =
        IV_MOMENT                          =
        IV_WITH_DB_INSTANCE                =
       IMPORTING
         IBASE                              = l_ibase
         CONFIGURATION                      = l_CONFIGURATION
        EO_CBASE_REF                       =
      EXCEPTIONS
        INVALID_INPUT                      = 1
        INVALID_INSTANCE                   = 2
        INSTANCE_IS_A_CLASSIFICATION       = 3
        OTHERS                             = 4
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    loop at l_CONFIGURATION into w_CONFIGURATION.
      l_ROOT_OBJECT = w_CONFIGURATION-OWNER.
    t_IBCO2_VALUE_TAB[] = w_CONFIGURATION-values[].
      read table w_CONFIGURATION-values into w_IBCO2_VALUE_REC with key ATINN = '0000000222'.
      w_IBCO2_VALUE_REC-ATWRT = 'TMP'.
      modify w_CONFIGURATION-values from w_IBCO2_VALUE_REC index sy-tabix.
      modify l_CONFIGURATION from w_CONFIGURATION index 1.
      clear: w_CONFIGURATION.
    endloop.
    CALL FUNCTION 'CUCB_SET_CONFIGURATION'
      EXPORTING
        ROOT_INSTANCE                      = l_CUOBJ
      IS_CBASE_HEADER                    =
      CHANGING
        CONFIGURATION                      = l_CONFIGURATION
    EXCEPTIONS
      INVALID_INPUT                      = 1
      INVALID_INSTANCE                   = 2
      INSTANCE_IS_A_CLASSIFICATION       = 3
      OTHERS                             = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CUCB_CONFIGURATION_TO_DB'
      EXPORTING
        ROOT_INSTANCE                       = l_CUOBJ
        ROOT_OBJECT                         = l_ROOT_OBJECT
      FORCE_NEW_INSTANCE                  =
      IV_WITHOUT_COMMIT_UPDATE            = ' '
      IV_MATERIAL                         =
      IV_LOCATION                         =
      IV_TECHS                            =
    IMPORTING
      NEW_INSTANCE                        =
    TABLES
      EXP_NEW_NESTED_CUOBJS               =
    EXCEPTIONS
      INVALID_INSTANCE                    = 1
      INVALID_ROOT_INSTANCE               = 2
      NO_CHANGES                          = 3
      ALREADY_REGISTERED_FOR_UPDATE       = 4
      INSTANCE_IS_A_CLASSIFICATION        = 5
      OTHERS                              = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to get report for deleted line items from sales orders

    Dear FRIENDS,
    please infirm the t.code or report for viewing the deleted line items from sales ordrers.
    Kindly do the neeedful.
    regards,
    N.M.PAWAR

    Hi,
    With transaction SE16 you can view table CDHDR for header changes and
    CDPOS for item changes. This includes deletion.
    OR
    GO to VA03 - Display Sales order -> Put order no : don't press enterbutton. -> Go to Enviornment -> changes -> You will get details
    Date ItmNo. SLNo Action
    Hope this help please close the thread if answers

  • Getting the documents in open line items for t-code f-53

    Hello gurus,
    In one scenario i want to get the document numbers against which the accounting document number is created after posting(saving) in t-code F-53. I am using BTE event -00001030 (posting of standard data). In this function module i am getting the tables t_bkpf and t_bseg etc.. in which the newly generated document number (Belnr) is present in the table. But the field AUGBL is blank. I want to get the document for which this clearing is being done. How can i get the open line items?

    Thanks, I solved the problem

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • How can i show item schedule line details in Tableview for each line item

    Hai all,
      I need to display schedule line details  in Tableview for each line item.for example in each row i need to put one column along with button , if i click on this table that row  should be expand vertically and must show all schedule line details in that.if i click my button again the visible expanded row should disappear...
    if anybody works on this previously plz send some sample code...
    leoiz....

    To modify rows the best way is with the Iterator (do a search in the weblogs for "Iterator")
    However for what you want to do I've only seen this really work successfully with a standard HTML table not using the tableView.

  • Data upload:F-02: each documnet number to be generated for each line item

    Dear ABAP experts,
    I have a requirement.
    When we uplaod customer or vendor invoices ,a document number will be generated or posted.
    Similarly, my requirement is :When I do the same kind of uploads, for each line item in an excel file each document number has to be generated or posted .This upload is using Tcode: F-02.
    How do I generate each document number for each line item (for each vendor or customer).
    Please do the needful.Either send me a sample code or an idea how to proceed.
    Thanks,
    Hema.

    Hi,
    using below code you can generate document number  for each line Item.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        IF  wa_final-field1 NE c_space.
    convert date to user format
          MOVE wa_final-field1 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BLDAT'
                                        v_date1.          " Document Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-BLART'
                                      wa_final-field4.          " Document Type
        PERFORM bdc_field       USING 'BKPF-BUKRS'
                                      wa_final-field2.          " Company Code
        IF  wa_final-field3 NE c_space.
    convert date to user format
          MOVE wa_final-field3 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BUDAT'
                                         v_date1.          " Posting Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-WAERS'
                                      wa_final-field5.          " Currency
        PERFORM bdc_field       USING 'BKPF-KURSF'
                                      wa_final-field6.          " Rate
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      wa_final-field7.          " Reference
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      wa_final-field8.          " Document Header Text
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      wa_final-field9.          " Cr.Posting Key
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      wa_final-field10.         " Cr.Vendorcode or GL Account
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    Begin of changes by someshwar
       IF v_field5 NE 'jpy' OR v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
    *Begin of changes by someshwar
         IF  wa_final-field16 NE '00000000'.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    *Changes end
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
    *Begin of changes by someshwar
       IF wa_final-field17 NE ''.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
       ENDIF.
    *changes end
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
        PERFORM save_post.
      ELSE.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    *Begin of changes by someshwar
       IF v_field5 NE 'jpy' AND v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
      ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
          PERFORM bdc_field       USING 'RF05A-NEWBS'
                                        '40'.                     " Cr.Posting Key
          PERFORM bdc_field       USING 'RF05A-NEWKO'
                                        '999996'.                 " Cr.Vendorcode or GL Account
          PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        'BU'.
    *&      Form  BDC_TRANSACTION
    FORM bdc_transaction  USING    p_tcode.
      DATA: l_v_string TYPE string.
      REFRESH i_messtab.
      CALL TRANSACTION p_tcode USING i_bdcdata
                       MODE   g_mode
                       UPDATE 'S'
                       MESSAGES INTO i_messtab.
      IF NOT i_messtab[] IS INITIAL.
        READ TABLE i_messtab WITH KEY msgtyp = 'E'.
        IF sy-subrc EQ 0.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'E'.
              PERFORM fill_error_table USING i_messtab-msgtyp
                                             i_messtab-msgid
                                             i_messtab-msgnr
                                             i_messtab-msgv1
                                             i_messtab-msgv2
                                             i_messtab-msgv3
                                             i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
          v_error = v_error + v_count.
        ENDIF.
        READ TABLE i_messtab WITH KEY msgtyp = 'S' msgnr = 312.
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM t100 WHERE sprsl = sy-langu
                                    AND   arbgb = i_messtab-msgid
                                    AND   msgnr = i_messtab-msgnr.
          l_v_string = t100-text.
          REPLACE  '&' WITH i_messtab-msgv1 INTO l_v_string .
          PERFORM fill_error_table USING i_messtab-msgtyp
                                             'ZMSG_FI'
                                             '025'
                                             i_messtab-msgv1
                                             wa_final2-field2
          v_success = v_success + 1.
        ELSE.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'S'.
              PERFORM fill_error_table USING  'E'
                                                   i_messtab-msgid
                                                   i_messtab-msgnr
                                                   i_messtab-msgv1
                                                   i_messtab-msgv2
                                                   i_messtab-msgv3
                                                   i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      CLEAR :  t100 , l_v_string .
    ENDFORM.                    " BDC_TRANSACTION
    Regards,
    Siva.

  • Provision that MRP is not be considered for specific line item of Sales Ord

    Is their any provision that MRP is not be considered for specific line item of Sales Order in MRP run? (Ex: Planned order is also generated for free/ADC sample quantity entered in Sales order)

    Dear
    Go to Sales and distribution--> Sales --> Sales Documents -->Schedule Lines --> Assign schedule line categories.
    Choose the item category (eg. TAN)  which is coming in the sales order and enter CN - No. Mat. Planning in the the manual schedule line category (MSL Ca) for MRP type PD.
    This will enable you to choose while creating sales order in the Tab procurement column SL Ca.
    Choose CN - No mat.planning for the schedule items which you don;t want MRP.
    Regards
    Soundar

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • I did a COPY of some text from a web page, and then did a PASTE into notepad.exe (Windows). The text from each line was duplicated -- on the line! Instead of "Fred", it became "Fred Fred".

    I just recently installed Firefox for the first time. It seems nice and quick. The version is reported as: "10.0.1".
    I wanted to save some text from a web page, so navigated to that page, selected the text, and pressed the Control-C combination to COPY the selected text to the buffer. For example, the text I selected looked something like this:
    Harry
    Ron
    Hermione
    Hagrid
    Albus
    NOTE: Each line of text has a small icon to the left of the text.
    It is not reasonable to COPY and PASTE each line individually, as there can be hundreds of lines of data. I recall, however, that
    doing a COPY and PASTE on this data into Microsoft's Excel will produce cells which have the icons included in the cell, but unfortunately one cannot can't get rid of them! At least I've never found a way to remove them, but that's another issue. :)
    Once I'd done the COPY operation I switched to a Notepad window and did a PASTE operation. To my surprise, the text from each line was duplicated. It looked like this:
    Harry Harry
    Ron Ron
    Hermione Hermione
    Hagrid Hagrid
    Albus Albus
    Thinking that there might be something unusual about the web page I looked at the source, but it appeared "normal" -- that is, as expected.
    Note: I have done this operation several times before, and have never seen this occur before.
    Note: In the actual data some of the lines have quoted text in them. Curiously there is weird behavior on these lines. In some cases the entire line is shown only once. (These occur at the top of the line, and the quoted text is at the beginning of the name.)
    When quoted text appears "later" in the name, in some cases the quoted text is duplicated, and in other cases the quoted text is missing altogether! I have also noticed an error with the quoted text, and so will be reporting that to the web site which generates the HTML.
    Note that each line of "text" is "anchor text", so if I click on a name the browser navigates to a page for that name.
    I believe that the problem is that the COPY operating in Firefox is not simply copying the visible text, but also the ALT=
    Below is a sample of what the source HTML looks like:
    &lt;a class="lnk" target="_blank" href="http://details.aspx?id=Harry">
    &lt;img width="16" height="16" alt="Harry" class="tb_icon" src="http://.../Harry.gif"/>
    &lt;span>Harry&lt;/span>&lt;/a>
    <br/>
    (Because of the true length of the lines in the source HTML, I have stripped out the actual URL of the site.)
    To make sure I wasn't imaging this difference I repeated the process within Internet Explorer. In that browser I did not get duplicated data.

    Try:
    *Extended Copy Menu (fix version): https://addons.mozilla.org/firefox/addon/extended-copy-menu-fix-vers/

  • How to get the Text name to pass in the  parameter header in save_text

    Hi,
      I am trying to change the long text of operation for historical order by using the flat file.I am using the save_text to do this.I would like to know how  to get the text name in order to pass the parameter header in save_text.
      I went to the tcode iw62 to get the header information of the long text.300100000009200000001
    i would like to know what this 1000000092 indicates and where is this value updated in the table so that i can link it thru the order no  to get the link and pass it in the text_name.
      can anyone help me out?
    krishnan

    Hi,
    Your query is.
    I went to the tcode iw62 to get the header information of the long text.300100000009200000001
    i would like to know what this 1000000092 indicates
    In above number
    300 - Client
    1000000092 - AUFPL - Routing number of operations in the order (You can fetch this from table HIVG)
    00000001 - APLZL - General counter for order ( You can fetch this from table HIVG).
    BR,
    Vijay

  • How to get the text present in JTextArea

    i am writing application for some system to be computerised and i am not getting how to get the text present in text area and set it into database...can anybody suggest me solution??

    You must have named the TextArea like
    JTextArea textArea;so, use the getText() method like
    String strTextAreaContents = textArea.getText();You can then use JDBC to connect to the database that you want and save your contents that is now in strTextAreaContents.
    -- Srikanth

  • How to restrict separate payment document for each line item in APP

    HI Experts
    PLs let me know how to restrict separate payment document for each line item in APP
    Thanks
    Sneha
    Edited by: Sneha R on Apr 14, 2009 4:18 PM

    Sneha,
    If your query was to group items for payment ,in FBZP  co code data for payment method there are 2 options 1.group payment for marked items 2.payment per due date.
    Also in the Vendor master there is a flag which will ensure that each item is paid individually,if this is what you were looking for  ( FK02 change vendor).
    In case you want to group items to be paid together Payment Grouping Key can be assigned in Vendor Master .
    Shony

  • How to get Characteristic Values assigned to the line item of Sales Order?

    Hi,
    I want to get the Characteristic Values( Variant Configuration )assigned to First Line Item of Sales Order.
    I was using the Fn. Mod.: VC_I_GET_CONFIGURATION_IBASE,
    this fn. mod. giving all the Characters but not the assigned characteristic values.
    Is there any other way to find characteristic values of sales order.
    Thanks,
    vinayak.
    Message was edited by: vinayaga sundaram

    For example, please see this example program.
    It lists the characteristic names, the values, and the description of the values which are tied to a sales document.
    report zrich_0001.
    * Internal Table for Characteristic Data
    data: begin of i_char occurs 0.
            include structure comw.
    data: end of i_char.
    data: xcabn type cabn.
    data: begin of xcawn,
          atwtb type cawnt-atwtb,
          end of xcawn.
    data: xvbap type vbap.
    parameters: p_vbeln type vbap-vbeln,
                p_posnr type vbap-posnr.
    start-of-selection.
      select single * from vbap into xvbap
                 where vbeln = p_vbeln
                   and posnr = p_posnr.
      clear i_char.  refresh i_char.
    * Retrieve Characteristics.
      call function 'CUD0_GET_VAL_FROM_INSTANCE'
           exporting
                instance           = xvbap-cuobj
           tables
                attributes         = i_char
           exceptions
                instance_not_found = 1.
      loop at i_char.
        clear xcabn.
        select single * from cabn into xcabn
                 where atinn = i_char-atinn.
        clear xcawn.
        select single cawnt~atwtb into xcawn
                   from cawn
                     inner join cawnt
                       on cawn~atinn = cawnt~atinn
                      and cawn~atzhl = cawnt~atzhl
                          where cawn~atinn = i_char-atinn
                            and cawn~atwrt = i_char-atwrt.
        write:/ xcabn-atnam, i_char-atwrt, xcawn-atwtb.
      endloop.
    Regards,
    RIch Heilman

Maybe you are looking for