Find all PO number based on Header Text

Hello Everyone,
I have a requirement where in I am making a search help with PO number and Header Text as the search fields.Now,with the PO number I am able to find all the header text by using READ_TEXT FM.
Now if user enters the header text  only and presses F4 then all corresponding PO numbers should be also displayed .
Kindly let me know if there is any way of fetching the PO numbers based on the header text.
Thanks,
Regds,
Vijaya
Moderator message - Moved to the correct forum
Edited by: Rob Burbank on Nov 18, 2009 9:11 AM

Hi,
What exactly you want ?Check in the table
J_1IEXCDTL                     Excise invoice line item details
J_1IEXCHDR                     Excise invoice header details
Regards,]
Chetan.

Similar Messages

  • How to find SOLMAN CR number based on Trnsport request number

    I want to find CR Number in SOLMAN of a changed query.
    I found the user  who changed the query Request number of changed query.
    How can I find the CR number based on this Information.
    Please help.
    Thanks.

    you can goto SOLAR_PROJECT_ADMINISTRATION / System Landscape / CR  / Task list
    regards
    Nesimi

  • Document number, reference, document header text

    my name is venkat in f-02 there are 3 fields. 1) document number 2) reference 3) document header text what purpose we use with example

    HI,
    1. Accounting Document Number
    The document number is the key the system uses to access the accounting document.
    The document number is unique per company code and fiscal year. When entering an accounting document, you can specify the number manually or it can be determined by the system from a pre-defined area (number range).
    The relevant area of the document numbers (number range) is determined in each company code per document type.
    2. Reference Document Number
    Definition
    The reference document number can contain the document number of the customer/vendor. However it may contain a different value.
    Use
    The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number.
    Procedure
    Enter the number specified by the business partner. If the document was created in-house and you do not know the business partner document number, you can copy the document number into the reference number field by entering "*".
    3. Document Header Text
    The document header text contains explanations or notes which apply to the document as a whole, that is, not only for certain line items.
    reg
    Madhu M

  • Need Billing doc. number based on header Output type and also billing docum

    Hi
    I have header Output type and also billing document type.
    will you please help me to get the billing document no. based on above combination, any SAP table, i was aware about the same. but i forgot the table name.
    Thanks
    Vanraj

    Hi,
    Check the Table NAST for the Billing documents associated with the OUTPUT type.
    regards,
    santosh

  • TableView auto resize columns based on header text width or cell content

    Is there a method on the tableview or tablecolumn to automatically resize based on the content of the hearder or data?
    If not what approach can used used with JavaFX to calculate the string width based on the current font?

    The table column size is inconsistent, I set the columns in the table view and the items in the initialize method. I execute a service and task from a button action that loads data into the list, if I don't reset the columns in the table view in the succeed method then each column is the same width regardless of the content in the cells. If I do reset the table columns in the succeed method then the columns are resized based on content.
    I don't think it should be a requirement to reset the columns just to get the column widths to set based on the content in the cells. Is there a method on the table column or view that will resize the cells based on the cell content? I would prefer the largest value; column header content or the longest cell content for a column.

  • Find Item number based on Sales document and material in GTS system

    Dear experts,
    I have a situation where in I created a Sales order in ECC system and transmitted the document to GTS for compliance check.
    Now, during my subsequent processing in ECC side, there is a situation where in I need to check if the document (at every item level) is blocked for any reason or is it good to go. But I do not have the item number in ECC side (at the point where I'm calling RFC to GTS to check). I only have sales order number and the material number.
    So, can some one point me table level information in GTS side on how I could find the item number based on Sales document and the material (In our scenario all our materials in a sales order will be distinct).
    Please provide me table information on where the sales document number, item number, material info are stored in GTS.
    Thanks for your time
    -Amit

    Use these tables
    /SAPSLL/CORREF
    /SAPSLL/PNTPR
    /SAPSLL/CUIT

  • Finding all programs having particualr string in its Text symbols...

    Hello Gurus,
    If I want to search the string in ABAP code , I know I can use program RPR_ABAP_SOURCE_SCAN.
    But I want to find all SAP programs in which the text-symbols is defined by a particular string. How can I do that ?
    Please help....

    Hello Rajesh
    A function module which provides you will all text elements of a single report is RPY_PROGRAM_READ.
    Given this fm it is quite simple to write a report for your requirement:
    *& Report  ZUS_SDN_READ_TEXT_ELEMENTS
    *& Thread: Finding all programs having particualr string in its Text symbols...
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="814207"></a>
    REPORT  zus_sdn_read_text_elements.
    TABLES: trdir.
    TYPES: BEGIN OF ty_s_outtab.
    TYPES: name   TYPE trdir-name.
    INCLUDE TYPE textpool     AS text.
    TYPES: END OF ty_s_outtab.
    TYPES: ty_t_outtab  TYPE STANDARD TABLE OF ty_s_outtab
                        WITH DEFAULT KEY.
    DATA: gt_outtab     TYPE ty_t_outtab,
          gs_outtab     TYPE ty_s_outtab,
          gt_fcat       TYPE lvc_t_fcat.
    DATA: gt_trdir      TYPE STANDARD TABLE OF trdir,
          gs_trdir      TYPE trdir.
    DATA: gt_textpool   TYPE STANDARD TABLE OF textpool.
    DATA: gd_count      TYPE i,
          gd_perc       TYPE i,
          gd_text(50)   TYPE c.
    SELECT-OPTIONS:
      o_report    FOR trdir-name.
    START-OF-SELECTION.
      IF ( o_report[] IS INITIAL ).
      ELSE.
        SELECT * FROM  trdir INTO TABLE gt_trdir
               WHERE  name  IN o_report.
      ENDIF.
      CHECK ( gt_trdir IS NOT INITIAL ).
      DESCRIBE TABLE gt_trdir.
      gd_count = syst-tfill.
      LOOP AT gt_trdir INTO gs_trdir.
        gd_perc = ( syst-tabix * 100 ) / gd_count.
        gd_text = gs_trdir-name.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
          EXPORTING
            percentage = gd_perc
            text       = gd_text.
        REFRESH: gt_textpool.
        CALL FUNCTION 'RPY_PROGRAM_READ'
          EXPORTING
    *         LANGUAGE                  = SY-LANGU
            program_name              = gs_trdir-name
            with_includelist          = ' '
    *         ONLY_SOURCE               = ' '
            only_texts                = 'X'
    *         READ_LATEST_VERSION       = ' '
    *         WITH_LOWERCASE            = ' '
    *       IMPORTING
    *         PROG_INF                  =
          TABLES
    *         INCLUDE_TAB               =
    *         SOURCE                    =
    *         SOURCE_EXTENDED           =
            textelements              = gt_textpool
          EXCEPTIONS
            cancelled                 = 1
            not_found                 = 2
            permission_error          = 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.
        DELETE gt_textpool WHERE ( id NE 'I ' ).  " keep only text elements
        CLEAR: gs_outtab.
        gs_outtab-name = gs_trdir-name.
        LOOP AT gt_textpool INTO gs_outtab-text.
          APPEND gs_outtab TO gt_outtab.
        ENDLOOP.
      ENDLOOP.
      PERFORM build_fieldcatalog.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
    *       I_INTERFACE_CHECK                 = ' '
    *       I_BYPASSING_BUFFER                =
    *       I_BUFFER_ACTIVE                   =
    *       I_CALLBACK_PROGRAM                = ' '
    *       I_CALLBACK_PF_STATUS_SET          = ' '
    *       I_CALLBACK_USER_COMMAND           = ' '
    *       I_CALLBACK_TOP_OF_PAGE            = ' '
    *       I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *       I_CALLBACK_HTML_END_OF_LIST       = ' '
    *       i_structure_name                  = 
    *       I_BACKGROUND_ID                   = ' '
    *       I_GRID_TITLE                      =
    *       I_GRID_SETTINGS                   =
    *       IS_LAYOUT_LVC                     =
            it_fieldcat_lvc                   = gt_fcat
    *       IT_EXCLUDING                      =
    *       IT_SPECIAL_GROUPS_LVC             =
    *       IT_SORT_LVC                       =
    *       IT_FILTER_LVC                     =
    *       IT_HYPERLINK                      =
    *       IS_SEL_HIDE                       =
    *       I_DEFAULT                         = 'X'
    *       I_SAVE                            = ' '
    *       IS_VARIANT                        =
        TABLES
          t_outtab                          = gt_outtab
        EXCEPTIONS
          program_error                     = 1
          OTHERS                            = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
    *&      Form  BUILD_FIELDCATALOG
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM build_fieldcatalog .
    * define local data
      DATA: ls_fcat   TYPE lvc_s_fcat,
            lt_fcat   TYPE lvc_t_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_BUFFER_ACTIVE              =
          i_structure_name             = 'TRDIR'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE gt_fcat WHERE ( fieldname NE 'NAME' ).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
    *     I_BUFFER_ACTIVE              =
        i_structure_name             = 'TEXTPOOL'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
      CHANGING
        ct_fieldcat                  = gt_fcat
      EXCEPTIONS
        inconsistent_interface       = 1
        program_error                = 2
        OTHERS                       = 3.
      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 gt_fcat INTO ls_fcat.
        ls_fcat-col_pos = syst-tabix.
        MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG
    Regards
      Uwe

  • How to find out asset number in SAP

    Hi,
    Please let me know how to find out asset number based on the depreciation document number.
    Regards,
    Bhaskar Suruvu

    In the FI document header text / line item text you found back the asset document number like:
    AFB01200900101-0000000001
    In the table ANLP you can found back the document number -0000000001
    On this way you can make the link

  • S/O Header text

    Hi~
    I want to get the Sales Order's header text content.
    Which table can I use?
    I have test the following table: STXH & STXL.
    The data didn't in them.
    Can I find the data in table?
    How can I get the data in system?
    Best wishes~

    Hi,
    Goto the T.Code "VA03".
    Enter the sales order number.
    Goto Header-->Texts.Click on "Display Log" which is the icon beside "EN English"(Language).
    Expand all the "Plus" mark boxes.
    Make a note of the "Object","ID" and order number.
    Goto the T.Code "SE37".
    Enter the Function module name as "READ_TEXT".Press F8 or Click on Execute.
    Enter the Client.ID and Object as the values you have noted down.
    Name as the Sales order number preceede by 2 zeroes.
    Execute.
    Click on the Result entry.
    Here,you will get the text value.
    Or the same ID and Text object and client from "STXH" table.
    Pass your order number preceeded by two zeroes into "TDNAME" field.
    Execute.
    Regards,
    Krishna.

  • How to check if a user fills a header text in billing invoice

    Hi everybody and thanks in advance.
    My consultant wants to oblige all users to fill a header text when they create the billing invoice (vf01).
    I was looking for several user exits when I can manage this requisite.
    My problem is that when the user creates the invoice and push save button, I try to look for in the table STXH if the user created the header text. But I have not found anything, because the invoice has not created yet.
    Only when the billing invoice has saved, the header text is stored in the table STXH.
    I has been trying to find a structure wich contains the header data like xvbrk contains the data about type of invoice, etc.
    I have studied this user exits:
    userexit_number_range (module pool saplv60A, program rv60afzz)
    userexit_account_prep_komkcv (same module)
    userexit_account_prep_kompcv (same module)
    userexit_fill_vbrk_vbrp (same module)
    v60A0001 (Customer functions in the billing document).
    My question is: In which structure is the header text of billing invoice manage before push the save button?
    If I knew where it is, I could manage the data and check if the user filled the header text.
    Thank you very much, and sorry for my pour English.

    David,
    Place this code into USEREXIT_NUMBER_RANGE:
    DATA: CATALOG LIKE TCATALOG OCCURS 0 WITH HEADER LINE,
          MEMORY_ID(30).
    data: c_MEMORY_ID(30) VALUE 'SAPLSTXD'.
    DATA l_head type THEAD.
    DATA wa_head type THEAD.
    data: l_lines type table of TLine.
    data: l_line type TLine.
    DATA l_CATALOG type TCATALOG.
    IMPORT CATALOG FROM MEMORY ID 'SAPLSTXD'.
    loop at catalog into l_catalog.
       if  l_catalog-IS_REFTEXT is initial
       and l_catalog-keep is initial.
         concatenate c_memory_id l_catalog-id into memory_id.
         import thead to l_head
                tline to l_lines
           from memory id memory_id.
         loop at l_lines into l_line.
           message i000(zz) with l_line-TDLINE.
         endloop.
       endif.
    endloop.
    It will expose the text entered into the text ids in a message box (for now).  You will want to replace the MESSAGE statement with your own logic.
    You may also need to change the message numver/class from ZZ - as seen here "message i000(zz) with l_line-TDLINE."  with an appropriate message on your system.
    DON'T forget those points.

  • Default header texts in purchase order

    Hi,
    I would like to ask you for help in following case.
    I need to set default purchase header text when a new PO is created in me21n.
    I found transaction VOTX where can be this done for sales order, but not for PO. Is there anything similar also in MM?
    Maybe I could use user exits in MM06E005, but I didn't find the relevant structure which keeps header texts.
    Third idea is to add header text fields into personal setting in me21n, where each user can define his own default texts but I have no idea how to do that.
    I need to set default texts which are global for all purchase orders, so it has no sense to use Info record in this case.
    Has anybody experience with this? I would appreciate any help. Thanks.

    Hi,
    you can try to solve it using BADI ME_PROCESS_PO_CUST. The method open is suitable for you problem. Here is a quote from a BADI documentation.
    The OPEN method enables you to do the following when opening a new
    document:
    o   Import new data if the document was already posted to the database
    o   Initialize your own data when creating a new document
    You get a reference for object with type IF_PURCHASE_ORDER_MM in this method. This class implements interface IF_LONGTEXTS_MM with methods like IF_LONGTEXTS_MMGET_TEXT and IF_LONGTEXTS_MMSET_TEXT. So you should be able to set long text for your new PO in this method. Check BADI documentation for more info.
    Cheers

  • PR header text copied to PO header text

    hi
    is there any setting for coping PR header text to PO header text
    i checked in  define text types & copying rules to PR & PO
    am not finding this option
    to copy PR header text to PO header text
    is it possible in std SAP
    nani

    this is not possible.
    You can  convert various different requisitions into one purchase order.
    You can create per requisition one PO item.
    You can even have one PO item that has a schedule line per PR.
    Imagine that each PR has its own header text, from which purchase requisition shall then the the header text be taken?
    From all and just adding. Or only from the first PR, or last PR.

  • Order header text needs to be copied to Invoice Header text

    Dear All,
                i am putting some header text in the sales order,i want the same to be copied to the invoice header text,pls guide how to do the same as soon as possible.
    Regards,
    AKD

    Dear AKD,
    If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
    When you want to copy the Text from Sales order to delivery the Access sequence will place a role
    Through VOTXN you need to do the Text determination settings to the Sales order header,delivery header and invoice header.
    If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
    Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
    Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
    Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
    I hope this will help you,
    Regards,
    Murali.

  • Header text not printed for scheduling agreement

    Hi All,
    I have issue with header text print out for scheduling agreement (SA).
    In SA when I am manually writing some note and then taking print out, system is giving me correct output with maual note.
    I have one standard text (ST) which I need to be printed in evry SA, so in SPRO I created new head text for vendor and in copying rule for text for SA, I created linkage of SA header text with Vendor head text.
    In vendor master, I inserted ST in newly created vendor header text.
    So now when ever I create new SA for vendor system will determin header text from vendor master.
    Now after creating SA when I check the SA, I am able to my ST in SA, but at the time of print out this ST in not printing.
    Please let me know what could be the reson.
    Regards,
    Sameer

    I dont understand about what you mean by expand.
    When you a print PO, PO text  (header or item) it will check to the configuration setting.
    The system didnt care if its adopted from vendor master or info record, or whatever you make in the copying rule.
    In your case : you create a standard text then it get copied into PO , then you set the standard text to the PO for print out, example the standard text : word is
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    Then in the PO the text appear will be like below(the same, because it get copied)
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    If you configure it in define text for SA, then it the print out it will also (the same)
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    So what text need to expand?

  • How to use Read_text in Smart Forms for printing Header Texts

    Dear ALL,
    I want to print Header Texts in SmartForms, For that
    I am using T/Code VL02N .. and choosed  Header ..
    got this details...  from Text Header.
    Text Name       :0080000441
    Language         :EN
    Text ID             :Z002
    Text Object       :VBBK.
    So in Smart forms Under Template i have created a text and Program Code .
    Inside that I have used this below code .
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    *CLIENT= SY-MANDT
    ID = 'Z002'
    LANGUAGE =  SY-LANGU
    NAME = NAME
    OBJECT = 'VBBK'
    TABLES
    LINES = IT_TLINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    IF SY-SUBRC 0.
    CLEAR IT_TLINE.
    ENDIF.
    Kindly suggest me, Where  to declare the variables and loops for using this Read_Text Syntax in Smartforms .
    Response to this will be highly appreciated........  
    Regards ,
    Vinoth.

    hi
    good
    please check this code
    CONSTANTS:
    *For text reading like in LCNMMFTX / FORM SET_CONTROL_TEXT
               text_id  like thead-tdid     value 'MATK',
               text_obj like thead-tdobject value 'AUFK  '.
    data tlines like tline occurs 0 with header line.
    data tdname like thead-tdname.
    data tdheader like thead.
    if not it_proj-ltxsp is initial.
    refresh tlines.
            tdname = sy-mandt.
            tdname+3 = it_proj-rsnum.
            tdname+13 = it_proj-rspos.
            tdname+17 = it_proj-rsart.
            call function 'READ_TEXT'
                 exporting
                    id        = text_id
                    language  = it_proj-ltxsp
                    name      = tdname
                    object    = text_obj
                 importing
                    header    = tdheader
                 tables
                    lines     = tlines.
                exceptions
                   not_found = 01.
    thanks
    mrutyun^

Maybe you are looking for