Missing functionality Request: report "last prices" with BP name

In the report "last prices" (if Checkbox "BP code" is not checked) one sees only the GP code and not the BP name. This is very unfavorable if an item was very often sold in several customers.
Edited by: Inga Babco on Jan 31, 2008 10:27 AM

I am not using form , it's just done in report, that is i am not calling the report from a form , just from a menu.
:last_name is a report_paramter that i created on the report.
you're right the first assignmnt is
AND UPPER( db column) LIKE
I have a paramter form on the report with a field last name and I am letting the user enter last name there which gets stored in the :last_name
Edited by: Forms_Reports_Beginner on Aug 14, 2009 7:29 AM
Edited by: Forms_Reports_Beginner on Aug 14, 2009 7:32 AM
Rodolfo,
your solution works,
:p_where_clause := ' AND UPPER( db_column ) LIKE (' ||''''||'%'||UPPER(Replace(:p_2,chr(39), chr(39)||chr(39)))||'%'||''''||')' ;
but i dont quite understand how this is working
Replace(:p_2,chr(39), chr(39)||chr(39))
i have never used chr
Edited by: Forms_Reports_Beginner on Aug 14, 2009 7:35 AM

Similar Messages

  • Missing Function - Aging Report not match in System Currency in SBO 8.8

    Dear all,
    Version: (Please provide the current version)
    SBO 8.8 Patch: 10
    Description of requirements: (Please provide a detailed description)
    In mentioned patch level, the result/outstanding balance of Aging Report in System Currency was difference when selected 'Display Reconcilied Transactions' or not. The outstanding balance should be be same on both selection.  
    Valid as of: (Date that this legal requirement is applicable)
    N/A
    Business needs: (Please describe the impact on your business, if the functionality is not realized)
    If the Aging Report cannot disppay the outstanding documetns for reconcile with customer, they cannot check with customers.
    Examples: (Please describe a typical example, how the functionality should work.)
    Generate the Aging report in  System Currency
    selected 'Display Reconcilied Transactions' including all transactions and balance is same as Trail Balance
    un-selected 'Display Receoncilied Transactions' does not inclding the transactions that Local Currency is zero amount, but System Currency is not zero. The outstanding balance is different to the result of the above selection and Trail Balance as well.
    Current Workaround: (Please describe the workarounds you are using at the moment)
    Print the Aging Report with selected ' Display Reconcilied Transactions' to show ALL transactions to reconcile the transactions.
    Proposed solution: (Please suggest how the new functionality should work)
    selected 'Display Reconciled Transactions' or not, the outstanding balance should be the same.
    Best regards,
    Michael

    Bapi's do not set sy-subrc. The only way to check if it was succesfull is to loop into the return table for error messages:
    You have to use BAPI_TRANSACTION_COMMIT after calling BAPI_PO_CREATE1:
        READ TABLE errmsg TRANSPORTING NO FIELDS
                            WITH KEY type = c_e.
        IF NOT sy-subrc IS INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = c_x.
      ENDIF.

  • Missing Functionality Request: Ability to Remove Manufacturers

    SAP 8.8
    Ability to remove a manufacturer if there are no associated items

    Hi,
    It will be nice to have this function. However, before this can be adopted and added to any new release, you may try work around to replace those orphan Manufacturers with new ones.
    Thanks,
    Gordon

  • Missing functionality request. Deleting manufacturers.

    Version:  2007A SP:00 PL:46
    Manufacturers cannot be removed or deleted. Administration > Setup > Inventory > Manufacturers.
    Business needs: Certain Manufacturers no longer exist so our client needs to be able to maintain an updated list of Manufacturers.
    Examples: Similar to setting up a Vendor Group, you should be able to remove a manufacturer by going to: Data > Remove.  Or right click and select remove.
    Proposed solution: Please insert u201CRemoveu201D as an option in the Data menu, or insert u201CRemoveu201D as a right click option to remove manufacturers.
    I tested in SBO 8.8 and a manufacturer still cannot be deleted or removed.

    Your enhancement is good. But we can edit the field and can update. Once we are done update in the manufacture field the entire item master data will update accordingly.
    Regards,
    M.Senthil

  • Bug report - different episodes with same names won't update correctly in the list of pcast-episodes

    I think there was no similar report yet. Sorry if repeated.
    I use podcasts app only on my iPad - no iTunes syncing or whatsoever - as simple as possibly could be in terms of functionality.
    Background: I am subscribed to a posdcast of a radiostation programme where weekly usually same people give interviews. For example, each Tuesday the guy named A.B. is a guest of the programme. So each Tuesday episode almost always named: Interview - A.B. So 09.10.2012 there was episode named: Interview - A.B. then 15.10.2012 there is also an episode named Interview - A.B.
    Problem: even though in the list of episodes I can see these two each with correct date stamp, when I tap 15.10.12 episode to play, it would play the previous episode (of 09.10.2012). I know it's the podcasts app bug, because good old iPod app would play everything correctly.
    That's shamy.

    Very similar problem for me.  A podcast has several different episodes per day broken down by hour.  It will totally mix up the files and names and descriptions, seemingly grabbing them from random days surrounding what it should be.  Sometimes two simlarly named files will play the same audio.  It's totally messed up.  I can't figure out any pattern for this either.
    Although I'm sure it happens for podcast episodes with titles that are not similar as well.

  • Save NI report generator files with new names

    I was trying to save labview library files under new names so that I could adapt the code but the 'Save As' option is greyed out. In certain cases, when I try to copy and paste the code, I get broken wires and cannot get the VI's to work.
    I have been using the report generator toolkit which is quite limited. I was trying to delete a row from an spreasheet but there is no function to do this. So, one workaround that was suggested to me was to use the 'Excel Insert Cells' VI and change the code to instruct it to 'clear' cells rather than 'insert' them. This works, but I wanted to save a copy of the amended file under a different name so that it was independent of the installed library files but I can't seem to do this. I tried to copy out the code but got broken wires even though I have been able to do this in other instances.
    Any suggestions?
    Thanks,
    Will

    Hi Will,
    I had the same problem with a project and found the following workaround:
    To ensure the original function of any library VI, it's not recommended to just change the VI to do something else.
    Therefore I expanded the VI to do both, the original functionality and the special function I needed.
    I made an extra Input to the VI, which is a boolean Input.
    With that extra optional Input I can now choose the function I want to do.
    I made the "False" case to be default. This case works like the original function.
    The "True" case is built to do my special function.
    This workaround is quite easy and not dangerous. For all projects, which would use the function in their normal use case it's working just as if the file was unchanged.
    And for projects using special functionality I can add a "True" constant to my VI Input and the function works as I want..
    Hope this workaround helps to fix your problem!
    Kind regards
    adigator

  • [Function] Declare a internal table with structure name (entry parameter)

    Hi all,
    I'm explaining my problem :
    I want to create a function with two parameters in entry :
    (IMPORT)  - structure_name with type DD02L-TABNAME
    (TABLES) - t_outtab with empty type
    t_outtab will be in structure_name type.
    Now, in my source function, I want to retrieve all contain of t_outtab in another internal table or field-symbol. I don't know in advance the used structures in my function entries.
    I don't manage to get this contain, cause I can't do :
    DATA : internal_table TYPE structure_name*
    OR
    DATA : internal_table TYPE (structure_name)
    OR used field-symbol
    DATA : internal_table TYPE <fs>*  where <fs> had structure name value.
    To do more later :
    *DATA : line LIKE LINE OF internal_table. *
    *internal_table][ = t_outtab][. *
    And work with this table.
    _ I tried different solutions like : _
    Get the structure of the table.
      ref_table_des ?= cl_abap_typedescr=>describe_by_name( I_STRUCTURE_NAME ).
      idetails[] = ref_table_des->components[].
    Get the first structure table of result table
    LOOP AT idetails INTO xdetails.
        CLEAR: xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-inttype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        APPEND xfc TO ifc.
    ENDLOOP.
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ifc
        IMPORTING
          ep_table        = dy_table.
      ASSIGN dy_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    and retrieve to <dyn_table>[] = t_outtab[].
    the but I don't try the solution. If someone have an idea.
    Thanks and regards.
    Romain
    Edited by: Romain L on May 14, 2009 11:35 AM

    Hi,
    We can acheive this using dynamic internal tables.
    Please find sample below.
    *Creating Dynamic internal table 
      PARAMETERS : p_table(10) TYPE C.
      DATA: w_tabname TYPE w_tabname,            
            w_dref TYPE REF TO data,             
            w_grid TYPE REF TO cl_gui_alv_grid. 
      FIELD-SYMBOLS: <t_itab> TYPE ANY TABLE. 
      w_tabname = p_table. 
      CREATE DATA w_dref TYPE TABLE OF (w_tabname).
      ASSIGN w_dref->* TO <t_itab>.
    * Populating Dynamic internal table 
      SELECT *
        FROM (w_tabname) UP TO 20 ROWS
        INTO TABLE <t_itab>.
    * Displaying dynamic internal table using Grid. 
      CREATE OBJECT w_grid
        EXPORTING i_parent = cl_gui_container=>screen0. 
      CALL METHOD w_grid->set_table_for_first_display
        EXPORTING
          i_structure_name = w_tabname
        CHANGING
          it_outtab        = <t_itab>. 
      CALL SCREEN 100.
    * Scenario 2: 
    *Create a dynamic internal table with the specified number of columns. 
    * Creating Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,  u201C Dynamic internal table name
                   <fs_dyntable>,                     u201C Field symbol to create work area
                   <fs_fldval> type any.              u201C Field symbol to assign values 
    PARAMETERS: p_cols(5) TYPE c.                     u201C Input number of columns
    DATA:   t_newtable TYPE REF TO data,
            t_newline  TYPE REF TO data,
            t_fldcat   TYPE slis_t_fldcat_alv,
            t_fldcat   TYPE lvc_t_fcat,
            wa_it_fldcat TYPE lvc_s_fcat,
            wa_colno(2) TYPE n,
            wa_flname(5) TYPE c. 
    * Create fields .
      DO p_cols TIMES.
        CLEAR wa_it_fldcat.
        move sy-index to wa_colno.
        concatenate 'COL'
                    wa_colno
               into wa_flname.
        wa_it_fldcat-fieldname = wa_flname.
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 10.
        APPEND wa_it_fldcat TO t_fldcat.
      ENDDO. 
    * Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = t_fldcat
        IMPORTING
          ep_table        = t_newtable. 
      ASSIGN t_newtable->* TO <t_dyntable>. 
    * Create dynamic work area and assign to FS
      CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
      ASSIGN t_newline->* TO <fs_dyntable>.
    *Populating Dynamic internal table 
      DATA: fieldname(20) TYPE c.
      DATA: fieldvalue(10) TYPE c.
      DATA: index(3) TYPE c. 
      DO p_cols TIMES. 
        index = sy-index.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
    * Set up fieldvalue
        CONCATENATE 'VALUE' index INTO
                    fieldvalue.
        CONDENSE    fieldvalue NO-GAPS. 
        ASSIGN COMPONENT  wa_flname
            OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
        <fs_fldval> =  fieldvalue. 
      ENDDO. 
    * Append to the dynamic internal table
      APPEND <fs_dyntable> TO <t_dyntable>.
    * Displaying dynamic internal table using Grid. 
    DATA: wa_cat LIKE LINE OF fs_fldcat. 
      DO p_cols TIMES.
        CLEAR wa_cat.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
        wa_cat-fieldname = wa_flname.
        wa_cat-seltext_s = wa_flname.
        wa_cat-outputlen = '10'.
        APPEND wa_cat TO fs_fldcat.
      ENDDO. 
    * Call ABAP List Viewer (ALV)
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_fieldcat = fs_fldcat
        TABLES
          t_outtab    = <t_dyntable>.
    Thanks,
    Jyothi
    Edited by: Jyothi on May 14, 2009 11:42 AM
    Edited by: Jyothi on May 14, 2009 11:43 AM

  • Modify Batch Sequence to generate two reports per UUT with different names.

    I have a special situation for the batch model.
    Each UUT consist of two separate products that must be tested as a single unit.
    I can run each UUT and generate a test report for each.  - aka. The standard use case works great.
    However we are keeping records using this method. So I need a separate copy with a different name for each run.
    The idea behind this is that we might have a running history for each half of the UUT. Since the two halves will probably never meet again.
    I have looked at the BatchModel.seq and read some of the documentation, however I am having a hard time figuring out what is going on.
    I assume the Highlighted Items above are where the UUT Reports are generated. I do not however know the mechanism for giving them the names from the Report Options->Report File Pathname menu or how to change it between those points in time. Also is there any tricks to getting duplicate Report with a diffrent path put into this setup.
    Any links to relevant information would be useful. Thanks
    Solved!
    Go to Solution.

    Just copy those two steps and between them and the copies have another step that is just a Statement.  In there you can change the report path by setting parameters.TestSocket.ReportFilePath to the new path.
    Ideally what you would do is have the client set it by using a callback.  So your code would look like this:
    Write UUT Report
    Write UUT Report (on the fly)
    Set Report Path Callback (override in client OR statement step)
    Write UUT Report
    Write UUT Report (on the fly)
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Using LabWindows with Visual C++, program going to LabWindows function instead of SDK func with same name

    Hi!
    I'm trying to use LabWindows with Visual C++. We mostly have it working properly, but have one problem. I want to use an SDK function that has the same name as a LabWindows function (Beep). When I call Beep with the SDK parameters, I get an error and the Visual C++ tells me I need LabWindows beep parameters. There are no LabWindows functions calls in the file. How can I get the Visual C++ compiler to use the SDK Beep and not the LabWindows Beep.
    thanks,
    Lorrie Smith
    [email protected]

    Lorrie,
    There are a number of name conflicts between CVI functions and SDK functions. CVI usually handles those conflicts by redefining the function names in the CVI headers, so that when you include the CVI headers you get the CVI functions, without any compiler errors.
    The problem you're having now is that you want to use the SDK version of the function. What you have to do in this case is to undo the redefinition that the CVI header file does.
    To do that, find out where the CVI header file "utility.h" is being included in your source code, and then, following the include statement, type "#undef Beep"
    That should allow the VC compiler to use the SDK prototype instead of CVI's.
    Luis Gomes
    NI

  • Last Prices is not working in SAPB1 2007

    Hi all,
    I just upgrade my sapb1 from version 2005 patch 36 to version 2007 patch 37. I found that the last prices feature, is not function in SAPB1 version 2007. Anyone have face it before?
    Regards
    Wong

    Hi Wong,
    I'm using pl 38  & it works fine. You can call the report up from 2 different locations:
    1.) From the SAP Business One Main Menu, choose  Inventory->  Inventory Reports -> Last Prices Report .
    2.) In a sales or purchasing document, place the cursor in the Unit Price field and press Ctrl + Tab. The values are copied automatically from the document.
    To generate the report, enter the necessary information and choose Refresh.
    Please be careful about your selection criteria, e.g. if you have selected a specific BP & you have not traded with this BP before with this item, there will be no data displayed.
    All the best,
    Kerstin

  • What happens to Desktop Intelligence reports when a universe changes name?

    Post Author: GregPye
    CA Forum: Desktop Intelligence Reporting
    Hi
    We are experiencing intermittent issues with our DeskI reports that are pointing to a universe that subsequently changes its name.
    We seem to have some reports that cope with the name change perfectly well, and other reports that "cannot find universe" because it is looking for the new name.
    The issue with the latter, is that if DeskI cannot find the universe, it will then not allow you to repoint the universe in the View Data pane. When such reports are found, our workaround has had to be:
    1) copy universe and rename with old universe name
    2) open report and repoint to newly named universe name
    3) delete old universe name
    Should all reports automatically update when the universe simply changes their name? Why do some reports not do this? Is there something we can do to alleviate the situation?
    Many thanks
    GP

    bashphoenux wrote:what does "this" refer to ???
    I was referring to the problem you reported "the screen freezes for an idefinite amount".
    I thought it sounded like this:
    https://bbs.archlinux.org/viewtopic.php?id=103522
    Look at the mail mesage in the link in the 4th post.
    Last edited by loafer (2010-09-07 15:15:27)

  • How to develop a report with current price &  the last price in the pre.yrs

    hi ,
    guys,
    my client want a report to list of material with respective vendor and to make a price comparison betn the current price & the last price in the privious year.
    can any one help how to develop the report, shall go for generic extrc.
    thanks in advace.
    ramnath

    CR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
    Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is  csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    More info on connecting to dbs and changing them is in the developer help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    More info on CR APIs for .NET (applies to all versions of CR and VS):
    Crystal Reports for Visual Studio 2005 Walkthro... | SCN
    You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
    More info on datasets:
    Crystal Reports Guide To ADO.NET
    Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
    For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Sample apps are here:
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    and here:
    Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
    More info on RAS SDK:
    How to Use The RAS SDK .NET With In-Process RAS Server
    Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
    - Ludek

  • XML Publisher with Service Module - Service Request Reports -- URGENT

    Hi all ... any pointers/help/guidance with the problem listed below would be much appreciated.
    I'm working in the context of the Oracle Service Module & Service Request Reports.
    I'm required to configure the XML Publisher Responsibility seeded functionality with the service module reports.
    Listed below are the two reporting requirements that I'm considering , corresponding to the following seeded XMLP Responsibility seeded components:
    (I'm quoting an extract from the Oracle TeleService Implementation & User Guide here).
    Detailed Report
    Data Definition: Service Request Detail Definition (CS_SR_DETAIL_DEF)
    Corresponding Template: Service Request Detail Report Template (CS_SR_DETAIL_TMP.en)
    Template Description: Includes all of the available service request attributes including charges, the two descriptive flexfields, and extensible attributes.
    Summary Report
    Data Definition: Service Request Summary Definition (CS_SR_SUMMARY_DEF)
    Corresponding Template: Service Request Summary Report Template (CS_SR_SUMMARY_TMP_en)
    Template Description: Includes a subset of the detailed report attributes including the same charges information as the detailed report.
    When I log into the EBS >> XML Publisher Administrator Responsibility >> Service Application ... I find these seeded XMLP components, together with the preview data, downloadable templates & sample output.
    The question is:
    Where (responsibility/application/navigation/etc.) do I find the seeded EBS Service Reports to provide the expected XML input to the seeded XMLP Service Request Data Definitions & Templates????
    Notes ...
    I have found the following two reports, under the Service Application in EBS, set their output type to XML and viewed the output of the submitted request:
    - Service Request Detail Report
    - Service Request Summary Report
    ... but each of these two reports produce XML output of a different data model/structure to that expected by each of the corresponding seeded XMLP data-definitions/templates.
    Additionally, I cannot find any corresponding concurrent program definitions on the system with the same SHORT-NAME/CODE as the seeded XMLP data definitions themselves i.e. CS_SR_DETAIL_DEF and CS_SR_SUMMARY_DEF.
    Are the necessary reports not actually seeded within EBS? Do the seeded XMLP data definitions & templates require development of new Concurrent Programs from scratch to access the database tables and provide the necessary data/input, or am I missing something here??

    I am sure you found a solution to your problem. If not, to give a pointer to this issue, I guess these reports are gererated right from the service request screen and this definition is used there.This report can be generated from several places based on where you are within SR scree.
    Thanks
    Nagamohan

  • Last Price report only allow sales price to view

    Dear all expert,
    The last price report included sales & purchase price. The customer wanted only sales employee to view customer sales price and block purchase price to view on the last price report.
    Is that any alternative way & available function on latest version 8.8?
    Thanks in advance..
    Regards,
    Eric

    Dear all,
    The standard authorization didn't allow to do that. I'm thinking it only available disable the purchase document or block the vendor code to be selected on last price report.
    Unfortunately, i dun have any idea about how to write the code. Any idea?Or sample?
    Thanks.
    Regards,
    Eric

  • PCA Functional Area Report Problem With Co-Product Settlements

    I have built a profit center functional area report for use in a manufacturing client.  The reason is because the factory cost centers flow to the product cost (via costing sheets) and the administrative cost centers are expensed monthly.  However, SAP seems to have no other approach to handle the issue where common expense elements must be reported in these two separate sections.  Anyway, here is my problem:
    After creating the functional areas and matching them to each cost center appropriately and then applying a different functional area to orders, I see that settlement of co-products causes my report to zero out the functional area that should match the overhead cost centers.  These obviously should not be impacted by settlement and I see that they are not impacted in the transactional data.  However, the functional area report shows a different story.  I believe it somehow has to do with the unusual way that co-product split up and settle versus other types of orders.  I may need some sort of subtitution rule, but like I said, the raw transactional data looks correct and the report should bring in these values. 
    I used ledger 8A if that helps.  I am sure I missed some small thing somewhere.
    David

    It looks to me like the New G/L may have taken care of some of my issue.  The FI reconciliation G/L account (690000 usually) includes the secondary cost center postings as well as the secondary order postings.  The cost center side of the secondary transaction reflects the functional area for cost centers (Factory Exp or Admin Exp in my case), whereas the order side of the secondary posting shows the functional area associated with order consumption (Net Consumption in our case). 
    This appears to mean that the standard report for Functional Areas from FI should work to break up the income statement for manufacturing purposes.  This report is S_PLO_86000029.  That report looks to me like it will replace my need for a PCA based Functional Area Report.
    David

Maybe you are looking for