Uploading Short Text Attachments to Assets

Hi,
I need to develop a script for batch uploading short text attachments to Assets in Oracle Applications. I googled and find there are a number of API recommended but I'm not sure which one is better/correct, need only 1 of them or a combination of some of them.
So far I found these API mentioned in blogs and posts:
1. FND_ATTACHED_DOCUMENTS_PKG.Insert_Row
2. FND_DOCUMENTS_PKG.Insert_Row
3. FND_DOCUMENTS_PKG.Insert_tl_row
4. OE_FND_ATTACHMENTS_PUB.CREATE_SHORT_TEXT_DOCUMENT and OE_FND_ATTACHMENTS_PUB.ADD_ATTACHMENT
Can anyone share their experience of using API to upload attachments? Thanks a lot!
Best Regards,
klai
Edited by: klai on Apr 18, 2013 10:31 AM
Edited by: klai on Apr 18, 2013 10:32 AM

Hussein Sawwan wrote:
Please see the following links.
http://oracleappsengineering.blogspot.ca/2010/04/attachments-api-fnddocumentspkg.html
http://oraclemaniac.com/2012/01/07/attach-concurrent-program-output-to-the-apps-transaction/
http://garethroberts.blogspot.ca/2007/08/document-attachments-private-stuff.html
http://imdjkoch.wordpress.com/2010/09/02/attachment-in-oracle-application/
You may also Google those APIs for a sample code.
Thanks,
HusseinThanks Hussein,
I modified the script from the first link and successfully upload the short text. I just have 1 more question:
After the upload, the short text is in view only status. Is there any parameter in the script I can change so after the upload the text attachment can be edible?
Many thanks!
Regards.
klai
Updated:
I solved it now. I set the x_usage_type to 'O' then I can edit the text. Thanks!
Edited by: klai on Apr 18, 2013 2:26 PM

Similar Messages

  • Asset G/L Short text in Asset Documents Entries

    Hi all
    During posting any asset document the short text of the g/l of the asset doesn't appear instead the number of the asset appears.
    how can i make the short text of the asset g/l appears????????????????

    Friend,
    Have you checked FS00, fourth tab, left to right? There was lenguage text. If you really did this, please open an SAP Message to report error.
    Regards

  • XSL Looping Query for Short Text PO Attachments

    I am using XML Publisher to revise a custom Purchase Order.
    This is a sample skeleton layout of the XML data:
    <PO_DATA>
    <LINES>
         <LINES_ROW>
              <LINE_NUM>1</LINE_NUM>
              <ITEM_DESCRIPTION>blah1.</ITEM_DESCRIPTION>
              <PO_HEADER_ID>535404</PO_HEADER_ID>
              <PO_LINE_ID>879135</PO_LINE_ID>
              <LINE_SHORT_TEXT>
                   <LINE_SHORT_TEXT_ROW>
                        <PO_LINE_ID>879135</PO_LINE_ID>
                        <SHORT_TEXT>Attachment for line 1</SHORT_TEXT>
                   </LINE_SHORT_TEXT_ROW>
                   <LINE_SHORT_TEXT_ROW>
                        <PO_LINE_ID>879135</PO_LINE_ID>
                        <SHORT_TEXT>Another Attachment for line 1</SHORT_TEXT>
                   </LINE_SHORT_TEXT_ROW>
                   <LINE_SHORT_TEXT_ROW>
                        <PO_LINE_ID>879135</PO_LINE_ID>
                        <SHORT_TEXT>Header Attachment</SHORT_TEXT>
                   </LINE_SHORT_TEXT_ROW>
              </LINE_SHORT_TEXT>
         </LINES_ROW>
         <LINES_ROW>
              <LINE_NUM>2</LINE_NUM>
              <ITEM_DESCRIPTION>Blah2</ITEM_DESCRIPTION>
              <PO_HEADER_ID>535404</PO_HEADER_ID>
              <PO_LINE_ID>879136</PO_LINE_ID>
              <LINE_SHORT_TEXT>
                   <LINE_SHORT_TEXT_ROW>
                        <PO_LINE_ID>879136</PO_LINE_ID>
                        <SHORT_TEXT>Attachment for line 2</SHORT_TEXT>
                   </LINE_SHORT_TEXT_ROW>
                   <LINE_SHORT_TEXT_ROW>
                        <PO_LINE_ID>879136</PO_LINE_ID>
                        <SHORT_TEXT>Header Attachment</SHORT_TEXT>
                   </LINE_SHORT_TEXT_ROW>
              </LINE_SHORT_TEXT>          
         </LINES_ROW>
    </LINES>
    </PO_DATA>I would like to be able to list the bold lines (text attachments) on the PO.
    I have been able to list the first <SHORT_TEXT> attachment for the 1st line, but then all of the other attachments are not listed, and I can't work out why.
    This is the xsl / codey bits from the rtf template:
    <xsl:variable name="lineID" select="../../PO_LINE_ID" />  
    <xsl:for-each select="/PO_DATA/LINES/LINES_ROW/LINE_SHORT_TEXT/LINE_SHORT_TEXT_ROW/PO_LINE_ID">
    <xsl:if test="$lineID = .">
    <xsl:variable name="lineID" select="position()" />
    <xsl:value-of select="/PO_DATA/LINES/LINES_ROW/LINE_SHORT_TEXT/LINE_SHORT_TEXT_ROW/SHORT_TEXT[$lineID]" />
    </xsl:if>
    </xsl:for-each>I don't understand why the attachment for line1 (Attachment for line 1) is listed, but then none of the others are. Presumably I'm doing something stupid, but I can't work out what.
    edit - I've printed some of the variables out as the loop is incremented - the problem seems to be that the PO_LINE_ID is not incremented for the line in bold above. It just stays the same - hence why it works for the first line, where the PO_LINE_ID matches, and not for any of the other lines. So the problem is how to get that bold line to increment the PO_LINE_ID?Thanks
    null

    Sorry to labour the point.
    When I used this code against the XML:
    <xsl:for-each select="/PO_DATA/LINES/LINES_ROW">
    <xsl:value-of select="PO_LINE_ID" />
    <xsl:for-each select="./LINE_SHORT_TEXT/LINE_SHORT_TEXT_ROW">
    <xsl:value-of select="SHORT_TEXT" />
    </xsl:for-each></xsl:for-each>
    It generated this against every line:
    879135
    Attachment for line 1
    Another Attachment for line 1
    Header Attachment
    879136
    Attachment for line 2
    Header Attachment
    879137
    Attachment for line 3
    Header Attachment
    This is my reasoning for the code that works:
    <xsl:variable name="bobby1" select="../../PO_LINE_ID" />
    Make up a variable name, and give it the value of the current lines PO_LINE_ID
    <xsl:for-each select="/PO_DATA/LINES/LINES_ROW/LINE_SHORT_TEXT/LINE_SHORT_TEXT_ROW">
    Loop through XML structure e.g.:
    <LINE_SHORT_TEXT>
         <LINE_SHORT_TEXT_ROW>
              <PO_LINE_ID>879135</PO_LINE_ID>
              <SHORT_TEXT>Attachment for line 1</SHORT_TEXT> 
         </LINE_SHORT_TEXT_ROW>
         <LINE_SHORT_TEXT_ROW>
              <PO_LINE_ID>879135</PO_LINE_ID>
              <SHORT_TEXT>Another Attachment for line 1</SHORT_TEXT> 
         </LINE_SHORT_TEXT_ROW>
         <LINE_SHORT_TEXT_ROW>
              <PO_LINE_ID>879135</PO_LINE_ID>
              <SHORT_TEXT>Header Attachment</SHORT_TEXT> 
         </LINE_SHORT_TEXT_ROW>
    </LINE_SHORT_TEXT><xsl:variable name="bobby2" select="PO_LINE_ID" />
    And each time through the loop, assign the 'bobby2' variable the value of the PO_LINE_ID.
    <xsl:if test="$bobby1=$bobby2">
    This condition is neeed - because lets say that the 'PO_LINE_ID' of the current line is 879135, and the value of the 'PO_LINE_ID' listed in the LINE_SHORT_TEXT_ROW is 879136, then I don't want to output the value of the 'SHORT_TEXT' because it doesn't relate to the PO_LINE_ID of the line currently being checked. In your shorter code version, there is no checking to see if the PO_LINE_ID in the LINE_SHORT_TEXT_ROW section matches the parent PO_LINE_ID, so it just lists all LINE_SHORT_TEXT_ROW data, regardless of whether it is related to the parent line or not.
    <xsl:value-of select="SHORT_TEXT" />
    </xsl:if>
    </xsl:for-each>
    I'd be happy to email you over the .rtf and .xml file so you can see what I'm talking about.
    Thanks again for your time and help with this. As I said, without your initial help with the for-each loop I would not have fixed it.

  • How to upload long text in CA02 Transaction

    Hi,
    I am getting a file with the following format.
    Input File Record Layout:
    Group#                  like PLKO-PLNNR,     
    Group Counter             like PLKO-PLNAL,
    Operation#          like PLPO-VORNR,     
    Work Center#          like PLPOD-ARBPL,
    Control Key          like PLPO-STEUS,     
    Short-text          like PLPO-LTXA1,
    Long-text          type c(1000).     
    i have to upload the long text in the CA02 transaction. Could you please let me know the procedure that i should follow in uploading this in doing a call transaction in BDC.
    Thanks in Advance,
    Suresh

    Take a look at FM SAVE_TEXT
    To get the parameters of the FM :
    Goto the long text in CA02 and then via the menu :
    Goto --> Header .
    A popup is displayed containing the input parameters  :
    Text Name
    Language
    Text ID 
    Text object.
    Hope it helps,
    Erwan.
    Message was edited by: Erwan LE BRUN

  • Where we can find Short Text data type attachment

    Hi,
    file type attachements are store in fnd_lob.
    Where we can find Short Text data type attachment in oracle apps.
    Regards

    Hi,
    You can find short text data type attachments in FND_DOCUMENTS_SHORT_TEXT table.
    Please also refer link:
    Oracle Apps Gurus: Attachments in Oracle
    Attachments in Oracle Applications
    Hope this helps!!!
    Best Regards,

  • Please specify short text more precisely

    Hello All
    when i create a free text sc and reffered a material group GOA item text are same.
    sc description text = goa item text same (product category GOA)
    i get this error "Please specify short text more precisely" while creating a PO (classic)
    SAP options to make error message to warning message in ECC Version = 00
    Appl.A = 06
    No. = 474
    Cat = W
    what are the business impacts will be there if i make E to W.
    Br
    muthu

    Hi
    06474 is a MM-PUR error . It will also have effection to MM prochase order process.
    Error message 06 474 with item category W and M contracts occurs if the
    material on the PO has the same short description (text) as a non-stock
    item from the referring contract.
    If you change the description of your short text on the PO item (ex.
    text1) or you insert a material master with a description the error
    message will not appear.
    The error message that is generated is part of standard functionality.
    It is designed to prevent you from having a duplicate material.
    LMEPOF2B
    IF ekpo-ematn IS INITIAL.                               "371796
    IF ekpo-txz01 NE space AND ekpo-konnr NE space AND
       ekpo-txz01 EQ kekpo-txz01 AND
      ( kekpo-pstyp EQ pstyp-munb OR kekpo-pstyp EQ pstyp-wagr ).
       PERFORM enaco_2(sapfmmex) USING '06' '474'.         "371796
       mmpur_metafield mmmfd_short_text.                   "431879
       CASE sy-subrc.                                      "371796
         WHEN 1.                                           "371796
           MESSAGE w474 INTO gl_dummy.                     "371796
           mmpur_message 'W' '06' '474' '' '' '' ''.       "371796
         WHEN 2.                                           "371796
           MESSAGE e474. "specify the short description of the item
        WHEN 3.         "<   message not customized        "371796
           MESSAGE e474.                                   "371796
      ENDCASE.                                             "371796
    ENDIF.
    ENDIF.                                                   "371796
    The code listed above is where the error is generated. When there is no
    material master (EKPO-EMATN) and the short text on the PO (EKPO-TXZ01)
    is the same as the short text on the contract (KEKPO-TXZ01) and the
    contract is item category M (PSTYP-MUNB) or W (PSTYP-WAGR) then the
    error is generated.
    You can set the message to 'W' in SPRO t-code:
    SPRO > Materials Management > Purchasing > Environment Data >
    Define Attributes of System Messages
    I hope this information will help you.

  • Error message if invalid characters entered in PM order oper.short text fld

    Hi ALL,
    I need to display a error message, when user enters the invalid characters in work order operation short text field. The error message should be displayed during work order u201CSaveu201D (during creation and change mode).
    Kindly let me know is there is any user exit / BADI can be used for this.
    Note: I have checked some user exit, such as IWO10009 but I am not getting the value of Operation short text (AFVGD-LTXA1) to compare and throw the error message
    Regards
    Ramu

    hi
    the exit is correct but don't use structure field,
    follow this to get text
    get AUFPL(Routing number of operations in the order)from  CAUFV and paa it in AFVC -AUFPLyou get the short text
    it can be usefull
    -ashok

  • How to upload a text file from a shared folder and provide an o/p

    how to upload a text file from a shared folder and provide an o/p  containing the details in each order in the text file

    Hi,
    Use <b>GUI_UPLOAD</b> to upload a text file from a shared folder.
    Use <b>GUI_DOWNLOAD</b> to download data in a file on the presentation server or use <b>OPEN DATASET, TRANSFER</b> and <b>CLOSE DATASET</b> statements to download data to the application server.
    Now, I hope the code for data fetching, if required, is already present in the report.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • Uploading Importing text file & crosstab display

    <p> I want to upload a text tab delimited file into our db, currently we
    are uploading it to a temp table in the db, do some validation checks and write
    to a table when done. I have two questions:</P>
    <p> 1) Is there a more efficient way of upload/importing flat files into
    the db via forms, like loading data into a non db data block and working on the
    data via loops rather than sql in a temp table.</P>
    <P> 2) I want to present the data to the user(for verification) via a form
    screen as they have read it in, the only way I can think of doing this, is
    populating a temp table and then using a data block based on a stored procedure
    that contains a dynamic pivot query package since I don't know the
    number of columns that the file will contain. Data blocks can do either
    vertical or horizontal alignment but not grid.</P>
    <P> File will take the format of: </P>
               col1           col2            col3
    row1    data_r1c1   data_r1c2   data_r1c3
    row2    data_r2c1   data_r2c2   data_r2c3
    row3    data_r3c1   data_r3c2   data_r3c3
    row4    data_r4c1   data_r4c2   data_r4c3
    <BR>
         <P>Thank you in advance </P>

    Thank you for your reply
    1) It's a utility for users and so it has to be through forms
    Presently I think it is better to read it in to a temp table then I can use sql for validation which would be faster than looping through blocks. But with this approach I'm just a little worried about Lost Updates e.g. what if someone is changing scores in the regular update screen while another person is trying to import them via the import utility.
    2) I have to use a stored procedure because I don't know how many columns a user will want to load in, sometimes it could be 2,3 or 5 etc. So basically I am looking at a way of presenting the data from it's stored format in it's read in format i.e. file format
    File format =
             col1           col2            col3           coln
    row1  data_r1c1   data_r1c2   data_r1c3   data_r1cn
    row2  data_r2c1   data_r2c2   data_r2c3   data_r2cn
    row3  data_r3c1   data_r3c2   data_r3c3   data_r3cn
    rown  data_rnc1   data_rnc2   data_rnc3   data_rncn
    It is stored in the temp table as
    row1    col1   data_r1c1
    row2    col1   data_r2c1
    row1    col2   data_r1c2
    row2    col2   data_r2c2
    Example
             Test1    Test2    Test3    Test4
    John   54        45         70         65
    Jane   38        55         72         70
    Stored in the temp and subsequently written to Student Score table as
    Student    Test      Score
    John        Test1    54
    John      Test2      45
    John      Test3      70
    John      Test4      65
    Jane      Test1      38
    Jane      Test2      55
    Jane      Test3      72
    Jane      Test4      70

  • How to upload a text in .pdf to convert it?

    How to upload a text in .pdf to convert it?

    How to upload a text in .pdf to convert it?

  • How to upload a text in the customer master?

    hiall,
    in vd02 u go to extras->texts.
    Now I have to upload a text there..
    so i passed the text objetct-knvv
                                   name-kunnrvkorgvtweg+spart
                                   id-the rewuired agains which i have to upload
                                   lang-en
    i used fm save_text in badi method read_add_on_data in prog sapmvf02d.
    though the fm is working but when i am executing vd02 again the text is not appearing in vd02..Can u help me with this..

    Hi,
            Upload Program for Xk01 ..
    REPORT Y730_BDC5 .
    DATA : BEGIN OF IT_DUMMY OCCURS 0,
           DUMMY(100) TYPE C,
           END OF IT_DUMMY.
    DATA : BEGIN OF IT_XK01 OCCURS 0,
           LIFNR(10) TYPE C,
           BUKRS(4)  TYPE C,
           EKORG(4)  TYPE C,
           KTOKK(4)  TYPE C,
           NAME1(30) TYPE C,
           SORTL(10) TYPE C,
           LAND1(3)  TYPE C,
           SPRAS(2)  TYPE C,
           AKONT(6)  TYPE C,
           FDGRV(2)  TYPE C,
           WAERS(3)  TYPE C,
           END OF IT_XK01,
           BEGIN OF IT_BANK OCCURS 0,
           BANKS(3)  TYPE C,
           BANKL(10) TYPE C,
           BANKN(10) TYPE C,
           KOINH(30) TYPE C,
           LIFNR(10) TYPE C,
           END OF IT_BANK.
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
           IT_BDCMSGCOLL LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = 'C:\VENDOR.TXT'
       FILETYPE                      = 'ASC'
    TABLES
       DATA_TAB                      = IT_DUMMY.
    LOOP AT IT_DUMMY.
      IF IT_DUMMY-DUMMY+0(2) = '11'.
        IT_XK01-LIFNR = IT_DUMMY-DUMMY+2(10).
        IT_XK01-BUKRS = IT_DUMMY-DUMMY+12(4).
        IT_XK01-EKORG = IT_DUMMY-DUMMY+16(4).
        IT_XK01-KTOKK = IT_DUMMY-DUMMY+20(4).
        IT_XK01-NAME1 = IT_DUMMY-DUMMY+24(30).
        IT_XK01-SORTL = IT_DUMMY-DUMMY+54(10).
        IT_XK01-LAND1 = IT_DUMMY-DUMMY+64(3).
        IT_XK01-SPRAS = IT_DUMMY-DUMMY+67(2).
        IT_XK01-AKONT = IT_DUMMY-DUMMY+69(6).
        IT_XK01-FDGRV = IT_DUMMY-DUMMY+75(2).
        IT_XK01-WAERS = IT_DUMMY-DUMMY+77(3).
        APPEND IT_XK01.
      ELSE.
        IT_BANK-BANKS = IT_DUMMY-DUMMY+2(3).
        IT_BANK-BANKL = IT_DUMMY-DUMMY+5(10).
        IT_BANK-BANKN = IT_DUMMY-DUMMY+15(10).
        IT_BANK-KOINH = IT_DUMMY-DUMMY+25(30).
        IT_BANK-LIFNR = IT_DUMMY-DUMMY+55(10).
        APPEND IT_BANK.
      ENDIF.
    ENDLOOP.
    LOOP AT IT_XK01.
    REFRESH IT_BDCDATA.
    perform bdc_dynpro      using 'SAPMF02K' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-REF_LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02K-LIFNR'
                                  IT_XK01-LIFNR.
    perform bdc_field       using 'RF02K-BUKRS'
                                  IT_XK01-BUKRS.
    perform bdc_field       using 'RF02K-EKORG'
                                  IT_XK01-EKORG.
    perform bdc_field       using 'RF02K-KTOKK'
                                  IT_XK01-KTOKK.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-TELX1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFA1-NAME1'
                                  IT_XK01-NAME1.
    perform bdc_field       using 'LFA1-SORTL'
                                  IT_XK01-SORTL.
    perform bdc_field       using 'LFA1-LAND1'
                                  IT_XK01-LAND1.
    perform bdc_field       using 'LFA1-SPRAS'
                                  IT_XK01-SPRAS.
    perform bdc_dynpro      using 'SAPMF02K' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-KUNNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0130'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFBK-KOINH(02)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    DATA : FNAM(20) TYPE C,
           IDX      TYPE C.
      MOVE 1 TO IDX.
    LOOP AT IT_BANK WHERE LIFNR = IT_XK01-LIFNR.
      CONCATENATE 'LFBK-BANKS(' IDX ')' INTO FNAM.
      perform bdc_field       using FNAM
                                    IT_BANK-BANKS.
      CONCATENATE 'LFBK-BANKL(' IDX ')' INTO FNAM.
      perform bdc_field       using FNAM
                                    IT_BANK-BANKL.
      CONCATENATE 'LFBK-BANKN(' IDX ')' INTO FNAM.
      perform bdc_field       using FNAM
                                    IT_BANK-BANKN.
      CONCATENATE 'LFBK-KOINH(' IDX ')' INTO FNAM.
      perform bdc_field       using FNAM
                                    IT_BANK-KOINH.
      IDX = IDX + 1.
    ENDLOOP.
    perform bdc_dynpro      using 'SAPMF02K' '0130'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFBK-BANKS(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_dynpro      using 'SAPMF02K' '0210'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-FDGRV'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFB1-AKONT'
                                  IT_XK01-AKONT.
    perform bdc_field       using 'LFB1-FDGRV'
                                  IT_XK01-FDGRV.
    perform bdc_dynpro      using 'SAPMF02K' '0215'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-ZTERM'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0220'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB5-MAHNA'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0310'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFM1-WAERS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFM1-WAERS'
                                  IT_XK01-WAERS.
    perform bdc_dynpro      using 'SAPMF02K' '0320'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'WYT3-PARVW(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_dynpro      using 'SAPLSPO1' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    CALL TRANSACTION 'XK01' USING IT_BDCDATA
                            MODE  'A'
                           UPDATE 'S'
                         MESSAGES INTO IT_BDCMSGCOLL.
    ENDLOOP.
    FORM BDC_DYNPRO USING PROG SCR.
      CLEAR IT_BDCDATA.
      IT_BDCDATA-PROGRAM = PROG.
      IT_BDCDATA-DYNPRO  = SCR.
      IT_BDCDATA-DYNBEGIN = 'X'.
      APPEND IT_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR IT_BDCDATA.
      IT_BDCDATA-FNAM = FNAM.
      IT_BDCDATA-FVAL  = FVAL.
      APPEND IT_BDCDATA.
    ENDFORM.
    Regards

  • 'No Upload Authorization' While Uploading a Text File from Multiple Select

    Hi all,
       The User is trying to upload a text file from Multiple Selection screen of a Query in BEx and it gives the error message of 'No Upload Authorization' (Error DB886).
       In 'Logon data' tab of Tcode SU01, it has 'User' for 'User Group for Authorization check' for this User.
       I could upload a text file from Multiple Selection screen with my User Id.
       An idea about this error, PLEASE ?
    Thanks,
    Venkat.

    Hi Ron,
       This User does not have the access to Tcode ST01.
       The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
      Any further suggestions, PLEASE.
    Thanks.

  • Uploading a text file to FTP Loc

    Hi,
    Please guide me in the following query:
    While uploading a text file to FTP Loc by using FM 'FTP_R3_TO_CLIENT', all the data is coming in one line. Please guide me how can i insert the new line character after the end of each line.
    Please guide.
    Thanks and Regards

    Hi,
    When i make the character_mode = 'X', then no data is getting uploaded to FTP Loc, only a blank file is being created. Please guide.
    Thanks and Regards
    Edited by: MP Vashishth on Jan 12, 2010 10:34 AM

  • Enter short text error when creating a purchase requisition using ME51

    Hello
    I would be grateful if someone can help. I am currently trying to raise a purchase req using ME51. The purchase req is for one item so i enter details of this item on line 1. However when i try to save the purchase req i get an error message stating "enter short text"  on line 3 and it does not let me continue. Line 3 however does not contain any item information so i dont understand why i am getting this error message.
    Another user created the same purchase req and it worked fine for them so i am not sure why i am getting this message.
    I  would be grateful if you can please help.
    Thank you
    Regards
    Bindi

    Syed
    I  have tried logging off and logging back in and still having this issue.
    Jurgen
    No im only having this problem in a ME51 creating purchase requisitions and not in a CATT or any batch input recording
    Regards
    Bindi

  • Upgrade to SCM7.0 DP info objects (Characteristics) long/short text issue

    Hi All,
    We have upgraded from SCM4x to SCM7.0. The info objects characteristics customized long and short text is not updated in SCM 7.0.
    Example: Info object 9ALOCNO standard long/short text is APO location. But in SCM4x they have changed to Plant. After upgrade this text is set to APO location, not the plant. Like this many chars text have been changed to SAP standard.
    When I try to change text of info object creates transport request.
    Is this standard behavour when we upgrade?
    Please share your thoughts and let me know for more information.
    Thanks,
    Sreeni

    Sreeni,
    With every upgrade the customization is lost. We will have to make a list of all customized objects and make the change again in the upgraded system.
    Hope this helps.
    Thanks
    Mani

Maybe you are looking for

  • Screen fades from black to grey then into white.

    Ive had my iphone for 3 1/2 weeks Out of nowhere my iphone 4s got all weird. My screen fades from black to grey into white. ive tried to reboot it it doesnt work. i also pressed the middle button and the power button for like 10 seconds and nothin ha

  • In itunes under genre the word "acostic" should be acoustic... correct? Can I correct this?

    In itunes, under genre, the word "acostic" should be acoustic... correct? Can I correct this?

  • [ASK] Get One Row of Property Value From Dimension in Script Logic

    Hello, i need help about how to get one row of property value from dimension in script logic. Let say there is CATEGORY dimension and the members are like this : ID                                                  YEAR   Status PLAN_2011             

  • How to stop a elapse time

    Hi, I have an elapsed time inside a while loop and I want stop it (the elapsed time) when the user press a button. How can I do it? Thanks, ToNi.

  • Metadata wrong shown in Bridge 5

    Hi, using Photoshop 5 to generate eps-files will generate wrong metadata espacially in resolution and size. Example: An image has the size 600 x 600 px and 300 dpi. Saving as image.eps (8 bit tiff, ASCII) it will be shown only 144 x 144 px and no res