Reagarding the header text table

Hello Experts,
I am using BAPI_PR_CREATE bapi for creating a PR my problem is as follows i am getting the header text in a string format and i need to build the table from string for the paramater PRHEADERTEXT     LIKE     BAPIMEREQHEADTEXT for bapi
can i get  a function module for this and
another Question is that i  want to add a long text at header level just like we add at line item

i am getting the header text in a string format and i need to build the table from string
I have a soln for this prob..
DATA: BEGIN OF TABLE OCCURS 10 ,
STR(100),
  END OF TABLE.
DATA WA LIKE LINE OF TABLE.
CALL FUNCTION 'IQAPI_WORD_WRAP'
  EXPORTING
    TEXTLINE                  = 'sumit12sddadsadasd3456789'
*   DELIMITER                 = ' '
   OUTPUTLEN                 = 5               " this is the length of each peice
* IMPORTING
*   OUT_LINE1                 =
*   OUT_LINE2                 =
*   OUT_LINE3                 =
TABLES
   OUT_LINES                 = TABLE
* EXCEPTIONS
*   OUTPUTLEN_TOO_LARGE       = 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.
Regards,
Sumit Nene

Similar Messages

  • Table in which if I put the delivery number ..I should get the HEADER TEXT

    Dear Members,
    I am checking for a table in which if I put the delivery number ..I should get the HEADER TEXT. Does such table exists or a Z report shoudl be created for this kind of setup.
    Regards,

    Hi,
    There are two Tables in which the texts will be stored
    One is STXH -
    TEXT HEADER
    other   STXL------- TEXT ITEM
    If you want to get the Header text then input the values in the table
    In STXH
    TEXT OBJECT     is    VBBK
    TEXT NAME      is      DELIVERY NUMBER
    TEXT ID             is       ZS01  ( this is the standard ID for the  Header note 1 )
    Now goto SE37 and give the Function Module READ_TEXT and maintain all the above details and get the TDLINE Which contains the TEXT of the Delivery
    regards,
    santosh

  • Update the z table from the header text of VF01 on save

    Hi All,
    I have a  Z table 'ZEXIM_LICDETAILS'. Whenever a billing doc. of type 'ZEXP' is created with tcode VF01, the Z table fields should also be updated. I have learned that we cannot include tabs in Billing Doc, so the licence number is put in the header text of the VF01.
    Is there any way that I can update my Z table from header text, when we save the VF01.
    Waiting for your repy in anticipation.
    Thanks a lot in advance,
    Anu

    Write code in USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    Reddy

  • Hi! How can I change the header text direction to vertical?

    I have many columns with big names, but I need small space for body cells, and I want to check all the table at a view ...  So I want to change the direction of the header texts to "left vertical" or "right vertical".

    There are a couple discussion threads on this already.  Fundamentally it is not a feature that Numbers supports.  There are several work arounds but non of theeem are great:
    Please see this thread:
    https://discussions.apple.com/message/15240103#15240103

  • Header text table

    hi,
    I had to prepare report but not able to find the details .
    Header text of billing document like truck no , gr no . in which table we can found
    plz do help me .
    thanks for earlier reply.

    Hi Suresh,
    You can find the assosciated text table for any table by going to :
    <b>SE11->Goto->Text table</b>
    In this case, if you know the table for truck no and gr no, you can find the corresponding text tables in the above mentioned way,
    Hope this helps.
    Regards
    Anil Madhavan

  • PR header Text table

    Dear Expert
    In which table i can see the PR header text, I tried in STXH,STXL,T165k,T166K, i am not getting, please let me know anyone?
    Regards
    TG
    I

    Hi,
    In SE37, enter this FM: READ_TEXT, then test and then give this following details,
    ID:B01
    LANGUAGE:EN
    *NAME: 0010000071 *(enter the PR number with full length 10 digits)
    OBJECT: EBANH
    Then execute you will get the text entered in the Header text tab of PR
    Regards
    GK.

  • How can I list the head texts or texts of position of the invoices created

    hello experts
    I have a consultation.
    how can I list the head texts or texts of position of the invoices created in module sap SD?
    Up to now I can see them visualizing the document SD for transaction VF03, but I need to see a listing of invoices and don't unite in one.
    he/she would thank their collaboration.
    greetings,
    Jorge Silva

    Dear Jorge,
    You can use T-Code VF05 or VF05N to generate list of Invoices with range of selection criterias...
    The concerned tables for the same are VBRK & VBRP.
    Let us know should you require any further help..
    Hope this helps...
    Give points if useful..
    Thanks,
    Jignesh Mehta

  • Billing Header Text Table

    Hi,
    Please advise the billing header Text Table & Field.
    Regards,

    Whether header text is maintained or not can be found from STXH table. If text is maintained then READ_TEXT function module has to be used to fetch the actual text.
    Regards,
    GSL.

  • Viewing the Header Text Verbiage in Multiple OA's

    Hello,
    I would like to run a "report" that gives me the verbiage in the Header Text of our OA's. At the present time I am reviewing them one-by-one. I've been told that I am looking for a structure rather than a transaction or table.
    As this is a new concept for me, I apologize if I am not posing my inquiry to the incorrect forum.
    Thank you.
    Regards,
    Judi

    I think you are a developer? then
    My understanding is you need to check for spell check of your header text in various documents.
    For that you need to write a custom program with selection input as document number ,then get the header text using fm READ_TEXT and then pass the value coming out fm into fm 'TERM_CHECK_SPELLING'
    aRs

  • How to retrieve the header texts for a contract

    HI,
      i think we need to use the FM read_text to get the header texts for a contract but dont know how to use the FM like what all the parameters are passed to that to get the header texts of a contract(va43).
    any help is appreciated with points.
    thanks
    prasad

    Hi,
      Pls refer this code,    
        CALL FUNCTION 'READ_TEXT'
                  EXPORTING
                    client                  = sy-mandt
                    id                      = '0001'
                    language                = sy-langu
                    name                    = v_textid
                    object                  = 'KNMT'
                  IMPORTING
                    header                  = t_header
                  TABLES
                    lines                   = t_lines
                  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 EQ 0.
                  LOOP AT t_lines.
                    CONCATENATE w_arktx t_lines-tdline INTO w_arktx
                                       SEPARATED BY space.
                  ENDLOOP.
                ENDIF.
                IF w_arktx NE space.
                  MOVE w_arktx+1(1583) TO t_lips-arktx.
                ELSEIF w_arktx EQ space.
                  CLEAR w_text_name.
                  CLEAR v_textid.
                  wa_lips-matnr = t_lips-matnr.
                  wa_lips-vkorg = t_likp-vkorg.
                  wa_lips-vtweg = t_lips-vtweg.
                  w_text_name = wa_lips.
                  CLEAR w_arktx.
    Retrieval of Sales Text
                  CALL FUNCTION 'READ_TEXT'
                    EXPORTING
                      client                  = sy-mandt
                      id                      = '0001'
                      language                = sy-langu
                      name                    = w_text_name
                      object                  = 'MVKE'
                    IMPORTING
                      header                  = t_header
                    TABLES
                      lines                   = t_lines
                    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 EQ 0.
                    LOOP AT t_lines.
                      CONCATENATE w_arktx t_lines-tdline INTO w_arktx
                                         SEPARATED BY space.
                    ENDLOOP.
                  ENDIF.
                  IF w_arktx NE space.
                    MOVE w_arktx+1(1583) TO t_lips-arktx.
                  ELSE.
    REgards
    srinivas

  • How to get the header text of a PO

    Hi,
    Do you guys know which table stores the header text of a PO? i'm only getting RM06E which is a structure.
    Thanks!

    Hi,
    You need to use the Function Module 'READ_TEXT' for retrieving any text in the header texts.
    For this FM, the mandatory export parameters will be
    a) client b) ID c) language d) name e) object
    here the parameter name will be your P.O.No and the object will be your P.O. table - 'EKKO'.
    So on executing this FM, all the required texts are retrieved in the tables parameters. From this tables paramater, you can read the table and pass on the values to your required internal table for display purpose.
    lakshminarayanan
    Please mark all helpful answers for points.

  • The header text in sales order are coming on DE (and has to be PT)

    Hi SDN Team members,
    I have a strange issue. In the sale s order header the text by default it is coming as DE(German language) but it should be PT portugal language. This situation is in production system. The SAP log on language is PT.
    I have replicated the same scenario in Relica of Production as well as test system where i am getting by default language is Portugal.   Even i have tried to log on in to PT language where i am not getting the above problem where sales order shows the header text as default PT.
    I have checked the sold to party - where the language is maintained as PT, Also in Sales organization and in company code level where the language is maintained in PT.
    I have checked the OSS Notes also 442976 and Note 451147 and also the report -  RVTEXTE..
    This problem comes for almost all the sales users of the portugal.
    Can you please help me to resolve this problem.
    Looking forward for your favorable reply.
    Thanks and Regards,
    Jana

    Hi SDN team,
    I have solved this request.  By running the Program - RVTEXTE and inputing the selection parameters as per out business requirement and the problem has been resolved.
    Team - Thanks for all your valuable inputs.
    Regards,
    Jana

  • To change the header text of Purchase order using BAPI

    Hi,
    I am using BAPI_PO_CHANGE to change the header text of PO. But it s not reflecting. Can anyone help me by providing solution for this.
    <i><b>Points will be rewarded for the useful answers.</b></i>

    Hi,
    I need to change the text using this BAPI alone. I am using this because i need to change many parameters of PO.
    Can u please say me solution using BAPI_PO_CHANGE. I need to know what are all the parameters need to be passed to BAPI to change the text.
    Thank you for replying.

  • User exit/BADi to change the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to change the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the vendor name in Header text field(MIRO -> Details tab -> header text field ). I have tried all the user exits and BADi's related to MIRO. Doesn't work. If anybody knows please share.
    Thanks,
    Pranav

    Try BADI INVOICE_UPDATE.
    If you are in system version is ECC 6.0, you can find out a Enhancement SPOT (ES_SAPLMRMC) under Function module MRM_FINAL_CHECK, which can be used to perform this requirement
    Hope this helps.
    Thanks,
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 14, 2008 4:43 PM

  • User exit/BADi to populate the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to populate the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the some text in Header text field (MIRO -> Details tab -> header text field). I need to populate this field in the MM document as well as FI document (Accounting Document). I have tried all the user exits and BADi's related to MIRO/MRRL. Doesn't work. If anybody knows please share.
    Thanks,
    Santosh
    Edited by: Santosh Ghonasgi on May 13, 2010 4:48 PM

    Hello santosh,
    I am not sure whether a suitable exit / BADI exists to update the header text in MIRO directly.
    there is one related forum:
    User exit/BADi to change the header text in MIRO transaction
    Hope, it may helpful for you to proceed with some other parallel solution.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on May 13, 2010 5:29 PM

Maybe you are looking for

  • Cannot edit JPG, GIF files stored in a SharePoint 2010 picture library

    Created a SharePoint 2010 picture library to store .jpg, .gif images along with other types of images which were created using Adobe photoshop, Tiff etc. Upon clicking on the .jpg, .gif files for editing purposes, they open in the browser instead of

  • Problem in creating the data source in bw 3.5

    hello gurus, i have created a view in r3 for transaction table but i am not being able to create the data source for the same. i have two fields in my table called amount n currency. when i remove those two fields then i am able to create the datasou

  • Add BUS2009 to generic object services

    Hi Experts, We have header level release strategy to PR approval. We are using BUS2105 delegated to ZBUS2105. There is another custom workflow has been defined, using BUS2009 delegated to ZBUS2009. in ME53n, Generic object services I can only see ZBU

  • BC4J UIX How To set the cursor in a field

    Hi, when i display an bc4j uix edit form, i would like to set the cursor in a field and highlight the entry. how con i do that Thanks Achim

  • Can Final Cut Pro 606 work in Maverick

    Im running Final Cut Pro 606 OS 10.6.8 and want to know if it works in Mavrick?