FM to update Specification report

Hi Expert,
There is a request in my project to update the specification's report fields such as report status, Relevant check box and report version. I am using FM 'C1F3_REPORTS_UPDATE' for this purpose. However, the updating didn't work for some reason and i keep getting message in export parameter E_FLG_LOCKFAIL = 'X' and E_FLG_ERROR = 'X'. Shold i not use this FM and there could be other FM that i suppose to call ?
Can any one help please?

Hi,
You need to call FM 'C1F3_REPORTS_READ' first with i_scenario = 01. This will lock the report & then you call the FM to update.
Sample code is given below.
ls_scenario = 01.
ls_addinf-valdat = sy-datum.
CALL FUNCTION 'C1F3_REPORTS_READ'
  EXPORTING
    i_scenario                 = ls_scenario
    i_addinf                   = ls_addinf
    I_FLG_HEADER               = 'X'
IMPORTING
   E_FLG_LOCKFAIL             = lw_lf
   E_FLG_ERROR                = LW_ERR
   E_FLG_WARNING              = LW_WAR
  tables
    x_api_header_tab           = li_header
EXCEPTIONS
   NO_OBJECT_SPECIFIED        = 1
   PARAMETER_ERROR            = 2
   OTHERS                     = 3  .
IF sy-subrc <> 0.
ENDIF.
ls_header-repstatus = 'WD'.
MODIFY li_header from ls_header TRANSPORTING repstatus
                              where recn is not INITIAL.
CALL FUNCTION 'C1F3_REPORTS_UPDATE'
  EXPORTING
    i_addinf                  = ls_ADDINF
   I_FLG_HEADER              = 'X'
IMPORTING
   E_FLG_LOCKFAIL            = lw_lf
   E_FLG_ERROR               = LW_ERR
   E_FLG_WARNING             = LW_WAR
TABLES
   X_API_HEADER_TAB          = li_header
EXCEPTIONS
   NO_OBJECT_SPECIFIED       = 1
   PARAMETER_ERROR           = 2
   OTHERS                    = 3   .
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
CALL FUNCTION 'C1F3_REPORTS_SAVE_TO_DB'  .
endif.
Regards,
Mandeep

Similar Messages

  • Update Control Report

    Hi All,
    Can any one let me know what is the use of  "Update Control Report" in Administration-->Utilities-->Update Control Report how can i use this option.

    Hi Sandy,
    During regular work in SAP Business One, you enter, process, and update data. In specific scenarios, this data can be corrupted or disrupted due to certain user actions or global malfunctions. You can resolve some of these cases by using the restore functions. 
    Now the Update Control report is used  to view database information after restoring the application and the database.
    Nagesh

  • Firefox 34.0.5 says Adobe Flash plugin is blocked, but update check reports my Flash plugin (ver. 16.0.0.235) is current. How to fix???

    About 1 month ago, I updated Flash and Firefox to most current versions. Firefox 34.0.5, running on WinXP, SP3, shows Adobe Flash plugin as ver. 16.0.0.235, but this is now being blocked again. No other versions of Flash are evident. When I choose option on Flash screen to check plugins are up to date, Firefox reports Flash plugin is up to date.
    This program behaviour is wrong and should be fixed. Checking at Adobe, current Flash is 16.0.0.305.
    Who or what is broken here? Is Firefox broken, and not reporting correctly that more current Flash plugin is available?
    I do not appear to have previous versions of Flash installed on system. This combo of software was working correctly for a while, and then became broken, without a proper path to allow users to resolve it. If Firefox is rigged to "Block" a plugin, then it *MUST* be configured to easily and **CORRECTLY** allow that plugin to be updated. Using most current software, my clicking on the "Check for updates" feature reports that Adobe Flash is most current version. Arrrrgh!!
    I am now back to "diagnose and fix broken Firefox+Flash" exercise, which I just went thru.
    Best solution here would be to allow user to easily override the "blocking" mechanism. This would assist users who only use Flash video access on trusted sites.
    If there is an obvious solution to this current Flash "BLocking" goofery, please inform. Otherwise, if and when I resolve this, I will post a reply to my own question here, indicating what I did to fix this, as it appears to be affecting other Firefox+Flash users, without a clear solution being posted.

    Adobe issued 3 new Flash 16 versions in January alone, then another new one - .305 - in February, ''along with one in early December. Five new versions in 2 months time''. So with updating Flash "about 1 month ago", you are probably 2 or 3 versions behind the latest Flash 16 version.
    Note that Adobe has its own internal updater, which by default is set to check for an update ''(only)'' once a month. Adobe does their own updates for their software, Firefox just tells you when your version is on the blocklist due to known security issues with the version you have installed. It is up to you to do a manual update between the monthly update check that Flash does for your installation.
    The "solution" is for Adobe to fix their stuff. Like maybe an updater that checks for updates more frequently, and not hide their updater user preferences where users don't know where they are and be able to set it for more a frequent update check cycle. ''[Firefox "checks" every time Firefox is launched, as does Chrome]''. Or fix the code in Flash that leads to it being so exploitable, and not have to do 5 separate security fixes in as little as a 2 month time span. ''Flash went almost 2 years prior to Dec 2014 without Mozilla needing to blocklist it, and when Mozilla did first blocklist it in Dec it was / is a soft-block where the user can still use it by using Allow per Flash presentation.''
    My advice is to grab the Extended Support Release - Flash Player 13.0.0.269 from here - https://www.adobe.com/products/flashplayer/distribution3.html - over 3/4 down that page. IMO the best version for WinXP users, as the later versions have features for Vista and later versions of Windows - won't work on WinXP or may cause problems on WinXP.

  • How i can save report updation on report builder 10g

    how i can save report updating on report builder 10g
    please help me
    any help will be appreciated

    See anwer in :
    why no body try to help me its possible no body has idea about how to save

  • Unable to upload the updated/modified Report template (rtf file) in siebel

    Hi,
    I am unable to upload the updated/modified Report template (rtf file) if already exists in the local database.
    Initially I have uploaded a rtf template, generated xliff, registered it and can view the report from the registered view. Later I have made few changes to the rtf template, in the reports template view, I have uploaded this. When i run the report in the registered view, I am able to see the earlier version and it doesnt show me the updated changes.
    I am using 8.1.1.3 siebel and BIP 10.1.3.3.1 on local.
    Looking at the metalink found "How To Upload Modified RTF Template Files In The Siebel Application For BI Publisher Reporting [ID 1136418.1]" which is related to server but I am working on local database
    Please find attached the template, xml file. can you please look into this and update me ASAP
    Thanks,
    RV

    Hi,
    Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
    We have applied 8.1.1.3 patch on 8.1.1.0
    below are the steps followed
    Reports are not generated after 8.1.1.3 patch installtion.
    we have also followed to below steps mentioned for this issue in oracle support.
    "In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
    change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
    we still not able to generated able to generate reports even after following above steps.
    Thanks
    Sean

  • Increase work process to specific Reports..

    HI
    is it possible to increase work process time to specifi report, becasue i am getting below error while running the report
    The program "SAPLKARS" has exceeded the maximum permitted runtime without
    interruption and has therefore been terminated.
    After a specific time, the program is terminated to make the work area
    available to other users who may be waiting.
    This is to prevent a work area being blocked unnecessarily long by, for
    example:
    - Endless loops (DO, WHILE, ...),
    - Database accesses with a large result set
    - Database accesses without a suitable index (full table scan)
    The maximum runtime of a program is limited by the system profile
    parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
    time limit is
    exceeded, the system attempts to cancel any running SQL statement or
    signals the ABAP processor to stop the running program. Then the system
    waits another 60 seconds maximum. If the program is then still active,
    the work process is restarted.
    please get me the solution asap
    thanks By engli

    You can set rdisp/max_wprun_time this value dynamically and chage it back to original value after your report is finished.
    before you start your reoprt or program do this,
    T-CODE --> RZ11 --> rdisp/max_wprun_time --> change value --> new value --> hit OK.
    After your report is finished you can switch back to old value.
    Regards
    SM.

  • Option for error handling for DTP, ' no updata, no reporting" and "deactiva

    Hello Gurus,
         option for error handling for DTP, ' no updata, no reporting" and "deactivated" , please give some explanation and instance for them?
    Many Thanks,

    On the Update tab page, specify how you want the system to respond to data records with errors:
                                a.      No update, no reporting (default)
    If errors occur, the system terminates the update of the entire data package. The request is not released for reporting. However, the system continues to check the records.
                                b.      Update valid records, no reporting (request red)
    This option allows you to update valid data. This data is only released for reporting after the administrator checks the incorrect records that have not been updated and manually releases the request by setting the overall status on the Status tab page in the monitor (QM action).
                                c.      Update valid records, reporting possible
    Valid records can be reported immediately. Automatic follow-up actions, such as adjusting the aggregates, are also carried out.
    http://help.sap.com/saphelp_smehp1/helpdata/en/42/fbd598481e1a61e10000000a422035/content.htm
    Hope it helps.
    rgds, Ghuru

  • I need to update specific records(of variable lengths) in a file. I can get the correct record but when I update it(add info), it overwrites part of the record following it. I am using labview 6.0

    I need to update specific records(of variable lengths) in a file. I can get the correct record but when I update it(add or change info), it overwrites part of the record following it. I am using labview 6.0. I need to be able to insert information into the middle of a file without disturbing the data before and after

    It's hard to give more specifics without more detail, but in general you're going to need to read in the entire file, split it into three pieces (everything before the record of interest, the record itself, and everything after the record of interest), modify the record, reassemble the three pieces in proper order, and write the whole thing back to the file.Of course if the file is very large you might not want to actually implement it this way, but conceptually at least, this is what you are looking at.If this file some sort of proprietary format?Mike...PS: this type of issue is why I really like databases...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Why won't My Verizon update usage reports?

    Why won't My Verizon update usage reports?

        Hi piddle1976 - We always want to keep you informed! How long has it been since the reports updated? When is your normal bill cycle?
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • Customer specific report

    Dear Friends
    Can body can please tell me how you can prepare a customer specific report.
    I am not talking about standard one.
    With regards
    sankalp singhai

    Dear Sankalp
    First of all when client is asking you some specific report, ensure that in standard it is not available.  Reports can be generated on sale orders, deliveries, shipping, transportation and billing.
    Most of the client's requirement would be based on some statistics on sales which are being stored in VBRK (Header Level) and VBRP (Item Level).  So you have to decide which are the tables covered in the report, take the help of your ABABer, develop the report.
    Last but not least, you have to decide whether the report is really worth developing.  I have come across many people who demands many zee reports and once we develop the same, they will not make use of it regularly over a period of time.  The time we spent in developing the report would be of total waste.
    Thanks
    G. Lakshmipathi

  • Copy user-specific report layouts (table LTDX)

    Hi,
    We are implementing a "Single Sign On" solution and thus we need to
    copy all the SAP users to adapt their names to "windows user names".
    We copy all the user data and authorizations from SU01 but then we must
    copy too all the other user-dependent things. One of them are user-
    specific report layouts. We can copy the report variants because they
    are not user-dependent but is there any way to copy the user-specific
    layouts (table LTDX) from one user to another? Is there any transaction
    or report for it?
    Thanks in advance and best regards,
    Jon Larrucea

    Hi,
    Try This Program
    report copy_layout.
    data : lt_ltdx like ltdx occurs 0 with header line.
    data : lt_ltdxt like ltdxt occurs 0 with header line.
    parameters report like ltdx-report obligatory.
    parameters report2 like ltdx-report obligatory.
    "copy layout of report to report2.
    start-of-selection.
      select * into table lt_ltdx from ltdx
                    where report = report.
      select * into table lt_ltdxt from ltdxt
                    where report = report.
      loop at lt_ltdx.
        lt_ltdx-report = report2.
        modify ltdx from lt_ltdx..
      endloop.
      loop at lt_ltdxt.
        lt_ltdxt-report = report2.
        modify ltdxt from lt_ltdxt..
      endloop.
      message 'Copy Complete.' type 'I'.

  • Batch specific report in sales

    Dear All,
    Any batch specific reports available in SAP in sales side like What are all deliveries are associated,ship to party, delivery type and invoice numbers and invoice types related to a particular batch.
    Regards,
    DP

    Hi Arun,
    step 1.  create one new table (v/03) with fields as sales org , distribution channel , batch , material.
      step 2 . if pr00 is condition type for your basic price, check the assigned access sequence number.(pr02). in that access sequence make a new entry  of this table  what you created and  make sure you have clicked condion exclusion and save it.
    step 3 . vk11. -enter your condition type pr00  and select the newly enter ed table with batch field.. and maintain the condition record there.
    Let me know if that has solved your issue.
    jagadish

  • Failure Updating CUIC Reports to 9.1.2

    UCCE
    CUIC v 9.1.1
    When updating the CUIC report files to 9.1.2, we are getting an error during the import.
    [product_name=CUIC][subsystem_exception_info=][tid=http-8444-35][version_number=CUIC_9_0_1_0_0_0_23]: Information associated with the following logged exception
    0000024138: 10.116.254.123: Apr 23 2014 10:40:55.624 -0400: %CCBU___________CUIC-3-ERROR:  Failed to import report '[CUIC.Template.Agent_Skill_Group_Historical_All_Fields]' : com.cisco.ccbu.cuic.CuicException: A ValueList with this name already exists. Cannot rename new STOCK Valuelist: Skill Groups <- ImportManagerImpl.java:377 [com.cisco.ccbu.cuic.businesslogic.exportimport.ImportManagerImpl.importReportsFromXML]
    0000003618: 10.116.254.123: Apr 23 2014 10:40:57.349 -0400: %CCBU_CUIC_MODEL_OBJECTS-3-EXCEPTION: %[EXCEPTION=com.cisco.ccbu.cuic.CuicException: Following 3 reports/categories failed to import.
    Failed Reports : [CUIC.Template.Peripheral_Skill_Group_Historical_All_Fields], [Skill_Group_Abandon_Answer_DistH], [CUIC.Template.Agent_Skill_Group_Historical_All_Fields]
    ]: There was an exception that occurred.
    0000003619: 10.116.254.123: Apr 23 2014 10:40:57.350 -0400: %CCBU_CUIC_MODEL_OBJECTS-3-EXCEPTION_INFO: %[build_date=Apr 25, 2012 6:08 AM][build_type=rel][exception=com.cisco.ccbu.cuic.CuicException: Following 3 reports/categories failed to import.
    Failed Reports : [CUIC.Template.Peripheral_Skill_Group_Historical_All_Fields], [Skill_Group_Abandon_Answer_DistH], [CUIC.Template.Agent_Skill_Group_Historical_All_Fields]
    I have checked the Administrators Group permissions and both "Execute" and "Write" are enabled.  This error has occurred on both the Historical and Real Time report files. 
    Any assistance would be appreciated!

    Rossporubski,
    Sorry if I wasn't clear in my original post.  This is on UCCE CUIC not CCX Historical Reporting. When updating the report template files to 9.1.2 from 9.1, the posted error occurs while trying to rename the Valuelist.  However other report templates installed properly.

  • Office 2011 for the mac, want to export contacts with a specific catewgory so I can produce a specific report

    office 2011 for the mac, want to export contacts with a specific catewgory so I can produce a specific report, I can do this by selecting a tab delimited file format & shows up as .olm but I can'y open this file or import to another application, any suggestions?

    http://answers.microsoft.com/en-us/mac

  • By default view the last instance for a specific report

    Hello,
    if you went to CMC->Applications->Infoview->Properties
    the last property is
    Default Viewing Action on Listing Page:
    View the object
    View the latest successful instance of the object
    this will apply over all the reports in the system
    there is no way to apply this for a specific report or a group of them?
    thanks
    Amr

    its a generic configuration, you cannot set it for a specific reports, maybe you can do in next releases of BI

Maybe you are looking for

  • Tax Line in R12 in Quick Invoices Screen

    Hi Friends, Actually, am facing some problems relating to eB Tax architecture of R12. In R12, I am trying to create one invoice through Quick Invoices screen. The invoice contains.. 2 Lines. 1. Item Line. 2. Tax Line. I have entered all the informati

  • TCP/IP Sockets Comunication by user defined DLL Class

    i will describe it briefly. i need to create a dll class to establish a socket communication and that dll class i should use it between the client App and the server App. but the main task is not done yet which is how to enforce editing to the displa

  • Default Errors= ORA-00904: invalid column name

    Hi, I nto expert in plsql , whenever i'm trying to run procedure or function mostly i got this same error and even i didn't view the error using show errors , show errors procedure|function name CREATE OR REPLACE PROCEDURE SEND_MAIL ( ERROR at line 1

  • How does a JSP page remember a user and prints in every page name of user?

    Hello, i'm working with JSPs and mysql. I have a Login page where sm inserts data in the two fields: name, username. i check if that user exists in the database. if the user exists i would like in every jsp page to mention/appear his name. As happens

  • Reduce font size in Itunes 11 on Windows

    Aaaargjh....why-oh-why does V 11 not have a simple way to reduce the font size?  On a decent hi-res PC screen the whole screen is just jammed in because the font is too large.  Can i change it without needing a PHD in astrophysics first?  What are th