How to populate Doc Header Text Field & Ref Field in OASV Transaction?

Hello everyone,
I need to seek your help regarding, on how can I populate values in "Document Header Text Field" & "Reference Text Field" in OASV transaction, as these fields are invisible and are mandotory at document type.
(I know we can disable their status in the document type, but we don't want to do so).
Regards,
Saurabh Patni

Hi Mukthar,
Thanks for the quick reply.
I had tried to work out with substitution rule for the document type and transaction code, but still no use, the same error persists.
(In Subsitution I am going with constant value to be replaced), I am defining it for Callup point 1, but it is not working.

Similar Messages

  • 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

  • Fill Doc Header Text in VL01N

    Hi,
    I made the delivery with transaction VL01N and of course it is generate a Material Document (mov type 601). if i try to change the material document i can change the field Doc Header text (mkpf-bktxt). So  my question is can i fill this field when i am making the Delivery in transaction VL01N?
    Thank you for your interest in my question
                     Best Regards
                                   João Fernandes

    Hi Joas,
    From your theard i could understand that you create a Delivery Note.
    Delivery consists of three parts like
    Picking, Packing and PGI( Post Goods Issue).
    If you do picking and Packing the then save the delivery and delivery Number get Generated,But it doesnt mean Complete Delivery unless you Do the PGI.Once you Do the PGI Only the Material Document will get Generated.Yes while creation of Delivery you can maintian the text you required.
    Hope this clarifies your doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandual

  • How can i read header text?

    how can i read header text?
    ie, i want to read two values that are stored as header text in purchase order.
    how can i retrieve that values?

    Hi,
    The long texts of a document are stored in a encrypted format in the STXH and STXL tables, where STXH stores the header information of the
    long text like TDOBJECT, which indicates which text object the long text belongs to, TDID which indicates the Text ID and TDNAME which is
    the actual name of the long text.
    As these texts are stored in a encrypted format, the text cannot be read using a SELECT statement. You will have to use the function READ_TEXT. The easiest way of getting to know the parameter values is to go to a document, open the long text in a full screen mode. For example, when you wan to see the long text for a Purchase order, go to transaction ME23n. Assume, you want to see the parameters for the Header Text. In the first Tab Strip Control, click on the Texts tab and select the Header Text node on the left hand side, which will display the text on the right hand side. Now, double click on the text editor on the right hand side. This will open the text in the full screen mode. In the menu Go To --> Header, you should be able to see the values for all the three parameters we discussed above. We will have to do the same thing for whichever text parameters we want to see.
    TREC-TDSPRAS = SY-LANGU.
    TREC-TDID = 'ECCS'.
    TREC-TDOBJECT = 'ZECCS'.
    TREC-TDNAME = Z_ACCOUNT.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    ID = TREC-TDID
    LANGUAGE = TREC-TDSPRAS
    NAME = TREC-TDNAME
    OBJECT = TREC-TDOBJECT
    TABLES
    LINES = LINES
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    Details:
    Language DE
    Text ID F01 Header text
    Text Object EKKO Purchasing doc. header texts
    Regards,
    Shiva Kumar

  • Doc header text

    hi,
    may i know why there is no doc header text(bktxt) in selection screen or dynamic selection of FB03 or FBL3N?
    which tcode that displays fi document with the doc header text field in the selection screen?
    thanks
    rgds

    Hi,
    you can see in table level
    TCode SE16
    Table name BKPF :
    FI Document header details stored in this table like document number, document date, posting date, entry date, reference, header text, exchange rate, document type, etc.,
    For each document it will store only one entry in the table.
    This may update if any changes made in the document header like change in the header text / reference field.
    Other than the above fields, some other fields also get updated like document change date, document reversal details (document number, date reversed)etc.,
    SKS

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • How to wrap the heading text in alv.

    HI all,
          I need help, how to wrap the heading text in alv.
    can any help ... plz..
    Advanced Thanks
    Regards
    GUhapriyan

    Hello GuhaPriyan,
    I assume that you're referring to the ALV Grid's title. The maximum length for this title is 70 characters and this would generally fit in the one line.
    Are you intending to wrap it because you purposefully want the text to come in two lines? In that case, I'm not sure that it's possible.
    But otherwise, there's an option in the Layout called SMALLTITLE. You can set this attribute so that the title would be displayed in a amaller font and hopefully, all of your text shows up on the screen.
    Regards,
    Anand Mandalika.

  • How we will maintian Header Text in Purchase Order Mandatory?

    Dear All,
    How we will maintian Header Text in Purchase Order Mandatory?Please suggest a Solution..
    Thanks,
    Raju

    hi
    in standard  it is not posible  u need to use User exit: EXIT_SAPMM06E_012 of enhancement MM06E005. check details with ABAPer
    Vishal...

  • BKPF-BKTXT (Doc header text source) for RV doc

    Does anyone know if the doc header text for RV doc can be maintained anywhere in the source SD doc, so that it can be transfered to the RV accounting doc?
    Thanks

    Does anyone know if the doc header text for RV doc can be maintained anywhere in the source SD doc, so that it can be transfered to the RV accounting doc?
    Thanks

  • Mandatory field - Header text and Reference field  for company code

    Hi
    In transaction code FB60, I want to make header text and reference field mandatory at the company code level.
    For one company code , the header text and the reference field should be made mandatory but for the other 8 company codes , those fields should not be mandatory.
    if I make the fields mandatory via the document type , then it will be applicable for all the company codes using the document type.
    thanks in advance
    Kind regards
    sap student

    Hi Chintan
    I have written the validation rule and it is working fine.
    Thanks
    kind regards
    sap student

  • How to get PO header text in PO list

    Hi All,
    Please let me know how to get PO header text in PO list.
    Thanks,
    Ama

    Check this link for answer
    PO Header Text

  • How to populate the Ser Entry ext key into the Doc Head text in ML81N Txn??

    Hello all,
    My requirement is to to populate the Service Entry external key into the Document Header text.
    ( ServiceEntry - ERS Invoice (MRRL) ). through ML81N Transaction.I have checked for exits in ML81N as well as MIRO. those doesn't seem very convincing.
    IF i see the field of Document header text where i need to populate the data it is
    ( BKPF-BKTXT ) how do i populate the data ( SE external field ) which is in ESSR table..?
    if any one has some piece of code please send it across.
    this is urgent pls help...........
    Any pointers for this would be highly appreciated.
    Thanks,
    Sreekanth...

    Please close this thread.Open new thread in forum [SAP Community Network Forums » ABAP Development » ABAP, General |;

  • How to populate image and text field in SQL Server

    I want to populate a table, i.e insert images in a table in SQL Server. I am using Java(JSP/Servlet). Can any one suggest me how to populate the image and text fields in SQL Server...of course, using Java. If possible, could you please give me a piece of code?
    Regards -
    Samit

    Hi,
    Please check the following link for information on inserting images in to sql server database.
    http://www.databasejournal.com/features/mssql/article.php/1475641
    Cheers,
    vidyut

  • How to add document header text area on fb03's selection screen

    hi,
    i want to add an additional area on fb03's selection screen. i need document header text area for my document searchs. is it possible?

    Refer to this thread
    How to Add field to Selection screen of Tx. FBL5N

  • Billing Doc-Header-Texts copy Accounting Doc-Hader Texts?

    Dear gurus,
    I it possible to copy Billing Doc.-header- Text1 to
    Accounting Document>>>>>>"Doc. Header Text" field?

    Hello,
    the SAP note 301077 lists the available userexits in SD/FI interface.
    If, for example, you want to fill a BSEG field of customer line, userexit EXIT_SAPLV60B_002 is the good one.
    Instead if you want to fill a BSEG field of a G/L line, userexit EXIT_SAPLV60B_004 is the good one.
    Best regards,
    Ivano.

Maybe you are looking for