Fields transferred to payment & contract changes table

Dear all,
I'm having 2 problems:
1). In the payment program (F110) we make a selection based on the field XBLNR of the FI document (which contains a datestamp + 'REPP' or 'REOP' depending on periodic or one time RE posting).
Payments are split between periodic & one time postings - we make 2 payment runs.
Second thing is: we want to add in the payment file the information of the rental unit/building, to inform the owner to which building our payment is corresponding. We can get this information into the payment file by filling the field "Note to payee".
Problem: Note to payee information is stored in the field XBLNR, so we lose our information of REPP/REOP to make our selection...
Anybody has any idea if another standard field out of the contract/FI document could be used to store this kind of information & have it transferred to the payment file by std SAP?
2). To show which changes were done latest to a RE contract, we need to retrieve the table which is behind Contract > Extras > Change documents.
In this function, you can see which user changed on which date which field(s) on the contract.
The idea is to retrieve the user & data on which the contract was changed latest.
The problem is that I am not able to find in which table(s) this information is stored & what is the link with the contract (VICNCN table).
Does anybody knows out of which table this can be retrieved please?
However, we want to avoid retrieving the user & change date when the periodic posting was done (Contract > extras > User data), as this also updates the contract (indicator in the cash flow appears as "posted").
The latter is stored in table VICNCN, contract change fields.
We are using SAP ECC 6.0 & RE-FX.
Many thanks!
Best regards

Hi,
ad 1) you can use BADI_REEX_FI_BAPI, method BAPIDOC_MODIFY to change the fields of the FI document.
Which fields may be suitable? BSEG-ZUONR, BSEG-XREF1,..4
But I would suggest that you post this question in the ERP financials forum because this top is related to FI payments.
ad 2) Please check out tables CDHDR and CDPOS.
table CDHDR
OBJECTCLAS    RECN*
OBJECTID          IS*                   (object number of RE object)
Regards, Franz

Similar Messages

  • Table / Tcode for Payment Terms change History

    Hi,
    Please let me know the Table name where we can see the previous Payment Terms and revised payment terms of a vendor.
    Or any transaction code exist  for Vendor Payment Terms changes??
    Regards...

    You have 2 optiions
    Option 1
    Please use report S_ALR_87012089.
    =============
    For vendors, you define field groups to
    Protect individual fields via authorizations when maintaining master data,
    Select only changes to particular fields using this program.
    For field groups which are only used for selection in this program, select the No authorization field.
    You can define field groups in the IMG, under Financial Accounting -> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Records -> Preparations for Changing Vendor Master Records -> Define Field Groups for Vendor Master Records.
    You can assign fields to field groups in the IMG, under Financial Accounting -> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Records -> Preparations for Changing Vendor Master Records -> Group Fields for Vendor Master Records.
    After the configuration you should be able to display the changes.
    =====================
    Option 2
    In the table CDPOS pass the field name along with object class KRED and FNAME "ZTERM" you should get the result. It is advisable to joind CDHDR and CDPOS create a query and look at the output.
    Regards
    K.R

  • Reporting: Table / Tcode for Payment Terms change history in posted documents

    Hi everyone,
    First of all, thanks in advance for your help on this one.
    Please let me know the Table name where we can see the previous Payment Terms and revised payment terms of documents in a specific company code.
    For example: if a document had payment terms 45 and they were modified to 00 or 15.
    Or is there any transaction code to track Payment Terms changes accounting documents? Where I can select company code and build a report based on this field alone, during a specific timeframe (Q1 2014 or Q2 2014.
    Thanks again and best regards,
    Christian.

    Hi Christian,
    You can use standard reports to veiew the changes in doucments e.g.:
    FB04 - Document Changes
    S_ALR_87012293 - Display of Changed Documents
    FB04
    S_ALR_87012293:
    Regards
    Javed

  • Specify field mapping when changing table location

    I want to change the tables in a report to refer to database tables with a different schema, and specify the mapping of fields in code.
    I already have code that changes table locations successfully when the schema does not differ, using the RAS API. As far as I can tell, the RAS API doesn't have a way of handling schema differences. Is that true?
    OTOH, the higher-level CR API does appear to have a mechanism to do field mapping, using the FieldMapping event in the ReportDocument class. I've been trying to use this API for the job, but I don't seem to be able to change the location of a table in the report.
    Here's an example scenario:
    The report was created using an ODBC data source Source1 that contains a table Table1
    I have an ODBC data source Source2 that contains Table1 as well as a table Table2 that is identical to Table1 except that the field names are all slightly different
    I want to change the report so that it uses Table2 in Source2
    I've managed to get the report switched to Source2 with code like this:
    report.DataSourceConnections[0].SetConnection("Source2", "", id, pwd);
    Here's the code I'm using to try to change the report table to refer to Table2:
                Table table = report.Database.Tables[0]; // only one table in the report
                TableLogOnInfo logOnInfo = table.LogOnInfo;
                logOnInfo.TableName = "Table2";
                table.ApplyLogOnInfo(logOnInfo);
                report.VerifyDatabase();
    I've also tried the simpler
    table.Location = "Table2";
    Neither approach changes the table location. I know this because when I preview the report I see data. Since the field names are all different, changing the location should have removed all the fields from the report. (Also, the event handler I have hooked up to the FieldMapping event is not called. Yes, I did enable the event in the ReportDocument.)
    So:
    How do you change the location of a table using the high-level API?
    If you change the location using the RAS API, is the FieldMapping event fired? (Haven't tried this, but somehow I doubt it.)
    Is there a way to do field mapping with the RAS API?
    Thanks!
    - rick cameron

    Hi Rick
    This is not considered a bug. It is a limitation that has been discusses extensively in many of our internal meetings. The implementation job proved to be much too massive and with highly limited ROI. E.g.; the number of requests for the feature is just not there...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Change Field Size of CodeItem In OITM Table

    All,
    Could I Change Field Size of CodeItem in OITM table (Default is 20 Characters)  to 30 Characters?
    Thanks

    Hi,
    You can request changes in Business One through the Product Collaboration Forum here on the SDN, or by contacting your local SAP field office for more assistance.
    SAP note 1028874 has more information about this.
    Regards,
    Niall

  • Vendor Payment Terms Changes - Listing?

    Hi SDN
    We are trying to track all the Vendor Payment Terms Changes done in the Vendor Master, and I was wondering if SAP offers some reports that could list, for a given time period, all the vendors that their payment terms changed, as well as what was the old value, and what the new one is. 
    If not, what would be the table(s) I could use, and maybe try to create a SQVI query to provide me that listing.
    Thanks for your usual support.
    Eric L.

    Hello,
    You can get the details of changes made to Vendors in report S_ALR_87012089
    Further selections include:
    General Data
    Company Code Data
    Purchasing Organization Data
    If you want to see only company code data and you will the details for all the fields within "Company Code Data" including "Payment Terms"
    Hope this solves your problem.
    Regards,
    Ravi

  • Additional validation for one of the fields in down payment request

    Hi All ,
      I have a requirement for doing some additional validation for one of the fields in down payment request
    (F-47) .
    I need to validate a field u2018Assignmentu2019 in the down payment request .
    Here, assignment field is mandatory and user has to enter a valid contract number. Then we have to  validate the contract number entered against the tracking number field (BEDNR) in EKPO table corresponding to the vendor.
    If the contract number entered is incorrect, then system displays a message with the valid contract number. The user can modify the assignment field with this contract number. Once the field is modified, system once again validates whether the contract number entered is valid.
    Can you please provide me your valuable inputs how to achieve this.
    Regards,
    Tripti.

    Hi Vishal ,
      Thanks for your reply. I tried searching for  them but couldn't find any.
    Regards,
    Tripti.

  • Using MISSING FIELD VALUES ARE NULL for external table

    I want to place a null for values missing in the sub_account field. Here is my external table:
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
    create table ext_INCOMING_ORDERS_table (
    Account varchar(5),
    Sub_Account varchar(1),
    Override_Code varchar(1),
    Nomenclature varchar(28),
    chg_nbr varchar(3),
    quantity integer,
    U_I varchar(5),
    zipcode varchar(5),
    type_reject varchar(2)
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    missing field values are null
    badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
    logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
    fields
    Account(1:5) char(5),
    Sub_Account(7:7) char(1),
    Override_Code(10:10) char(1),
    Nomenclature(11:38) char(28),
    chg_nbr(40:42) char(3),
    quantity(44:48) integer external,
    U_I(50:54) char(5),
    zipcode(56:60) char(5),
    type_reject(61:62) char(2)
    location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
    reject limit unlimited;
    How can I place the MISSING FIELD VALUES ARE NULL for missing values for the sub_account?

    made the change I received this error:
    SQL> select * from ext_INCOMING_ORDERS_table;
    select * from ext_INCOMING_ORDERS_table
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "no": expecting one of: "comma, date_format,
    defaultif, enclosed, ltrim, lrtrim, ldrtrim, notrim, nullif, optionally, ),
    rtrim, terminated"
    KUP-01007: at line 7 column 26
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
    create table ext_INCOMING_ORDERS_table (
    Account varchar(5),
    Sub_Account varchar(1),
    Override_Code varchar(1),
    Nomenclature varchar(28),
    chg_nbr varchar(3),
    quantity integer,
    U_I varchar(5),
    zipcode varchar(5),
    type_reject varchar(2)
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
    logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
    fields
    Account(1:5) char(5),
    Sub_Account(7:7) char(1) NO PRESERVE BLANKS,
    Override_Code(10:10) char(1),
    Nomenclature(11:38) char(28),
    chg_nbr(40:42) char(3),
    quantity(44:48) integer external,
    U_I(50:54) char(5),
    zipcode(56:60) char(5),
    type_reject(61:62) char(2)
    location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
    reject limit unlimited;

  • Adding fields 2 standard payment list program  (RFZALI20)  in F110 t-code

    hi frnds,
    it is a standard progrm using the logical database pfy. to retrive data.
    i have to add 5 more fileds  along with footer approved by and page break(shown below) to the output list.
    please help me with ur inputs.
    Header Data:
    *Note:
    Keep the header data same as standard payment list.
    Summary Data:
    *Note:
    Following fields are only those needs to be added in customized program. For the rest, please refer to the standard program  
    ·     Vendor Chinese Name
    ·     Check/TT No.
    ·     PO No.
    ·     Purchasing Group
    ·     Reference
    ·     Due Date
    Footer Data:
    *Note:
    The Footer Data need to be display at the bottom of each page:
    ·     Review By
    ·     Prepared By:
    Breaking:
    ·     Page break when information overflow
    ZH Name     C     20     As standard     As standard     ADRC- NAME1NAME2     Display vendor Chinese name:Select NAME1NAME2 from ADRCWHERE ADRC-ADDRNUMBER=REGUH- ADRNRAND ADRC-NATION = ‘C’If no data can be retrieved, leave the field as blank.Wrap if the name exceed the limit. Insert the field under Vendor English Name in payment list.Refer to the attached for layout, Highlighted is place should be inserted to : 
    Check/TT No.     C     8     As standard     As standard     PAYR-CHECT     Display Check/TT number of this payment documentSelect CHECT from PAYRWhere PAYR-LAUFD = REGUH-LAUFDAnd PAYR-LAUFI= REGUH-LAUFIAnd PAYR-VBLNR= REGUH-VBLNR which is displayed in current payment listInsert the field in header line 1 of layout pop-up.
    PO No.     C     10     As standard     As standard     BSEG-EBELN     Display the PO number of invoice documentSelect EBELN from BSEG Where BSEG-BELNR=REGUP-BELNRBSEG-GJAHR=REGUP-GJAHRAnd BSEG-BUZEI= REGUP-BUZEIInsert the field in position line 1 of layout pop-up. 
    Purchasing Group     C     4     As standard     As standard     EKKO-EKGRP     Display purchasing group in order to identify the buyer in charge of related POSelect EKKO-EKGRP from EKKO where EKKO-EBELN =BSEG-EBELN  Where BSEG-BELNR=REGUP-BELNRBSEG-GJAHR=REGUP-GJAHR  And BSEG-BUZEI= REGUP-BUZEIInsert the field in position line 1 of layout pop-up.
    Reference     C     10     As standard     As standard     BKPF-XBLNR     Display physical invoice number of each invoice document in SAPSelect XBLNR from BKPF Where BKPF-BELNR=REGUP-BELNRBKPF-GJAHR=REGUP-GJAHRInsert the field in position line 1 of layout pop-up.
    Due Date     C     10     As standard     As standard     Calculated     Display due date for the invoice document.Refer to the calculated logic of the field RFPOSXEXT-FAEDT in program SAPLKKBL (T-Code:FBL1N)Insert the field in position line 1 of layout pop-up.

    Hi Sridhar,
    Please can you help me. I got the same problem to add the fields to the Payment run Program (RFZALI20). Can You please suggest me how can i solve this problem. I need to add LIFNR, XBLNR & EBELN fields from REGUP table.
    Can you please help me ASAP.
    Thanks & Regards
    Rajendra
    Message was edited by:
            Rajendra Prasad

  • Gui_download for transferring the data from internal table to excel sheet.

    hi all,
    i am using gui_download for transferring the data from internal table to excel sheet.
    I have a internal table with 3 columns col1,col2,col3 and I am getting the file at the specified path,but my problem is that,in the excel sheet(path specified) all the 3 columns values are printed in one column.Please help me.
    Thanks in advance.

    Hi Venkata,
    plz use FM 'SAP_CONVERT_TO_XLS_FORMAT' :
      call function 'SAP_CONVERT_TO_XLS_FORMAT'
        exporting
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
          i_filename                 = p_file
    *   I_APPL_KEEP                = ' '
        tables
          i_tab_sap_data             = t_mbew
    * CHANGING
    *   I_TAB_CONVERTED_DATA       =
    * EXCEPTIONS
    *   CONVERSION_FAILED          = 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.
    Hope this helps,
    Erwan

  • Field VBUND does not allow changes to the document ?

    If you post the trading partner, the trading partner(Field VBUND)does not allow changes to the document.
    I can't change trading partner.
    Thanks!!
    Message was edited by: Rico Wang

    Rico,
    Using trn code SM30, modify table V_TBAER and insert the entry
    BSEG-VBUND for account type S, D, K, A
    and see the effect.
    Thanks
    Mohit
    ps: you may want to check OSS notes as well.

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • Crystal Reports XI does not allow to change Table to SQL command?

    I have report that has Table in Datasource and this table used in report and all fileds are mapped. I need to change table to SQL Command with the same result set of collumns. When I try to Update in Set Datasource Location - it does not work. CR XI allow to update Command to table but Table to Command just do nothing.
    What I have to do or how I can do it?

    Alexander,
    That's probably the "Best" way to do it, and long term you'll want to start adding BOE to your work flow.
    If you want to get around it, here how:
    1) MAKE A COPY OF YOUR REPORT AND WORK FROM THE COPY!!! This involves some a good deal of destruction before you get into reconstruction.
    2) Once you have created your command, remove the table.
    3) Now the fun part... Go through report and manually change all references to the 1st table...
       report fields
       formulas
       selection criteria
       groups
       the whole 9 yards...
    A short cut for the future... If you make all of your formula copies of all of your fields ( fCustomerName = {Table.CustomerName} ) and then only use the formula version of the field in the reports, you can make these changes very easily. (All you have to do is update the one set of formulas.)
    Also as a side note before you get started... You may want to think twice before you mix commands with tables. You loose the server side filtering and grouping on the tables when you do that.  So if you have several tables, you are better off doing the whole thing in one SQL command, do all of your filtering and sorting there and use it to replace ALL of your tables.
    Basically, Graham's way is the easy way... Assuming you have access to the BOE.
    Jason

  • How to change table content ...

    Hi All,
    Pl. give us soltution for the following :
    1. How to change table content of standard table ?
        (eg. mara content not from MM02.).
    2. How to add field in standard table ?
    waiting reply.
    Yusuf

    Hi  Yusuf,
    Modifying a standard table through a program using SQL statements is highly risky. However if u wish to do it programatically and not through MM02, you have the option of using BAPIs.
    Goto transaction BAPI and through the application hirarchy, goto Material Management section. There i am sure u will find some BAPIs to modify material master and they are the most stable mode of update programatically.
    Hope this helps.
    Regards,
    Aditya

  • MySQL non-transactional changed tables ...

    I'm trying to test the rollback functionality of my db connection by executing 2 INSERT statements:
    INSERT INTO Users (login_id,name,language_code) VALUES ('Satanka','Satanka','2')
    "INSERT INTO Users (tlogin_id,name,language_code) VALUES ('Satanka','Satanka','2') // this one should fail becase there is no tlogin_id column in the Users table
    When I run my test program I got the followin error message:
    java.sql.SQLException: Column not found: Unknown column 'tlogin_id' in 'field list'
    at org.gjt.mm.mysql.MysqlIO.sendCommand MysqlIO.java:508)
    at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:561)
    at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:646)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:973)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:897)
    at org.gjt.mm.mysql.Statement.executeUpdate(Statement.java:230)
    at org.gjt.mm.mysql.jdbc2.Statement.executeUpdate(Statement.java:99)
    at com.pylon.portal.timesheet.datahandling.DBBrokerSingleton.ExecuteSQLUpdate(DBBrokerSingleton.java:70)
    at DBClient.main(DBClient.java:12)
    //to this point I understand everything but next line
    java.sql.SQLException: General error: Warning: Some non-transactional changed tables couldn't be rolled back
    at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:508)
    at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:561)
    at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:646)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:973)
    at org.gjt.mm.mysql.Connection.execSQL(Connection.java:897)
    at org.gjt.mm.mysql.Connection.rollback(Connection.java:590)
    at com.pylon.portal.timesheet.datahandling.DBBrokerSingleton.ExecuteSQLU
    pdate(DBBrokerSingleton.java:78)
    at DBClient.main(DBClient.java:12)
    Why a simple insert is a "non-transactional" change?
    I'm creating the connection like this:
    Connection con=DriverManager.getConnection("jdbc:mysql://"+url+"/TimesheetDB?user="+Name+"&password="+Pass);
    con.setTransactionIsolation(java.sql.Connection.TRANSACTION_READ_UNCOMMITTED);
    con.setAutoCommit( false );
    I'm using JRE 1.3
    JDBC driver mm.mysql-2.0.4-bin.jar
    mysql server 4.0

    Yes, you're right. I found that the default table type won't let me use transactions, and Mysql Server sent me the message.
    I thought that
    "java.sql.SQLException: General error: Warning: Some non-transactional changed tables couldn't be rolled back"
    refers to a problem inside the virtual machine.
    Now I'm trying to setup the MySql to let me create InnoDB tables. Not so simple eh...
    Thanks for helping

Maybe you are looking for

  • From profile backup: Restoring bookmarks, most visited pages and reading list

    Using the firefox mobile extension "Copy Profile" I have saved a copy of my profile to the sd card. Now I would like to restore selectively: - bookmarks - history - reading mode saved pages - most visited pages While restoring the relevant files (usi

  • Air Play from my Apple TV can't been seen on any of my iOS devices?

    I've tried everything... Rebooting my router, rebooting my modem, restarting my Apple TV, changing the language on my iPad and nothing seems to work. Even though my Apple TV shows that it has a strong connection to my network and all of the other iOS

  • RPTARQEMAIL not working in ESS

    Hi, In ESS RPTARQEMAIL is not working for leave request. The entries is shown when i send leave request but when i run it the email doesnt get sent. Regards Priya

  • Open the file by double click

    hi I'm writing a program like desktop search engine but � have a problem by opening the searched file. How can I first choose the searched file on screen and also how can I open the file by double click? p.s I'm using windows

  • Imp-00020 long column too large for column buffer size (22)

    Hi friends, I have exported (through Conventional path) a complete schema from Oracle 7 (Sco unix patform). Then transferred the export file to a laptop(window platform) from unix server. And tried to import this file into Oracle10.2. on windows XP.