Limit on records while loading flatfile using BPS GUI.

Things done,
1. planning function of type exit
2. one FM for initialize the data and one FM for loading the data.
3. the first FM is been modified to ask for a file using select file popup
4. the data is getting loaded into the system succesfully.
5. the file type is tab separated text file with extension .txt.
Questions:
1. Do we have any limit on number of records loaded into the system using BPS ?..
2. can i load more than 20,000 records in a single step or we need to break these records into chunk of 9999 in INIT FM ?
3. If there is a limit, please share the code if somebody has already done it.
Thanks

<FONT FACE = "Tahoma", Font Color = "Blue">
Hi
<Br>
I have not faced this situation before so can't say with certainty about the limit on number of records. <Br><BR>
However I would like to suggest you the option of loading Flat File to your Transactional Cube using Update Rules.<Br><BR>
Agreed that Planning won't be available when data loading is happening but if data loading is once in a bluetime affair then this should be a very good option as we know you can load a Text file containing huge number of records to an InfoCube in a controlled manner.
<Br><Br>Hope it helps.
<Br>
Cheers
Abhijit
<Br>* It's a good habit to reward someone with points in SDN if you think his/her
response was helpful to you
</FONT>

Similar Messages

  • Error while Loading Budgets Using AMG

    Error while Loading Budgets Using AMG
    Dear All,
    I am trying to load Budgets into ORACLE Projects using AMG API's..
    I have developed PL/SQL which uses below procedures of pa_budget_pub package.
    init_budget;
    load_budget_line;
    execute_draft_budget;
    baseline_budget;
    Procedure execute_create_draft_budget fails with following error message.
    error message: Please enter a valid product code for this project.
    error message: You entered an invalid API parameter.Please enter valid parameter and try again. Parameter Name: Resource List Parameter Value: 1446
    error message: Project: AC044. Please specify a valid resource list.
    error message: Project: AC044. Please specify a valid resource list.
    Could somebody explain me how to resolve this error message and load the budget lines.
    Thanks in Advance.
    Afsal Basha.

    What I'm saying is, verify the column name. Dont post if not possible.
    Example follows, with one table intentionally "hidden".
    SQL> create table "tEsT" ("MaxNumber" float, "MaxnumbeR" number);
    SQL> select table_name,column_name from user_tab_columns where table_name like 't%';
    TABLE_NAME                     COLUMN_NAME
    tEsT                           MaxNumber
    tEsT                           MaxnumbeR
    teST                           iD
    teST                           MaxNumberHth,
    Fredrik

  • Skipping errornous record while loading data

    Hi all,
    Some times while loading we get loading failed due to error in record no XXXX (invalid char in record. Due to this the entire load fails.
    Is there any way of skipping this errornous record while loading the data package and load the remaining data and also put the notifier about this error so that later on tis error could be removed and this record is loaded. Thus avoiding the entire load failure.
    Regards,
    Wrushali

    Hi Wrushali
    Try with only ALL_CAPITAL in RSKC .
    Value '07Rakesh" for Billing document number is really not suitable value. I hope this data is not from your R/3 Production system where instead of proper number value for billing document number,you are getting values like "07rakesh".
    You have 3 options-
    1. Clean the data in R/3 system & then load
    2. Edit this data in PSA and then load into ODS.
    3. Mark billing document number infoobject for lowercase letters..but then you can not search on billing doc number(limitations to it)
    Regards
    Pradip

  • Duplication of records while loading Master Data.

    Hi All,
             I am facing problem while loading master data from 0BPARTNER_ATTR. The infopackage is getting failed showing message "44 duplicate record found. 32 recordings used in table 44 duplicate record found. 32 recordings used in table /BI0/XBPARTNER"
    we can rectify manually but daily the loading is getting failed showing the same message. So Cvan anybody suggest me how to rectify this problem permanently. And Can you  Explain me why the error is?
    If i go to PSA and check i can find only one dulplicate record. I am not able to understand the Error Message.
    With Regards,
    Thilak
    Edited by: thilak. neelam on Mar 10, 2009 1:46 PM
    Edited by: thilak. neelam on Mar 10, 2009 1:47 PM

    Hi,
    there was (is?) a recent problem in the SAP BI 7.0 software, so that duplicates were removed during init load, but not during delta load. Although the DTP could not set currently (also an error that has already a SAP note). We added a manual removal using ABAP code to avoid upgrading to a new SAP version. That helped. The duplicates may also result from two full request that are loaded at the same time.
    Hope this help to analyse the problem in details.
    Regards
    Thomas

  • Changing master data record while loading Transaction data

    Hello All,
    We have a requirementt to change one of the master data field(FLAG) while loading on the transaction data.
    we get the material info in the Master data. and in the sales order item data also we get the material.
    While loading the Transaction data, I have to set a FLAG field has "s" in the Master data material based on the Key selection:
    Master data -  MAterial = Tramsaction - Data Material.
    I have written the code.. and implemented.. i get the correct records but i face huge performance issue. can any one guide me please
        DATA: itab1 TYPE STANDARD TABLE OF /bi0/pmaterial,
               wa_itab1 TYPE /bi0/pmaterial,
               w_tabix TYPE sy-tabix.
         IF itab1 IS INITIAL.
           SELECT * FROM /bi0/pmaterialINTO TABLE itab1.
         ENDIF.
         LOOP AT result_package ASSIGNING <result_fields>.
           READ TABLE itab1 INTO wa_itab1 WITH KEY
                              material =  <result_fields>-material.
           IF sy-subrc = 0.
             w_tabix = sy-tabix.
             IF <result_fields>-/bic/paa1c2033 IS NOT INITIAL.
               wa_itab1-FLAG = 'S'.
               MODIFY itab1 FROM wa_itab1 INDEX w_tabix TRANSPORTING FLAG .
             ENDIF.
           ENDIF.
         ENDLOOP.
         IF itab1 IS NOT INITIAL.
           MODIFY /bi0/pmaterial FROM TABLE itab1.
         ENDIF.

    Here are some performance tips:
    Add FOR ALL ENTRIES IN result_package WHERE material = result_package-material to your select statement
    After your select statement, add IF SY-SUBRC = 0.  SORT itab1 BY material. ENDIF.
    In your read statement, add BINARY SEARCH to the end of it
    At the end of your end routine, make sure to CLEAR itab1.
    You can also increase the number of parallel processes for your DTP, and DSO activation (assuming your target is DSO).

  • How to load flatfiles using Owb?

    Hai all,
    I would like to access a flat file (.csv files) using owb. I am able to import the files into source module of owb. But while executing the mapping , I got the following error...
    Starting Execution MAP_CSV_OWB
    Starting Task MAP_CSV_OWB
    SQL*Loader: Release 10.1.0.2.0 - Production on Fri Aug 11 16:34:22 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Control File: C:\OWBTraining\owb\temp\MAP_CSV_OWB.ctl
    Character Set WE8MSWIN1252 specified for all input.
    Data File: \\01hw075862\owbfiles\employee.csv
    File processing option string: "STR X'0A'"
    Bad File: C:\OWBTraining\owb\temp\employee.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 200 rows, maximum of 50000 bytes
    Continuation: none specified
    Path used: Conventional
    Table "OWNER_STG"."EMP_EXCEL", loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    "EMPNO" 1 * , CHARACTER
    "EMPNAME" NEXT * , CHARACTER
    value used for ROWS parameter changed from 200 to 96
    SQL*Loader-500: Unable to open file (\\01hw075862\owbfiles\employee.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    Table "OWNER_STG"."EMP_EXCEL":
    0 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 49536 bytes(96 rows)
    Read buffer bytes: 65536
    Total logical records skipped: 0
    Total logical records read: 0
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Fri Aug 11 16:34:22 2006
    Run ended on Fri Aug 11 16:34:22 2006
    Elapsed time was: 00:00:00.09
    CPU time was: 00:00:00.03
    RPE-01013: SQL Loader reported error condition, number 1.
    Completing Task MAP_CSV_OWB
    Completing Execution MAP_CSV_OWB
    could you please help me..
    thanks and regards
    gowtham sen.

    Thank you my friends.
    As you said, I gave the file name as wrong.
    Its solved. Thank you....
    I have another probem.
    How to load data from excel file to owb? Is it possible the way we do for flat files?
    I did using ODBC + HS Services.
    But after creating a mapping , and its deploying I got the following error.
    "error occurred when looking up remote object <unspecified>.EmployeeRange@EXCEL_SID.US.ORACLE.COM@DEST_LOCATION_EXCEL_SOURCE_LOC
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02019: connection description for remote database not found
    Could you please help me..
    Thanks and regards
    Gowtham

  • Neglecting empty field record while retracting data using InfoSpoke

    Hi BWers,
    I am trying to load data from cube to DB table using Info Spoke.
    While transferring data from cube to DB Table I want to skip the empty field records.
    Example:
    Data in the Info Cube:
    <b>EmpNo</b>  <b>Emp Name</b>  <b>Salary</b>
        101       Robbert          10000
       <b>   </b>           Bob              50000
    Data need to be transferred to DB Table:
    <b>EmpNo</b> <b>Emp Name</b> <b>Salary</b>
         101        Robert          10000
    Because second record's Emp No is blank.
    I tried in various ways under SELECTION tab in RSBOH but failed to get it
    Thanks in Advance!
    Regards,
    Bobby.

    Goto infospoke and in the transformation tab, click on infospoke with transform using badi,
    then go to the implementation class after activating etc..
    in the class go to the method TRANSFORM,
    method IF_EX_OPENHUB_TRANSFORM~TRANSFORM.
    DATA DECLERATION
      data: l_s_data_in type /bic/ABC, "Source Structure
    *Data: l_s_data_in type  /bic/ABC   "Source Structure
            l_s_data_out type  /bic/XYZ "Target Structure
    Clear data Output
      clear e_t_data_out.                    "Data Output
    Loop at Internal table from Source
      loop at i_t_data_in into l_s_data_in where i_t_data_in- empno is not initial.
          move-corresponding l_s_data_in to l_s_data_out.
          insert l_s_data_out into table e_t_data_out.
      endloop.
    reward if helps

  • Update the source record while loading data into target

    Hello Friends,
    I am loading data from "staging info object"  into "target info object".
    I have the validation code in 'start routine' in the transformations.
    During validations, if the conditions are met, I would like to load the record into target and at the same time, update one specific field of this record ( e.g. say - LoadFlag ) in the source infoobject.
    I am successfully able to load the records in the target info objects.
    I would like to know, how to update the record in the source-infoobject.
    Can anyone please let me know the ABAP syntax for this one.?
    I promise to award points.
    Thank you for your time.
    Pramod.

    Instead of ABAP you can:
    a) connect the update rule to the target also to the source object as input. In this updaterule you can simple set the load indicator with a constant.
    b) use an APD (TR RSANWB).

  • How can v recover the specific record while loading

    Hi Guys,,
    suppose i am loading the data n few record suppose sales order 100001-100005r not loaded.
    is der any possiblity to recover only the error records.
    pls reply
    Regards
    KK

    Hi,
    You can load specific records based on some selection criteria using a Full repair load.
    First identify the records. Fill the set up tables. then do a full repair.
    Refer
    http://sapbwneelam.blogspot.com/2007/09/how-to-do-delta-loads-after-full-loads.html
    thanks,
    JituK

  • Error while loading Hierarchy  using Idoc

    Hi Experts,
    I am loading Hierarchy data from r/3 to Bw,
    After load , in the monitoring details tab
    its like this
    Data Package 1 ( Records ) : Everything OK
    Transfer rules ( 911  Records ) : No errors
    Hierarchies for master data received. Processing being started.
    Transfer 911 data records in communication structure
    Update ( 0 new / 0 changed ) : No errors
    Data saved successfully
    Processing end : No errors
    Data successfully transferred to the update
    Subseq. processing (messages) : No errors
    -> Start update of master data hierarchy
    <- End update of master data hierarchy
    Hierarchy successfully activated
    the hierarchy is adding to the infoobject
    But in the reporing it showing like not assigned material
    I think the hierarchy is not loaded correctly into the target.
    because of the Idoc process , i am Unable to debugg..
    plz give me any idea

    Hi Vijay
    Here:
    NODENAME tab
    EXTERNAL                         INTERNAL                                                       FORMULA
    *                                             js:%external%.toString().replace(/\s+/g,"")
    *                                             js:%external%.toString().replace("#","_")
    *                                             js:%external%.toString().replace(",","_")
    A006-#????                              *skip
    Only the first line will work, you have to perform all replacements in on JS line, like:
    js:%external%.toString().replace(/\s+/g,"").replace("#","_").replace(",","_")
    * in EXTERNAL means ALL
    Vadim

  • Error while loading members using ads file in EPMA planning app in 11.1.2.2

    Hi,
    I am trying to update the dimension using ads file in EPMA application(11.1.2.2).
    1. I am getting following error:
    "The member 'xxx' cannot be created or inserted into the shared dimension 'yyy' within the application 'abc' during application import as this is not allowed by the system. Property updates for this member will not be processed."
    2. Also, I am trying to create shared dimension using ads file. I am replacing Isprimary property to 'N' and Datastore property to 'ShareData' in the ads file. There is no error while doing it and the status is 100% complete but I could not see any changes in the hierarchy.
    Any help would be great in this.
    Thanks

    I found the log file, if you can help clarify the reason for this issue:
    [Dec 7, 2012 10:18:58 AM]: Application (HCCPEXP) Upgrade initiated by user admin...
    [Dec 7, 2012 10:18:58 AM]: *******************************
    [Dec 7, 2012 10:18:58 AM]: 11.1.2.1 to 11.1.2.2
    [Dec 7, 2012 10:18:58 AM]: *******************************
    [Dec 7, 2012 10:18:59 AM]: Execute SQLs-E:\Oracle\Middleware\EPMSystem11R1\products\Planning\config\sql\11_1_2_2Migration_SQLServer_Unicode.sql
    [Dec 7, 2012 10:19:00 AM]: [FMWGEN][SQLServer JDBC Driver][SQLServer]The object 'DF__HSP_SYSTE__ESS_D__42ACE4D4' is dependent on column 'ESS_DEF_PSWD'.
    thanks...

  • Less number of Records while loading data from one cube to another

    Hi,
    We are in the process of doing major changes in the existing InfoCube.
    Before making any changes, we had planned to make a copy of the cube with data.
    For this we did the following steps :
    1. Created the new cube from the original cube.
    2. Generated Datasource on the Orignal cube.
    3. Made a update rule on the new cube by selecting the Orinal cube.
    4. Made a InfoPack on Infosouce which got created with 8<original cube>.
    5. Uploaded the data into the new cube.
    We have uploaded the data successfully from the original cube to the new cube.
    However, New cube shows less number of records as compared to the original cube.
    But the query is showing the same figures from both the cubes.
    Can anyone please advise what could be the reason for this less number of records and how the figures are showing same when we run the query from both the cubes.
    Please help.
    Thanks
    Ramesh Ganji

    Hi Ramesh,
    this is possible coz when u have loaded yr original cube, it may be loaded on daily/weekly basis. so in the cube there are many requests. Also if in the same request, if there are two records with same dimension keys ther are automatically added aggregating them.
    if req 1 has following records
    cust mat amt
    1      1     100
    1      1       50
    it will add
    1      1     150
    and if the records are seperated by different req, then both will b added individually.
    therefore when u r loading yr new cube from original cube, all records that has same dimension key gets aggregated coz they are loaded into single request. so it showing less no of records as added.
    hope this helps.
    Regards,
    Purvang
    Assigning Point is to say Thanks in SDN *

  • RE: GETTING AN ERROR WHILE LOADING ACL USING XML FILE

    I have generated several XML files (ACL) to load in the share services but when I do I get the following error message:
    "Errors occured during syncrhonization: [com.hyperion.planning.DuplicateUserException: Another user with the name admin already exists.]."
    I am not sure how to resolve this issue. Any help and/or assistant is greatly appreciate it.
    fsanchez

    Let me take that back. I have one or more user with admin privileges. Here is one of the sample XML files that I created.
    <? xml version = "1.0" encoding = "UTF-8" ?>
    <acls>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>ABN-NW PD</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Actual</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READ</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Balance Sheet</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Budget</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Final</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READ</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Income Statement</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Property Director Budget Process</objectName>
    <objectType>SL_TASKLIST</objectType>
    <accessMode>READ</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Property Directors</objectName>
    <objectType>SL_FORMFOLDER</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Statistical Accounts</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Working</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    </acls>

  • Data error while loading data using SQLLDR

    Hi Gurus,
    Kindly let em know the possible reasons for getting the below error returned by SQLLDR after loading data:
    x no of rows not loaded due to data errors in SQLLDR
    Could it be due to issues in control file?

    you'll find it well explained here :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/part_ldr.htm#i436326
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_concepts.htm#i1004846

  • Getting error while loading assets using API

    The error is as follows.
    l_error:Error: function fa_cache_pkg.fazcbc returned failure
    l_error:Error: function fa_addition_pub.do_addition returned failure
    Can anyone please let me know if you have solution

    Hi Vinod,
    The error is as follows.
    FA Details Update Failed for BX Number:BX130614
    FA Details Update Failed  x_error_buf:ORA-0000: normal, successful completion - FA Details Update Failed ....!
    l_error:
    l_error:Error: function fa_cache_pkg.fazcbc returned failure
    l_error:Error: function fa_addition_pub.do_addition returned failure
    l_error:
    l_error:
    l_error:
    l_error:
    l_error:
    l_error:Error: function fa_cache_pkg.fazcbc returned failure
    l_error:Error: function fa_addition_pub.do_addition returned failure
    l_error:
    l_error:
    l_error:
    l_error:
    l_error:
    l_error:Error: function fa_cache_pkg.fazcbc returned failure
    l_error:Error: function fa_addition_pub.do_addition returned failure
    l_error:
    l_error:
    l_error:
    l_error:
    the code which we are using is.
    lx_trans_rec.transaction_type_code          :='CAPITALIZED';
            lx_trans_rec.transaction_date_entered       :=l_receiving_date;
            lx_dist_trans_rec.transaction_type_code     :='CAPITALIZED';
            lx_dist_trans_rec.transaction_date_entered  :=l_receiving_date;
            lx_asset_hdr_rec.book_type_code             :='CTO CORP BOOK';
            lx_asset_desc_rec.asset_number              :=p_bx_number;
            lx_asset_desc_rec.description               :=l_make||'.'||l_model;
            lx_asset_desc_rec.asset_key_ccid            :=1001;
            lx_asset_desc_rec.in_use_flag               :='YES';
            lx_asset_desc_rec.inventorial               :='YES';
            lx_asset_desc_rec.owned_leased              :='OWNED';
            lx_asset_desc_rec.new_used                  :='NEW';
            lx_asset_desc_rec.current_units             :=1;
            lx_asset_desc_rec.unit_adjustment_flag      :='NO';
            lx_asset_type_rec.asset_type                :='CAPITALIZED';
            lx_asset_cat_rec.category_id                :=1;
            lx_asset_fin_rec.date_placed_in_service     :=l_receiving_date;
            lx_asset_fin_rec.deprn_start_date           :=l_receiving_date;
            lx_asset_fin_rec.deprn_method_code          :='STL';
            lx_asset_fin_rec.life_in_months             :=240;
            lx_asset_fin_rec.cost                       :=l_purchase_price;
            lx_asset_fin_rec.original_cost              :=l_purchase_price;          --Added by sive for the Original cost
            lx_asset_fin_rec.recoverable_cost           :=l_purchase_price;          --Added by sive for the Original cost
            lx_asset_fin_rec.prorate_convention_code    :='CTO PRORAT';
            lx_asset_fin_rec.depreciate_flag            :='YES';
            -- deprn info
       lx_asset_deprn_rec.ytd_deprn                   := 0.00;
       lx_asset_deprn_rec.deprn_reserve               := 0.00;
       lx_asset_deprn_rec.bonus_ytd_deprn             := 0;
       lx_asset_deprn_rec.bonus_deprn_reserve         := 0;
                l_asset_dist_rec.units_assigned         := 1;
                l_asset_dist_rec.expense_ccid         := 1060;--4013;
                l_asset_dist_rec.location_ccid         := 1;--1001;
                l_asset_dist_rec.assigned_to         := NULL;
                l_asset_dist_rec.transaction_units      :=1;
                lx_asset_dist_tbl(1)             := l_asset_dist_rec;
               FA_ADDITION_PUB.DO_ADDITION(
                -- Standard Parameters --
                p_api_version           => 1.0,
                p_init_msg_list         => FND_API.G_FALSE,
                p_commit                => FND_API.G_FALSE,
                p_validation_level      => FND_API.G_VALID_LEVEL_FULL,
                x_return_status         => l_return_status,
                x_msg_count             => x_msg_count,
                x_msg_data              => l_msg_data,
                p_calling_fn            => l_calling_fn,
                -- Transaction Object --
                px_trans_rec            => lx_trans_rec,
                px_dist_trans_rec       => lx_dist_trans_rec,
                -- Asset Object --
                px_asset_hdr_rec        => lx_asset_hdr_rec,
                px_asset_desc_rec       => lx_asset_desc_rec,
                px_asset_type_rec       => lx_asset_type_rec,
                px_asset_cat_rec        => lx_asset_cat_rec,
                px_asset_hierarchy_rec  => lx_asset_hierarchy_rec,
                px_asset_fin_rec        => lx_asset_fin_rec,
                px_asset_deprn_rec      => lx_asset_deprn_rec,
                px_asset_dist_tbl       => lx_asset_dist_tbl,
                -- Invoice Object --
                px_inv_tbl              => lx_inv_tbl);
                            IF (l_return_status <> fnd_api.g_ret_sts_success)
                            THEN
                                    x_ret_code  := sqlcode;
                                    x_error_buf := sqlerrm||' - FA Details Update Failed ....!';
                                    FND_FILE.PUT_LINE( FND_FILE.LOG,'FA Details Update Failed for BX Number:'||p_bx_number);
                                    FND_FILE.PUT_LINE( FND_FILE.LOG,'FA Details Update Failed  x_error_buf:'||SUBSTR(x_error_buf, 1, 200));
                                          IF (fnd_msg_pub.count_msg > 1)
                                          THEN
                                                FOR j IN 1 .. fnd_msg_pub.count_msg
                                                LOOP
                                                      fnd_msg_pub.get(p_msg_index      =>  j,
                                                                      p_encoded        =>  'F',
                                                                      p_data           =>  l_msg_data,
                                                                      p_msg_index_out  =>  l_msg_index_out);
                                                     l_error   :=    SUBSTR(l_error, 1, 400)||SUBSTR(l_msg_data, 1, 400);
                                                     FND_FILE.PUT_LINE( FND_FILE.LOG, 'l_error:'||SUBSTR(l_msg_data,1,400) );
                                                END LOOP;
                                          ELSE
                                                fnd_msg_pub.get(p_msg_index       =>  1,
                                                               p_encoded         =>  'F',
                                                                p_data            =>  l_msg_data,
                                                                p_msg_index_out   =>  l_msg_index_out);
                                                l_error      :=     SUBSTR(l_error, 1, 400)||SUBSTR(l_msg_data, 1, 400);
                                                     FND_FILE.PUT_LINE( FND_FILE.LOG, 'l_error:'||SUBSTR(l_msg_data,1,400) );
                                          END IF;
                            ELSIF (l_return_status = 'S')
                            THEN
                                       x_ret_code  := sqlcode;
                                   x_error_buf := sqlerrm||'FA Details Updated Successfully ';
                                    FND_FILE.PUT_LINE( FND_FILE.LOG,'FA Details Updated Successfully for BX Number:'||p_bx_number);
                            END IF;
       END;
    Regards,
    Siva

Maybe you are looking for