BAPI_PO_CHANGE - Need to change POLIMITS table

Hi,
We have a requirement to change the Expected Value in the PO screen for a set of POs.
This Expected Value is coming from Shipment doc and the details are availbale in POLIMITS table in BAPI_PO_CHANGE.
We thought of updating the field EXP_VALUE in this table, but it is returning No value changed.
Can Expected value be changed like this?
Is BDC the only solution?
Please help.
Neethu

Hello,
I finally got the answer for the Profit Segment:
CALL FUNCTION 'BAPI_PO_CHANGE'
    EXPORTING
      PURCHASEORDER           = W_POHEADER-PO
    TABLES
      RETURN                 = T_BAPIRETURN
      POACCOUNT               = T_BAPI_POACCOUNT
      POACCOUNTPROFITSEGMENT = T_BAPI_POACCTPROFSEG
      POACCOUNTX          = T_BAPI_POACCOUNTX.
We must also pass the POACCOUNT and the POACCOUNTX to assign the corresponding accounts to be updated.
The POACCOUNTPROFITSEGMENT must contain the fieldname and the corresponding value. Example:
T_BAPI_POACCTPROFSEG-po_item = item_number.
T_BAPI_POACCTPROFSEG-serial_no = serial number.
T_BAPI_POACCTPROFSEG-fieldname = 'BUKRS'.
T_BAPI_POACCTPROFSEG-value = v_bukrs.
Thanks for your help which guided me and my team to the solution.
Regards,
Pramod.

Similar Messages

  • OMS Plus script needed to change target table load hint

    Greetings
    Environment:
    Metadata Repository - 10.1.0.4 currently but going to 10.2.0.3 soon running client on Windows XP Pro and repository on AIX 5.3
    I need an OMB Plus script to find all the maps where the target table(s) have a Loading Type of either INSERT/UPDATE or UPDATE/INSERT and I want to remove the APPEND loading hint.
    I have suffered with attempts at using OMB Plus long enough.
    Also, is there a way in either 10.1 or 10.2 to set the default action of that attribute to NOT include the APPEND hint?
    Thanks very much in advance.
    -gary

    Hi Gary,
    you can get loading type with command
    OMBRETRIEVE MAPPING 'MAP_NAME' OPERATOR 'TABLE_OP' GET PROPERTIES (LOADING_TYPE)
    and loading hint with command
    OMBRETRIEVE MAPPING 'MAP_NAME' OPERATOR 'TABLE_OP' GET PROPERTIES (LOADING_HINT)
    In this thread you can find tcl script for identifying target or source tables/views in mapping
    Re: Q : OMBPLUS, find TARGET TABLE
    Regards,
    Oleg

  • How to change the table name

    hi
    instead of copying and renaming
    is there any other way to change the ztable name .
    I have wrong named the table and activated now i need to
    change the table table from ztest to zvk01
    thanks

    these r the steps to change table  name ..
    goto se11 tcode.
    give ur oldtable.
    goto top of the se11 ->goto dictionary objects ->copy->
    give from table name to table name .
    And the copy of ur table will be new table name ..
    And to delete oldtable name.
    goto se80->goto ur package ->select datadictionary ->select the old table name ->rt click ->delete.
    I think its some what useful.

  • Need suggestion to get data from change log table of ODS.

    Hello,
    There is a case where i am loading opportunity header data from header ODS and opportunity item data from item ODS in the opportunity cube.
    Status (1= OPEN, 2= WON ETC) of the opportunity are available only in header ODS and not in item ODS.
    While loading data from header ODS to cube, I am loading it directly but while loading data from item ODS to cube i am using active data table of header ODS as a lookup in the update rule from item ODS to cube. I am selecting status from the active data table of header ODS while loading data from item ODS to cube.
    Since active data table will have only after image records, there is some data mismatch in the report as i am selecting data from active data table of header ODS while loading data from item ODS to cube.
    I need to select data from Change log in order to get before image also instead of active data table in order to overcome this issue. Is there any way by which i can do selection from Change log instead of active data table as change logs are generated at run time.
    Please let me know if you have any suggestions.
    Regards,
    Sanjay Chaurasia.

    Hi,
    You can use the changelog table of the DSO.
    Right click manage the Header DSO, go to the contents tab and click Change Log table. There you can see the technical name of the Change Log table.
    In the update rule Routine, give the tech name of Change log table instead of Active table name.
    Hope it helps.
    Krishna

  • Need to get a list of PSA tables and change log tables existing in a PC

    Is there a standars table to look up all active DSOs and the change log tables associated to those DSOs?
    and also Data sources and the PSA tables associated to that DS.
    I need to get a list of PSA tables and change log tables existing in a processchain(whioch deletes the data in them time to time)how do I do this in a quicker way?
    Thanks in advance

    Hi Ramya
    Check  RSTSODS table with filter of  User App   CHANGELOG ---> For change log tables

  • Need of Change log deletion for a DSO, when DTP delta Init with Active Tabl

    Hi,
    Thanks for your time, please help me with the following
    Scenario: I have Cube1 being updated from DSO1 with DTP delta, for quite some time. As per new requirement, I would need to create new data mart such that Cube2 gets updated from DSO1.
    In order to Configure the delta, I am Considering Following options, please let me know, which one is right one.
    Note: DSO1 is in Overwrite Mode.
    Create one DTP with update Mode "Delta" , and "Active Table".  I knew Delta Changes are captured in change log, but my understanding is, when you execute the DTP for the First time, it fetches the records from Active Table. And from 2nd Run onwards the very "same DTP" without "any changes" get the records from change log, even if we choose "Active Table".
    is my understanding is Right?
    Do I have to consider deleting the change log, because DSO1 is in Production from quite some time which is in Overwrite mode?
    Do I have to create a DTP  with Delta and Active Table, run the dtp Once(Init), then choose "Change Log for subsequent runs explicitly
    please help me with these. I have reviewed many sap help articles and sdn threads but none of them were helpful. all of them explains, difference b/w active table and change log table, also gives scenarios like use a full DTP and then 2nd DTP with Delta without Data transfer. I am not looking for that kind of details.
    Appreciate any help, Thanks again
    Edited by: curious maven on Mar 28, 2011 8:35 AM

    Hi Uma,
    Thanks for your response.
    to your question, If I need to load all the data from DSO1 to Cube1, answer is NO. if you read my post once again,
    Existing Flow is : DSO1 --> Cube1 (Means, Active Table and Change Logs of DSO1 already Filled Up)
    Requirement is: DSO1 --> Cube2. (Need to Init the Delta, and Detlas going forward)
    My Questions:
    (1) Imagine, DSO1 has 10 requests, so we see resepctive data in Active Table as well as Change Log. As a matter of fact, Data is being updated to DSO1 in Overwrite Mode, so all the changes(10 requests equivalent) would be captured in Change Log, which in turn helpful / used when we do Delta from DSO1 to any Cube, in my case, it used to update to Cube1. As per new requirement, it needs to update to Cube2.
    My assumption is, if I choose "Active table and Delta in Extraction Tab" in DTP, During First Run (Delta Init), Data would be fethed from Active table. And the 2nd Run Onwards, delta records would be fetehced from Change Log automatically, even if we don't change the selection from Active Table to Change Log.
    Is My Assumption Right?,
    in this process, Do I have to Delete Change Log
    (2) Do I have to Explicitly change DTP setting from "Active Table to Change Log" Once Delta Init has been run with setting "Active table" inorder to get Deltas from DSO1 --> Cube2 ?
    Appreciate your help
    Edited by: curious maven on Mar 30, 2011 3:14 PM
    Edited by: curious maven on Mar 30, 2011 3:29 PM

  • Need detailed info about Active,New and Change log table in BI 7.0

    Dear Experts,
    I am new to this technology. Can you any one explain in very detail about ACTIVE, NEW and CHANGE LOG tables workflows.
    And also i am requesting you all to give tips to how to study BI 7.0
    Regards,
    Ameer.N

    For your first problem solution is this note: 936644
    You might have not mapped the filed in your tarnsfer/update rules?

  • I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

  • Need to change the date of joining of employee

    Hi All,
    I have gone through some threads similar to this subject an also tried to do changes from PA41 but i am facing some problems during the procedure.
    We have transferred some employees to sap system with their original date of joining and payroll was run from some other date for those employees. So i need to change the date of joining of those employees.
    For example : Below is the line items of one employee from table infotype 0.
    End date Start date Changed on
    22.02.2009 19.02.2007 19.02.2009
    31.03.2009 23.02.2009 19.02.2009
    31.12.2009 01.04.2009 14.10.2009
    31.12.9999 01.01.2010 21.01.2010
    Payroll was run from Feb-09 onwards and i want put date of joining for this employee as 23.02.2009.
    I want to know which date i need to change??...When i am trying to change the first start date i.e. 19.02.2007 to my desired start date, but it is not allowing me to do that as end date is smaller.
    Please tell me how would i change the joining date of employee as 23.02.2009 ?.
    Thanks.

    Try this
    22.02.2009 19.02.2007
    31.03.2009 23.02.2009
    31.12.2009 01.04.2009
    31.12.9999 01.01.2010   take this record form PA30  IT0000 Over View (Shif +  F8)  Copy that record and change the Start date
    as 2302.2010  so  another record will be created
    22.02.2010    01.01.2010
    31.12.9999    23.02.2010
    Just try and let me know

  • Help needed for report on tables vbak and vbap

    Hello,
    I needed help in one of my work issues, this is my first project and Iam still learning. kindly help.
    I was asked to take erdat,vbeln,posnr from selection screen and compare it with the data already in tables vbap,vbak. If the data
    already exists and exception needs to be raised saying that the 'data exists',but if the data is not present in the tables the
    tables have to be updated. This has to be done using function module only.
    Then I have to write a REPORT calling the above function module and finally displaying the number of records updated and the
    list of them.
    I have started writing a function module:
    FUNCTION z_tableupdate.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(DATE) LIKE  VBAK-ERDAT DEFAULT SY-DATUM
    *"     VALUE(SALESORDERNO) LIKE  VBAK-VBELN
    *"     VALUE(ITEMNO) LIKE  VBAP-POSNR
    *"  EXPORTING
    *"     VALUE(EX_VBAP) LIKE  VBAP STRUCTURE  VBAP
    *"     VALUE(SYS) LIKE  SY-SYSID
    *"     VALUE(EX_VBAK) LIKE  VBAK STRUCTURE  VBAK
    *"  EXCEPTIONS
    *"      DATA_UPDATED
    *"      DATA_EXISTS
      SELECT * FROM vbak INTO vbak_wa WHERE erdat = date
                                        AND vbeln = salesorderno.
      ENDSELECT.
      SELECT * FROM vbap INTO vbap_wa WHERE posnr = itemno.
      ENDSELECT.
      IF sy-subrc EQ 0.
        ex_vbap = vbap_wa.
        ex_vbak = vbak_wa.
      ELSE.
        RAISE data_exists.
      ENDIF.
      sys = sy-sysid.
    ENDFUNCTION.
    How is the above code for function module, will this work??
    Now can I write a report to call the above function module and update the record?? if so, how to update ??? please help...Lots of thanks in advance.

    Hi
    Welcome to SDN forum
    Whay can't you write a simple report in SE38.
    why you are using Fun module
    Nothing wrong in it.
    But first become perfetc in reports in SE38 and then do using the fun modules
    write a simple select statement like
    SELECT AVBELN AERDAT BPOSNR BMATNR
    INTO TABLE ITAB
    FROM VBAK AS A JOIN VBAP ON
    AVBELN = BVBELN
    WHERE A~VBELN  IN  S_VBELN AND
                 A~ERDAT  IN  S_ERDAT AND
                 B~POSNR IN S_POSNR.
    IF SY-SUBRC <> O.
      WRITE: / 'No data found'.
    ENDIF.
    First write this in SE38 by defining a proper selection screen and internal tables
    then do as fun module
    see the doc for fun module
    Function Modules;
    Check this matter.
    Function Modules are Global ABAP programs created by SAP for reusable purpose.they have IMPORT,EXPORT and TABLE parameters, and EXCEPTIONS to through when error occurs.
    You can create them from TCode SE37.
    Go through the following doc:
    Function modules are cross-program, reusable procedures that are organized into function groups, and whose functions are implemented between the statements FUNCTION and ENDFUNCTION. Function modules and their interfaces are created in the Function Builder.
    Function Module Interfaces
    The parameter interface of a function module is defined in the Function Builder. It includes the definition of interface parameters and the specification of exceptions that can be triggered by a function module. The Function Builder automatically generates comment lines below the FUNCTION statement in the source code of the function module, which represent the interface of the function module with the following syntax:
    Syntax
    ... [IMPORTING parameters]
    [EXPORTING parameters]
    [CHANGING parameters]
    [TABLES table_parameters]
    [{RAISING|EXCEPTIONS} exc1 exc2 ...]
    The syntax and semantics of IMPORTING, EXPORTING, CHANGING, RAISING, and EXCEPTIONS mainly correspond to the definition of method interfaces with [CLASS-]METHODS. The additional option of defining table parameters using TABLES is obsolete.
    Interface parameters
    The interface parameters are defined on the relevant tab pages in the Function Builder.
    IMPORTING parameters are input parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input parameter. The content of the actual parameter is passed to the input parameter when the call is made. The content of an input parameter for which 'pass by reference' is defined cannot be changed in the function module.
    EXPORTING parameters are output parameters. When the function module is called, a suitable actual parameter can be specified for every output parameter. The content of an output parameter that is defined for 'pass by value' is transferred to the actual parameter if the function module is completed without errors. An output parameter that is defined for pass by reference is not initialized when the function module is called.
    CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter.
    TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
    Exceptions
    The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
    The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
    The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
    Note
    For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
    RFC is a technology which is used to access a functions (Modules) from
    the remote systems.
    If a function module is set as remote enabled which can be access from
    the remote system via RFC.Eg: U can access the Remote enabled function modules in ur VB,Webdynpro,Java,Visual composer program.
    A function module can be set as remote enabled by SE37->Go to ur FM->click the option Button "remote enabled".
    But Normal function modules can not accessd from the remote system.
    Good Example for RFC enabled function module is : BAPI(Business Application Programming Interface)
    Note: All BAPIs are Remote enabled but not all remote enabled function modules are BAPI.
    CALLING A FUNCTION MODULE:
    1)In U ABAP Editor --> Click "Patter" ---> Selection Option Button "Call Function"
    --> Write the Corresponding FM name --> Hit Enter
    2)The appropriate import ,export Parameters will be displayed in ur editor
    3)Pass the Values Here.
    Also check these links.
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    See the following links:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    Regards
    Anji

  • Changing the table name while drill down at the dashboard query

    I have a DAY fact table that has about 1B rows.
    The purpose of this table is to store on hand quantity for each item per day.
    On the presentation layer I have a dashboard that will display average on hand qty per year and then user can drill down to quarter/month/week and then by day level to see the actual value at evey level.
    Its hard to run aggregation on fly as all my 3 TEMP tablespace 32gb each filled and then I get error can not extent TEMP file.
    So I thought I will do the aggregation at the database level and store the aggregated data in another table. So at first dashborad will read this new aggregated table to display qty at yearly. As soon as user drill down to quarter the dashbord should query the actual DAY fact table by filtering for specific year and quarter.
    IS it possible? Can I change the table name while I drill down to lower level?
    Thanks in advance.

    Hi use,
    Yes. This is possible in OBIEE. You need to use Action Links to have navigation between reports. The main idea is to have 2 analysis. One with your aggregated data by year (using your aggregated table), and another one with the rest of the hierarchy and data (using normal fact table)
    You add an action link on this report, that can navigate to the second report. showing "the details" (in your case would be the rest of the time dimension).
    Please refer to http://www.rittmanmead.com/2010/07/obiee-11gr1-action-framework-and-conditions/ for actions links.
    Another way is to create 2 analysis, then go to the 2nd analysis, and filter the column year as "Is based on results of other analysis" and you select there the first analysis. In this case when you click on the year in the first analysis, this value will be passed to the second analysis so you can filter the rest of the hierarchy based on the year you clicked on the first analysis.
    If helpful, assign points.
    J.

  • Need to change the segment data in Inbound ORDERS05 IDOC

    Hi:
    I need to change sales area coming in E1EDK14 segment. I need to determine SAP sales area stored in TVARV table and pass it to the E1EDK14 segment.
    I am using exit EXIT_SAPLVEDA_002. In this I am looping DIDOC_DATA and checking if segment is E1EDK14 and then writing my logic and modifying the DIDOC_DATA. I am also modfying DXBDCDATA. However the fields are properly getting populated on screen but  when I went WE05 to check the IDOC the changed fields are not getting reflected in IDOC.
    Please let me know where else I have to change in order to show it in IDOC.
    Thanks.

    Toni,
    I atlast tried IDOC_DATA_MAPPER BADI and it is working fine for me.
    Appreciate your help.
    The following is the sample code I wrote inside the BADI.
    LOOP at data into wa-data.
       CASE wa_data-segnam.
           when 'E1EDP01'.
               wa_mapp-segnum    = wa_data-segnum.
              wa_mapp-feldname   = MATNR.
              wa_mapp-value         = '000000000000115123'.
              wa_mapp-save_type = c_x.
              APPEND wa_mapp TO mapping_tab.
            MOVE 'X' TO have_to_change.   "IDOC Data have to be changed with newly determined values
            IF protocol-stamid IS INITIAL.       "Populate with atleast one value
              protocol-stamid = 'ZMM'.
            ENDIF.
            IF protocol-stamno IS INITIAL.
              protocol-stamno = '001'.
            ENDIF.
       ENDCASE.
    ENDLOOP.
    Thanks.

  • How to convert/change my table to alv?

    Hi all,
    Currently, my program returns some results in table form. However, there is change of requirement. I need to return the table form into alv format instead so that the program can have added alv features such as built in export to excel/ print features.
    Question: Where and how do I implement this change?
    Edited by: Siong Chao on Mar 23, 2010 5:03 AM
    Edited by: Siong Chao on Mar 23, 2010 5:09 AM

    Hi,
    Refer [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?quicklink=index&overridelayout=true] for std SAP document on ALV implementation. There is no separate UI element for ALV implementation. You need to go for the component usage of std. component 'SALV_WD_TABLE'.
    Regatds,
    Saket.

  • WRITE_FORM_LINES. Need to change the style when printing in the SAP Script

    Hi Experts,
    I am using the WRITE_FORM_LINES function module to write a list of numbers.
    But I need to change the font of the numbers when printing it.
    I have changed it_header-tdstyle = 'S_DOCUS1'...SAP standard one but I need to create my own style.
    I have created using SE72 and has given my own defined Character and Paragraph formats.
    when I pass through the function module there is no change in it.
    I think I need to create a text object is .. Can any one explain me hw to create a text object
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db827494511d182b70000e829fbfe/frameset.htm
       CALL FUNCTION 'WRITE_FORM_LINES'
              EXPORTING
                function                 = 'APPEND'
                header                   = it_header
                window                   = 'MAIN'
              TABLES
                lines                    = it_serial
              EXCEPTIONS
                function                 = 1
                type                     = 2
                unopened                 = 3
                unstarted                = 4
                window                   = 5
                bad_pageformat_for_print = 6
                spool_error              = 7
                codepage                 = 8
                OTHERS                   = 9.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
    Waiting for u r replies...
    Thanks,
    Chaithanya K

    In se75. go in change mode and click create button in application tool bar.
    Now text object is something to which a text is attached, like, a material or a Purchase order etc.
    Text format is like rich text format or plain text depending upon which an editor is invoked
    Specify Editor application. SAP provides standard Editor application choose from one of them(TA or TN)
    Line width
    This attribute determines the line width to be used for this text in the text editor. A SAPscript text line may consist of up to 132 characters.
    Save mode specifies how a text is saved in
    dialogue task
    When calling the corresponding save function, the system immediately writes the text module to the text database.
    in update task
    All changes to the text modules of a transaction are stored intermediately in a buffer. Only when the application object is updated does the system write the texts to the log file and, in the update task, stores them in the text file.
    For not in text file
    You can use SAPscript to edit texts that are not stored in the text database. In this case, SAPscript only returns the changed text table to the application program, which is itself responsible for storing the text

  • Need to change report data source on reports in a copied universe

    We are setting up a new testing environment.  So I made a copy of our BO universe so we could have two different testing universes.  I then created a copy of the data source database that will be used as the data source for the reports in the copied universe.  The two different databases have the exact same tables, columns and indexes as the development database.   The only difference will be the data inside the tables. 
    I now need to change the reports to use the new universe since the reports were written using the universe instead of using the database.  I am not changing anything else in the reports.  I just need them to run against a different Oracle database. 
    So I go into Crystal Reports version 11.5.0.313 and open the report up.  I then go into Database fields in Field Explorer to change the data source.  I then go to the Set Datasource Location screen.  I open up the universe label by clicking on the plus sign and I select the copied universe.  When I do that, the Business Objects Query panel screen opens up.  Because I have switched universes, Crystal Reports wants me to reselect the columns and rebuild the query.
    We have over three thousand reports so we are trying to avoid rebuilding them.  I am looking for a better way to change what database a report runs against. 
    Note: All of the reports will be run ion demand.  Nothing will be scheduled.
    Any suggestions and information will be greatly appreciated. 
    Has anyone run into this?   What was your solution to this problem?

    Hi Joe,
    Moved your post to the Universe Forum.
    First you are using the original release of XI R2. You need to upgrade to Service Pack 6 by:
    Run License Manager first to get the keycode if you don't have it on paper somewhere.
    Then download these and uninstall then run full build first:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Try again
    Don

Maybe you are looking for

  • Templates without Dreamweaver

    I'm trying to use the new Contribute CS4 to see if I can build and use templates for client websites without the use of Dreamweaver. This is probably a very elementary question, but can this be done and if so could I get a little jump start on method

  • WRF(Work Request Form)

    Hi All, We are using WRF(Work Request form) for entering all the details regarding the equipment failure.We can update how many resource we are using and then material which we are using for repairing this faulty equipment. We update all these detail

  • Debug a hung Java Process

    hi Folks, we have this script that connects to a server and retrieve bunch of data and parses and indexes it. One of the ways to improve the speed of this indexing, we used the ExecutorService class, for our thread needs. Seems like there is a hang e

  • Since installing firefox4.0b5 sound has stopped working with flash. Still works normally with 3.6.x and was working with 4.0b1

    Yesterday I downloaded the latest nightly build of minefield and flash stopped working. I re-installed flash, still now joy. I copied all plugins from usr/lib64/plugins to .plugins and videos then played in flash but without sound. Sound continues to

  • Validate Evaluvatio​n Type

    Hi Ppl... I'm Using this  Expression.ValidateEvaluvationType method. I want to check whether the expression is a conditional expression. So I have checked for boolean type.  Please tell me if its correct. I'm getting error tellling the input paramete