Short coming in BAPI for saving Document Long Text

Hello Experts,
I would be thankful to you if anyone of you offer a solution to the problem below.
I have found that the tables parameter LONGTEXTS of function BAPI_DOCUMENT_CHANGE/CHANGE2/CREATE/CREATE2 (structure BAPI_DOC_TEXT) could include the field TDFORMAT so that the user can specify how the next line should be interpreted by the editor.  This would be in accordance with the tables parameter LINES of function SAVE_TEXT which is used to save long text.  Currently only the text line is catered for in the BAPI and the TDFORMAT is therefore defaulted to u2018*u2019 in the SAVE_TEXT function which causes each line in the table to be treated as a new line. 
What if the user wanted the lines to be treated as continuous text?
With Best Regards,
Mientjie Ferrie

Hi,
   1. From se37, check for function group STXD
2. There will be many Fm.
3. The commonly used are
READ_TEXT
EDIT_TEXT
SAVE_TEXT
Regards

Similar Messages

  • BAPI for change documents like FB09

    Hi
    I need to change the Assignment Number (ZUONR) Field for several document positions just like FB09 ,
    Does somebody knows a BAPI for change document positions (BSEG) ?
    Regards
    Frank

    Hi,
    Please see this link, It may help you.
    Add documents to materials via BAPI
    Regards,
    Shamma

  • Bapi for parking documents

    Hello!
    Does anyone know a BAPI for parking documents that works ok? (in spanish we call "documentos apartados")
    I have read about it on the internet and it seems that there is no bapi for it.
    I have found bapi for preliminars.... but nothing about parking.
    Thanks you in advance!
    Sabrina.

    Hi,
    If I understand your requirement correctly, you can use BAPI 'BAPI_ACC_GL_POSTING_POST' to park the FI documents. Fill the required interface parameters and call this BAPI.
    Let me know if the requirement is different.
    Regards
    Gangadhar

  • BAPI for Accounting Document Posting

    What is the name of BAPI for Accounting Document Posting and how can I run it?

    Hi ,
    Can you send me the code how to use the BAPI_ACC_DOCUMENT_POST.
    Regards,
    L Srikanthan.

  • FM or BAPI for resetting Documents

    Hi all,
    Is there any FM or BAPI available for resettign and reversing documents in FBRA. I have a FM for reversing document but i don't have a FM or BAPI for resetting documents. If any one knows answer for this, please suggest me.
    Thanks and Regards,
    Subbu.

    HOPE THIS WILL HELP
    Reset cleared items (FBRA)
    After executing the data in FBRA, the accounting document will be moved from BSAK table to BSIK, after executing the below function module one can check in these table. Never try to select accounting document from BSEG table, it's a cluster table. Try to use key fields when firing query on BASK table. *---Declaration for fun mod
    DATA:  d_bukrs       LIKE rf05r-bukrs,
           d_belnr       LIKE rf05r-augbl,
           d_gjahr       LIKE rf05r-gjahr,
           it_rf05r_acct LIKE rf05r_acct OCCURS 0 WITH HEADER LINE.
    LOOP AT it_bsak.
           CLEAR: d_bukrs, d_belnr, d_gjahr.
           d_bukrs  = it_bsak-bukrs.
           d_belnr  = it_bsak-augbl.
           d_gjahr  = it_bsak-gjahr.
    *---Fuction module to run FBRA
           CALL FUNCTION 'CALL_FBRA'
             EXPORTING
               i_bukrs      = d_bukrs
               i_augbl      = d_belnr
               i_gjahr      = d_gjahr
             TABLES
               t_accnt      = it_rf05r_acct
             EXCEPTIONS
               not_possible = 1
               OTHERS       = 2.
    Endloop.

  • What's the bapi for getting document details ?

    hi,
    i'm trying to do F-22 things through BAPI, but there's one field in some screen that i can't find relative field in any structure of BAPI para., so i tried to get the details of the document created by F-22 to find where the field i'm looking for is stroed.
    so would you please tell me the bapi for getting document info.?
    thanks!

    Hi,
    Have you solved your problem?
    If not:
    Have you tried to debug your application and see what you have in your object just after doing GetByKey?
    The GetByKey method returns true if it founds the object, false if the key does not exist.
    In the DI Help File it is specified the key for a payment is the DocEntry...
    Regards
    Trinidad.

  • Is there any BAPI for Upload Documents of WBS elements?

    Hi Guys,
                 Can anbody tell me is there any BAPI for Uploading Documents  of WBS elements ?
    Thanks,
    Gopi.

    hi
    check these BAPI
    Change WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_CHANGE_MULTI           
    Create WBS Elements Using BAPI 
    BAPI_BUS2054_CREATE_MULTI                                                               
    Delete WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_DELETE_MULTI                                                               
    Detail Data for WBS Elements                                                                               
    BAPI_BUS2054_GETDATA                                                                      
    Reading the GUIDs using the WBS Key
    BAPI_BUS2054_GET_GUID_FROM_KEY                                                     
    Reading the WBS Key using the GUIDs                                              
    BAPI_BUS2054_GET_KEY_FROM_GUID                                                                               
    Check Existence of a WBS Element                                                 
    BAPI_PROJECT_EXISTENCECHECK                                                                               
    Element                                                 
    thnks
    sitaram

  • Document Long Text in FBV1 Transaction

    Hi all ,
      I hav to maintain Document Long Text (RTEXT-LTEXT)
    Menu : Extras->Document Texts ,then in 'Texts in Accounting Document' Window
    Is there any FM available which can be used for this.
    Thanks in advance,
    Taranam

    Hi,
       1. From se37, check for function group STXD
    2. There will be many Fm.
    3. The commonly used are
    READ_TEXT
    EDIT_TEXT
    SAVE_TEXT
    Regards

  • Regarding Saving of LONG TEXT in QP02/QP03

    Hi All,
    I am saving the long texts for Inspection Characteristics using SAVE_TEXT.
    The Text is getting saved but i am not able to see it in Display (QP03).
    To see it in display I need to Save the text first in QP02 and then it is available in QP03.
    I tried using COMMIT_TEXT after SAVE_TEXT..but it's not happening.
    Your help is needed on this.
    Regards,
    Priyanka

    Hi
    one way to upload the long text is to run a bdc.... in BDC check the long text and put the default data in the text with the length greater than 40 characters ........now use  the create_text to upload the long text with the data u need to upload with....
    second one in uploading the BOM header i had also updated a field LTXSP in table STKO for those BOM's..this field is required to be updated for the display of long text in BOM.....
    Similarly u can also find the field in the table for Inspection plan.....i m sory i dnt know much about inspection plan....but there also a similar logic can be applied....can u tell me about the table u are using to update the QP02
    kanishak

  • Template for O12* WBS long text

    Is it possible to create a template for O12* WBS  long text. I think SAPscripts can be used. If it can be used can anyone suggest me as how to go about doing it .
    Thanks
    Edited by: Alvaro Tejada Galindo on May 23, 2008 5:33 PM

    Hello,
    the way to find it out is that you set a breakpoint into the function module READ_TEXT ( via SE37) and then process a PSP-Element with a long text via CJ12 or CJ13.
    The transaction will stop at the breakpoint, an you get the text-id/text-name/ text-object from the input parameters on the function module.
    If i try, it says ID = 'LTXT', name = 'E'<PRPS-PSPNR>, object = 'PMS', but for a WBS text there may be other parameters.
    If you need the logic in an own programm, you could use the function READ_TEXT instead of selecting texts via STXH/STXL.
    Regards Wolfgang

  • Validation for GL Account Long Text

    Dear All,
    Is it possible to maintain validation for GL Account long text.
    Basically my requirement is to avoid duplication of GL accounts with same long text.
    Best regards,
    Inoka.

    Hi,
    I think you are talking about GL account name long text should not be reapeted when  you are creating one more GL account.
    If it is the case, It can be possible through programming. please explain the requirement to your Abaper.
    Before writing program, try to create & test the validation with any expert from your side, it may be possible with some conditions (< >, =) in Validation.
    Regards
    Kanna

  • Saving Documents long term on Win 7 Enterprise computer.

    Hi, 
    I have noted that in Win 7 Enterprise using Word 2013 documents can and should be saved to the c: drive in my document folder. But I have also noted that when the computers have been turned off for a week or more and than restarted that those same saved
    documents are no longer in the my Document folder in Word 2013 and that Word appears to have gone back to the new install format with no saved documents listed. Is there a setting or tweak that can be used to make this program stop. Be advised that I am in
    a classroom setting with 30 computers that all have the same program.

    Hello Manatee58,
    If my understanding is right, the Word 2013 files saved in Document folder disappear after computers turned off for weeks and then restart.
    Please explain a bit about the following questions for better analyzation:
    1. Are these computers domain-based?
    2. If we have .pdf in Document folder, will they disappear?
    Please take the following steps for troubleshooting:
    1. Check if the pdf file will disappear in the document folder.
    2. Check if the Word file will disappear after a reboot.
    3. Contact the administrator and check if there are third-party software to delete these files
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Bapi for posting documents in PCA

    Hello All,
    Does somebody know a FM or a BAPI wich permit's posting in the Profit Center Accounting?
    We have a list of documents for which we have to post documents in the PCA, tables GLPCA, GLPCP. I have found a series of BAPI's for ALE PCA , but nothing usefull.
    I know that usually the posting in PCA is done in automatic from customizing, but for these documents this is not the case. We have to do this posting via a BAPI.
    If anyone has encounterred this situation, please advise.
    Thank you,
    Viorel Nistor.

    Thank you for your answer.
    I have found the BAPI but it doesn't help me very much because it seems that it's purpose is to create a replica of the document to an external system.
    I need to create this document in the same system.
    Has anyone used it in this way?
    Thank you,
    Viorel.

  • ECC 5.0 BAPI for posting documents only in non-leading ledger

    Hello,
    for an FI-interface i want to call an BAPI for posting the documents. The document were posted to the leading ledger and to the non-leading ledger by usage of BAPI_ACC_DOCUMENT_POST.
    Now there are cases to post documents only to the non-leading ledger.
    Is there anywhere a possibility to tell the BAPI (e.g. enter the ledger group) only to post to the non-leading ledger or is another BAPI available to do so.
    Thank you for your help.
    Thomas

    Hi Thomas,
    You can use the same BAPI for any type of ledger postings. You can restrict your postings to Type of ledger.
    Cheers
    Srinivas

  • BAPI for FI document changing

    Dear Experts,
    Is there anyone who knows the name of BAPI function for FI document change?
    Thanks.
    BR,
    Chris Kim

    HI,
    Unfortunately there is no BAPI avaialble for this purpose.
    Regards
    Ravinagh Boni

Maybe you are looking for

  • Sub-Groups Not Appearing in Report

    Post Author: burhan.survery CA Forum: Crystal Reports I am using CR10. My report has two groups: Main group "Order Number" and the subgroup "Customer Number". Both groups are from the same table. There could be upto four Customers per order. When i p

  • ICloud crashing system preferences

    Installed the 10.7.2 update this morning on both my iMac (Mid 2007) and MacBook (Late 2008) and everytime I try to open the iCloud preference pane it crashes. Activity monitor shows system prefrences is using loads of CPU and memory resources and the

  • How to update/replace Jars within sbconfig.jar during import

    Hi, I want to replace a jar file, used by java callout actions, during import. I am using WLST script to import configuration jar but cannot figure out how to replace jar file. That jar file contains environment specific properties which i intend to

  • Default view panel upon startup

    Hello! I am running a batch file to open and execute a script in diadem using this command: start "" "C:\Program Files (x86)\National Instruments\DIAdem 2012\DIAdem.exe"  "/CScriptStart('C:\Users\bseward\Documents\Diadem\tdms post process\SingleRepor

  • Time machine backup discrepancy.

    I have backed up my 3 main internal HD's to a large external HD using Timemachine. There seems to be about 100gig that has not gone across. 60gig from the Library file has not been copied, 10 from the Pictures folder and not sure about the rest. Any