How to copy Log text (with Date, Time stamp ) User IDfrom BP to Transaction

Hi Experts,
                 Can someone guide us how  to copy Log text (with Date ,Time & User ID) fron Business partner  (Prospect) to transactions by text detrmination procedure.
Regards,
Basavaraj Patil

save text
Fill out following parameters of SAVE_TEXT function module:
HEADER
TDOBJECT C 10 BUT000
TDNAME C 70 10 digit BP number
TDID C 4 Z001
TDSPRAS C 1 Language
INSERT = ’X’
LINES
TDFORMAT TDLINE
|
|testtttttttttttttttttttttttt( Your text)
I would suggest you to use some other BAPI that would attach your text to BP than SAVE_TEXT.
If you still wanted to use SAVE_TEXT then first make sure how the TDNAME is generated. It depends on the text determination procedure. For examples, it can be guid of BP, GUID followed by date or time or else the BP number itself.
Just go to BP transaction, double click on the text pad, it will open you the SAP Script editor. Click on menu GOTO and select Header which will give you info about your TDID, TDOBJECT, TDNAME....
Hope this helps.

Similar Messages

  • How do I to get the date/time stamp back on my texts in ioS7?

    I've looked and looked to find an option and I can't seem to locate one.  Does anyone know how to put the date/time stamp back...?  It does appear in, but not consistently.

    Swipe right to left and they will appear as you need them.

  • How to find the last update date time and user of record field peoplecode

    how to find the last update date time record field peoplecode?
    Thank you.

    One can check the last update date time using the following query
    SELECT LASTUPDDTTM FROM PSPCMPROG WHERE OBJECTVALUE1 LIKE 'RECNAME' AND OBJECTVALUE2 LIKE 'FIELDNAME'

  • Idoc- File with date+time stamp, getting overwritten

    Hi,
    I have a scenario where in am writing Idocs from R3 to a Txt File in 3rd party system.
    For an instance upon running a Tx, am generating 3 idocs. I need all these 3 idocs to be written to a single file. Hence for the file naming i have used "CREDAT_CRETIM.txt" from EDI_DC40(all idocs carry same date+time).
    I have configured the file mode as Create -> using Temporary fileschema of "Ord.xfr". I need this for locking before FTP to the 3rd party system.
    If i check the OVER WRITE EXISTING FILE checkbox, i get only the last idoc written to the file(overwriting previous 2 idocs).
    If i Uncheck the OVER WRITE EXISTING FILE checkbox, i get only the first idoc written to the file(other 2 idocs are not written) they are shown successful in MONI.

    hi BRamchan,
    >>>><i>If i Uncheck the OVER WRITE EXISTING FILE checkbox, i get only the first idoc written to the file(other 2 idocs are not written) they are shown successful in MONI.</i>
    If you can see in moni successfully process, look in the RWB communication channel monitoring of the receiving channel, there you might find error.
    regards
    Ramesh P

  • Regds  generating linecount , filename with date/time stamp in header

    my source structure(MQ series) follows:-
    AULG-NUMMER
    RATG-RA-NR
    AULR-ANKUNFTS-DT
    WHRG-CODE
    ALTR-NUMMER
    ALTR-DATUM
    VAST-CODE
    AURP-NUMMER
    RSZI-CODE-LSTG
    RATG-REISEANTR-DT
    ALTR-BEMERK-TEXT
    AURP-REGULIER-BETR-VZ
    AURP-REGULIER-BETR
    AURP-ZFB-DATUM
    TECH-SAP-EINB-NR
    TECH-SAP-BEL-SUMME-VZ
    TECH-SAP-BEL-SUMME
    RSZI-CODE
    KTED-CODE
    My Receiver Structure(Target File)
    RESY_SAPUK_COSTBOOKING_HEADER      
         RECTYPE
         FILENAME
         LINE_TOTAL
         AMOUNT_TOTAL
    RESY_SAPUK_COSTBOOKING_ITEM     
         RECORD TYPE
         VENDOR_NUMBER
         TRAVEL_ORDER
         ARRIVAL_DATE
         WHRG_CODE
         INVOICE_NUMBER
         INVOICE_DATE
         COMPANY_CODE
         NUMBER
         VENDOR_LOCATION
         DATE_DEPARTURE
         INV_REMARK
         SIGN_INV_AMT
         INV_AMT_TRAV_ORDER
         INV_DUE_DATE
         DOC_NUMBER
         SIGN_TOTAL_AMT
         TOT_AMT_INV
         DEST_CODE
         CAT_CODE
         POSTING_DATE
    In receiver structure, in header, i have to generate filename,linecount,and total sum of the messages to be collected at the end of the day.
    Can anyone help me on this issue

    Hi,
    To generate file name duynamically
    Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    Dynamic File Name Part 2
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    For line count and total sum you can use standard function provided in message mapping -> statistic -> count , sum.
    Else a udf.
    <b>Cheers,
    *RAJ*</b>

  • How to find the last executed date ,time and user of the quaery

    Hi,
    How to find the following information of the Query
    1. Where all the place these queries/web template used.
    2. When was it last executed.
    3. Who executed last.
    Regards,
    Hari

    hi Hari,
    you can try table /BI0/APERS_BOD00
    for query, first go to table RSRREPDIR, give field COMPID
    with query technical name and get GENUNIID, then go to table /BI0/APERS_BOD00, field TCTOBJNM = RSRREPDIR-GENUNIID, TCTUSERNM and TCTTIMSTMP -> user name and last executed.
    for web template, give field TCTOBJNM in table /BI0/APERS_BOD00 with web template name.
    hope this helps.

  • How do you vary the Date/Time stamp format in File Adapters

    In the receiver channel of the File Adapter where you specify the 'File Name Scheme', you do have the option of specifying a 'File Construction Mode' of 'Add Time Stamp'.  How can you specify a different Date/Time stamp format ( eg MM/DD/YY vs YYYYMMDD vs MMDDYY, etc. ) without changing the Date/Time stamp for the entire SAP system?  Also, can you control where the Date/Time stamp appears in the filename?

    Hi,
    There are many threads discussing the same issue. Go thro the following:
    Dynamic file name (Date) in Receiver File Adapter
    Receiver File Adapter - TimeStamp
    Bhavesh's reply in above thread:
    You can use Adapter Specific Identifiers and then change the file name in the mapping. Append the tiem stamp in the format that you want and so on.
    Just use this code in an UDF,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    String newfilename=SourceFileName+dateformat;
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards,
    P.Venkat

  • Date-Time stamp on CQ published pages

    Hello,
    How do I display last-published-date-time stamp for published CQ pages. This is critical to customers, as the date-time stamp determines the relevance of articles.
    Thanks,
    Suhas Yogin

    Try to adapt instance of com.day.cq.wcm.api.Page to com.day.cq.replication.ReplicationStatus and then use it's methods to get necessary data.

  • LG Octane Camera Date/Time Stamp Issues

    The pics I take with my LG Octane are designated a number associated with the date/time the pic was taken (ex 0401121345, would be April 1, 2012 at 145pm). When I transfer the pics from my phones memory card to my computer and open the pics, I can see the pics info (date/time) and everything seems correct.
    The problem comes in when I load my pics onto a website that verifies the pics date/time thru the digital encoding on the pics file. (Digital Pics are encoded with date/time stamps that can be recognized with computer software). This website rejects my submitted pics from my LG Octane because this encoding is either not there or not set correctly. I had no issue previously when using my Samsung env last year. Please Help!

    I take it you are noticing that the photo shows in your gallery with the correct time for the name. But, when you look at the photos on your computer it is showing a time so many hours off (ie. phone shows 12:00 and computer shows 4:00). What it is actually doing is time stamping it for GMT for some reason.  This has been a problem for as long as I know. I have not found an answer and have come to believe there is not a way of changing the time/date stamp on the phone. I have not even found an app for it.
    Sorry I don't have an answer. But, maybe some one else will.

  • Multiple channel data with different time stamp logging

    I have peaks and valleys from multiple channels with different time stamp but I am not able to log to a single file. Any idea on how to do this?
    Attachments:
    Single Point Peak Valley Log.vi ‏53 KB

    Hi Dennis,
    Sorry for that I have modified the VI.
    Because the peak and valley of every channel will occur at different time and I want to log the peak/valley with the time stamp.
    How can I log them on the same file.
    Attachments:
    Single Point Peak Valley Log_Mod.vi ‏53 KB

  • PTP camera - how to retain date/time stamp on photos [Gnome]

    I have a USB PTP Camera that comes up in Nautilus under "gphoto2://[usb:001,007]/DCIM"  I can copy/paste the photos off the thing to ~ but the date/time stamp gets changed to the present.  How can I copy them over retaining the original date/time stamp?

    By using the exif info I suppose.
    http://linux.die.net/man/1/exiv2
    -t
        Set the file timestamp according to the Exif create timestamp in addition to renaming the file (overrides -k). This option is only used with the 'rename' action.
    Last edited by karol (2010-07-22 22:13:26)

  • Creating a spool file with date/time appended to file name

    In Oracle Sql*Plus, I want to spool out a file, with the date-time stamp as part of the file name. Any idea how to do this?
    Here's what I have right now:
    SQL>
    set serveroutput on size 200000;
    rem
    rem $OFSA is a UNIX alias so sql plus is talking to UNIX
    rem
    spool $OFSA/logs/OFSAP/common_coa_id.log;
    prompt 'Enter date in mmddyyyy format, without quotes';
    exec upd_common_coa_id_driver ('&date_mmddyyyy');
    spool off;
    As an example, I'd like to have a file with this name: common_coa_id083002.log
    Thanks.

    In SQL*Plus this is what you can do to get the current date/time as part of the spool file:
    ============================================================================================
    SQL> column tm new_value file_time noprint
    SQL> select to_char(sysdate, 'YYYYMMDD') tm from dual ;
    1 row selected.
    SQL> prompt &file_time
    20020816
    SQL> spool C:\Temp\logfile_id&file_time..log
    . /* put your code here */
    . /* it will go to a file called C:\Temp\logfile_id20020816.log */
    SQL> spool off
    SQL>

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

  • How to export the text edit data to excel file without splitting the data in excel file?

    how to export the text edit data to excel file without splitting the data in excel file?
    I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
    I want the entire comment to be fit in one row.
    Please help.
    Thank you

    Hi,
    if your text edit value is stored in 'lv_string' variable.
    then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
    that is '#' from the variable lv_string.
    for that use code some thing like this.
    REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
    I think this will do the trick.

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

Maybe you are looking for

  • Server Error in '/' Application - The resource cannot be found

    Using VS 2008 with Framework 3.5, I built a web-service that runs perfectly on the development PC.  When I build and run the web service, it runs in a virtual port as "ASP.Net Development Server Port 49259".  All the methods will invoke no problem. 

  • Global template and rollouts vs. Solution Directory

    Hello, I would like to know what is the best way to maintain the global template and the related rollouts documentation. I know the functionality of Solution Directory, ie. it should be the primary place to maintain a solution in production, changes

  • Bulleted List Question

    I'm applying a new style for my company's technical data sheets. The designer created a new bullet using a Wingdings 3 symbol. I incorporated that symbol, a lower case u that displays as a triangle rotated 90 degrees to stand on one tip. I copied tha

  • Transferring pics from iPhoto 8 to iPhoto 6

    Having troubles doing a simple import of pics that went from camera to my laptop (iPhoto 8), burnt them to cd then tried to import into G5 (iPhoto 6). This should not be an issue right (the import of iPhoto 8 pics into iPhoto 6)? Is there a way to bu

  • Has anyone else been tying the "Tangerine" download?

    I think this is great; however, after making a few "test" discs, my ITunes Library has been reassembled--- and I can't figure out how to go back to the way it was (cover flow; alphabetized by title) any suggestions?