URGENT LO COCKPIT

IF I DONT NEED DO CHNAGES IN THE ESTRUCTURES AND DATA SOURCES FOR SALES, PLANT MANTEINANCE,PURCHASING AND THE OTHER IN THE TRANSACCTION LBWE OF LO COCKPIT, I CAN USE ONLY THE DATASOURCES THAT STAY IN THE RSA5??????
EXAMPLE IN TRANSACCTION LBWE
DATASOURCE 2LIS_11_VAHDR
ESTRCTURE MC11VA0HDR
I DONT NEED CHAGE IT I CAN ACTIVATE ONLY IN THE TRANSACTION RSA5 THE 2LIS_11_VAHDR WHIT OUT ACTIVATE IN THE TRANSACTION LBWE?????
tHANKS IN ADVANCE
AGT

thanks for your help but my question is if i can use only the data sources in the transaction rsa5 and don´t do nothing in the lbwe??????
Or in other terms is obligatory develop the 8 steps to use Lo Cockpit???
thanks and best regards
agt

Similar Messages

  • Problems with logistic cockpit: URGENT!!

    Hi,
    I have a few verifications with LO cockpit.
    I have dobne the following steps.
    1. Activated the datasource.
    2. The update group shows active.
    3. In maintenance I have selected the fields.
    4. Deleted the setup tables.
    Now my question is when I run the intial set up do I need to bring the system down so that no updates are taking place.The second question is when I do I set the update to be queued update . When does it get set for the delta loads.
    We are writing a function module to put extra fields on the delivery table and would need to pull these fields in the standard extractor. Can I be guided as to how to accomplish this.
    Please help me out as it is very urgent.
    Thanks
    Amit

    Hi Siggi,
    Here is the function module:
    name: Z_PALLET_SPOT_CALC_DELIVERY
    FUNCTION z_pallet_spot_calc_delivery.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_VBELN) LIKE  LIKP-VBELN DEFAULT '86000801'
    *"     VALUE(I_POSNR) LIKE  LIPS-POSNR OPTIONAL
    *"     VALUE(I_VKORG) LIKE  LIKP-VKORG DEFAULT 'US01'
    *"     VALUE(I_VTWEG) LIKE  LIPS-VTWEG DEFAULT '00'
    *"  EXPORTING
    *"     VALUE(E_PALLET_SPOT) LIKE  ZZVS001-SPOT
    *"     VALUE(E_REAL_PALLETS) LIKE  ZZVS001-SPOT
    *"     VALUE(E_TOTAL_WEIGHT) LIKE  ZZVS001-BRGEW
    *"     VALUE(E_TOTAL_VOLUME) LIKE  ZZVS001-VOLUM
    *"     VALUE(E_TOTAL_PALLETS_3) LIKE  ZZVS001-ZSPOT_3
    *"  TABLES
    *"      T_LIPS STRUCTURE  LIPS OPTIONAL
    *"      T_ZZVS001 STRUCTURE  ZZVS001 OPTIONAL
    *"      T_ZZVS0012 STRUCTURE  ZZVS0012 OPTIONAL
    *"  EXCEPTIONS
    *"      NO_DATA_FOUND
      DATA: l_lfimg     LIKE  lips-lfimg,           " Delivery Quantity
            l_matnr     LIKE  lips-matnr,           " Material Number
            l_meins     LIKE  lips-meins,           " Base Unit of Measure
            l_vrkme     LIKE  lips-vrkme,           " Sales Unit
            ls_zzvs001  LIKE  zzvs001,
            ls_zzvs0012 LIKE  zzvs0012.
      CLEAR: e_pallet_spot, e_real_pallets, e_total_weight, e_total_volume,
             e_total_pallets_3, z_spots_3, z_spots_1, z_tot_wgt, z_tot_vol.
      FREE:  t_zzvs001,                   "Clear header line and contents
             t_zzvs0012.
      IF NOT i_vbeln IS INITIAL.
        IF NOT i_posnr IS INITIAL.
          SELECT *
          INTO   TABLE t_lips
          FROM   lips
          WHERE  vbeln  EQ  i_vbeln
            AND  posnr  EQ  i_posnr.
        ELSE.
          SELECT *
          INTO   TABLE t_lips
          FROM   lips
          WHERE  vbeln  EQ  i_vbeln.
        ENDIF.
        IF sy-subrc NE 0.
          RAISE no_data_found.
        ENDIF.
      ENDIF.
      LOOP AT t_lips.
        CHECK     t_lips-nopck IS INITIAL  " Indicator not relevant for pici
          AND NOT t_lips-komkz IS INITIAL. " Indicator for picking control
        l_matnr  =  t_lips-matnr.
        l_lfimg  =  t_lips-lfimg.
        l_meins  =  t_lips-meins.
        l_vrkme  =  t_lips-vrkme.
        CLEAR: ls_zzvs001,                     " Clear header line
               ls_zzvs0012.
        ls_zzvs001-mandt   =  sy-mandt.
    Convert sales unit of measure to base unit of measure
        IF l_meins NE l_vrkme.
          PERFORM  mat_unit_conv
            USING  l_lfimg                     " Delivery Quantity
                   l_matnr                     " Material Number
                   l_vrkme                     " Sales Unit
                   l_meins                     " Base Unit of Measure
          CHANGING dummy_f
                   zz_umren
                   zz_umrez
                   rc.
          CHECK rc = 0.
          l_lfimg  =  dummy_f.
        ENDIF.
    Convert a base unit of measure to 1 pallet
    MENG is the quantity to be converted in base unit of meas ie 'CA '
    cases. Returned ZZ_UMREZ contains the number of cases per 1 pallet
        SELECT SINGLE *
          FROM marm
         WHERE matnr = l_matnr
           AND meinh = 'PAL'.
        CHECK  sy-subrc = 0.
        PERFORM  mat_unit_conv
          USING  zz_lfimg                           " Constant 1000
                 l_matnr                            " Material Number
                 'PAL'                              " Pallet
                 l_meins                            " Base Unit of Measure
        CHANGING dummy_f
                 zz_umren
                 zz_umrez
                 rc.
        CHECK    rc = 0.
    Get weight and volume and product attributes for material
        PERFORM  mat_maapv
          USING  l_matnr
                 i_vkorg
                 i_vtweg
        CHANGING maapv
                 rc.
        CHECK    rc = 0.
    For PALLET SPOTS:
    If there is any value in the hundredths decimal position, it will
    round the tenths decimal position up by 1 tenth.  Because of float-
    ing point calculations this is accomplished by adding .444 to calc
        CLEAR: z_spots, vz_spots.
        IF l_lfimg NE 0.
          z_spots   = ( ( l_lfimg * zz_umren ) / zz_umrez ) + z_5.
          vz_spots  =   ( l_lfimg * zz_umren ) / zz_umrez.
          vz_spots  =     vz_spots + z_4.
        ENDIF.
    Calculate Number of Real Pallets
        e_real_pallets           =  e_real_pallets + z_spots.
        ls_zzvs001-real_pallets  =  z_spots.
    Product attribute 4 = Top Load product
    Product attribute 5 = Single Stack Prod(reserves 2 pallet spots)
    Single Stack: move calc'd field to dec4_1 to get value in tenths
      before multiplying by factor of 2.
    Product attribute 6 = Half Mod Prod(reserves 1/2 pallet spots)
      Divide by factor of 2
    Product attribute 7 = Qtr Mod Prod(reserves 1/4 pallet spots)
      Divide by factor of 4
        z_spots_cpy            =  z_spots.
        IF maapv-prat7         =  'X'.           " Quarter Mod Product
          ls_zzvs001-spot      =  z_spots.
          ls_zzvs001-zqtrmod   =  z_spots_cpy.
          ls_zzvs001-spot      =  ls_zzvs001-spot / 4.
          vz_spots             =  vz_spots / 4.
          z_spots              =  ls_zzvs001-spot.
        ENDIF.
        z_spots_cpy            =  z_spots.
        IF maapv-prat6         =  'X'.           " Half Mod Product
          ls_zzvs001-spot      =  z_spots.
          ls_zzvs001-zhalfmod  =  z_spots_cpy.
          ls_zzvs001-spot      =  ls_zzvs001-spot / 2.
          z_spots              =  ls_zzvs001-spot.
          vz_spots             =  vz_spots / 2.
        ENDIF.
        IF maapv-prat5         =  'X'.           " Single Stack Product
          ls_zzvs001-spot      =  z_spots.
          ls_zzvs001-zsnglstk  =  z_spots_cpy.
          ls_zzvs001-spot      =  ls_zzvs001-spot * 2.
          z_spots              =  ls_zzvs001-spot.
          vz_spots             =  vz_spots * 2.
        ELSE.
          ls_zzvs001-spot      =  z_spots.
        ENDIF.
        IF maapv-prat4         =  'X'.          " Top Load Product
          ls_zzvs001-ztopload  =  z_spots_cpy.
        ENDIF.
        ls_zzvs001-prat4   =  maapv-prat4.
        ls_zzvs001-prat5   =  maapv-prat5.
        ls_zzvs001-prat6   =  maapv-prat6.
        ls_zzvs001-prat7   =  maapv-prat7.
        ls_zzvs001-brgew   =  maapv-brgew * l_lfimg.
        ls_zzvs001-gewei   =  maapv-gewei.
        ls_zzvs001-volum   =  maapv-volum * l_lfimg.
        ls_zzvs001-voleh   =  maapv-voleh.
        IF maapv-prat4  =  'X'
        OR maapv-prat5  =  'X'.
          ls_zzvs001-tlss  =  z_spots.
        ENDIF.
        IF maapv-prat7 = 'X'.                    " Quarter Mod Product
          ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 4.
        ELSEIF maapv-prat6 = 'X'.                " Half Mod Product
          ls_zzvs001-real_pallets = ls_zzvs001-real_pallets / 2.
        ENDIF.
        ls_zzvs001-zspot_3   =  vz_spots.
        APPEND ls_zzvs001  TO  t_zzvs001.
        z_tot_wgt  =  z_tot_wgt + ls_zzvs001-brgew.
        z_tot_vol  =  z_tot_vol + ls_zzvs001-volum.
        z_spots_3  =  z_spots_3 + vz_spots.
        z_spots_1  =  z_spots_1 + ls_zzvs001-spot.
    Load additional information into secondary table Structure.  Quantity
    has already been converted to Base Unit of Measure
        t_lips-matnr  =  '000003400024000000'.
        t_lips-lfimg  =  10023.
        t_lips-meins  =  'CA'.
        IF maapv-prat7      =  'X'.                " Quarter Mod Product
          l_lfimg = t_lips-lfimg / 4.
        ELSEIF maapv-prat6  =  'X'.                " Half Mod Product
          l_lfimg = t_lips-lfimg / 2.
        ELSE.
          l_lfimg = t_lips-lfimg.
        ENDIF.
        PERFORM  get_additional_keyf
        USING    t_lips-matnr                  " Material Number
                 l_lfimg                       " Delivery Quantity
                 t_lips-meins                  " Base Unit of Measure
        CHANGING ls_zzvs0012-ztotpalq          " Total Pallets
                 ls_zzvs0012-zfullpalq         " Full Pallets
                 ls_zzvs0012-zfulllayq         " Full Layers
                 ls_zzvs0012-zfullcaq          " Full Cases
                 ls_zzvs0012-zmisccaq.         " Miscellaneous Cases
        ls_zzvs0012-mandt    =  t_lips-mandt.
        ls_zzvs0012-vbeln    =  t_lips-vbeln.
        ls_zzvs0012-posnr    =  t_lips-posnr.
        ls_zzvs0012-matnr    =  t_lips-matnr.
        ls_zzvs0012-zspot_3  =  ls_zzvs001-zspot_3.
        APPEND ls_zzvs0012  TO  t_zzvs0012.
      ENDLOOP.
       this pallet total is 1 decimal precision
      e_pallet_spot  =  z_spots_3.
      IF maapv-prat7      EQ 'X'.                 "Qtr Mod
        e_real_pallets    =  e_real_pallets / 4.
      ELSEIF maapv-prat6  EQ 'X'.                 "Half Mod
        e_real_pallets    =  e_real_pallets / 2.
      ENDIF.
       this pallet total is 3 decimal precision
      e_total_pallets_3  =  z_spots_3.
      e_total_weight     =  z_tot_wgt.
      e_total_volume     =  z_tot_vol.
    ENDFUNCTION.
    I hope thats what is needed. Look forward to your kind reply.
    Thanks so much in advance
    Amit

  • Error while activating TCT and BI admin. Cockpit (Urgent)

    Hi Experts,
                    We are configuring NW 04s BI system right now. We have followed the general settings on the system after Basis handed that over to us accrding to Best Practice config. document. Now to install BI administration cockpit, we need to activate the technical content for executing the BI Admin. cockpit. First of all, when we tried to install technical content automatically, we got this error msg no. RSTCO_UT013 and in our 2nd trial we are getting err msg no RSQBW400. First msg was about the job BI_TCO_ACTIVATION failure. Second msg is " There is no A version of Infoset 0RSTT_I07. Because of the errors, we are not able to install any standard business content. Every time we run a background job, it gets cancelled.
    We are applying the OSS notes no. 965386 and 934484. If any one has any idea of resolving the issue plz. let us know. Full points will be awarded for the correct answers. Thanks <b></b>

    Hi All,
    This is best practice in activating BI Statistics and Admin Cockpit.
    BI Administration Cockpit and new BI Statistics Content in SAP NetWeaver 2004s - Webinar Details
    https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/d09864c5-0bb0-2910-8e8a-a306a886dcd9
    I recomend to use BI CONT 703 SP5.
    If not,  you need do manual correction and apply more than 50 notes.

  • Requirements reappear in Sourcing Cockpit - Urgent

    Hi,
      Suddenly our users reported that requirements from MRP which were sourced long back reappeared in sourcing cockpit today (When you do Find). Most of the items are 0 qty and greyed out but some are non-zero qty but they too were sourced long back.
    I am thinking of clearing these already sourced requirement using BBP_GET_STATUS_2. There were no notes applied in the last week. Until 2 days back the SOCO was in good shape (according to one of the users).
    Any body experienced anything of this nature and how they solved it?

    Hi,
    I've experienced this problem. Some of MRP requirements are reappeared in SOCO with zero quantity. When I clicked in details of this Reqs I saw follow on documets with PO created.
    Solution for this problem:
    - prevent transfer already purchased requirements in backend system (basing on table EPRTRANS)
    - prevent showing already purchased requirements in SRM (basing on follow on document and SOCO indicator - Sourcing relevant)
    I think first solution is better.
    Regards,
    Marcin Gajewski

  • Logistics Extraction Structures Customizing Cockpit, (URGENT)

    Can someone give me a step by step way of how to use and apply Logistics Extraction Structures Customizing Cockpit. Eric Thanks.

    Pls have a look at the engagement rules of this forum:
    /thread/117232 [original link is broken]

  • Traffic lights in management cockpit

    hey pals,
    whats the best way to bring in traffic light status on to the frames in management cockpit.its pretty much easy to bring when u assign tachometer as chart type but will this work for all kinda charts?.....its urgent.....
    saggi

    hey pals,
    whats the best way to bring in traffic light status on to the frames in management cockpit.its pretty much easy to bring when u assign tachometer as chart type but will this work for all kinda charts?.....its urgent.....
    saggi

  • SOCO: Old requirements showing up in cockpit again

    Dear SRM gurus,
    I have a problem where old requirements (local po's) are showing up in sourcing cockpit overnight. Does anyone know what might be the cause? And what can be done to clear these requirements as they have been sourced and completed?
    We are on SRM 4.0 with extended classic scenario.
    Thanks.
    SN

    HI,
    Look at history of this requirement. Sometimes backend system post already purchased items to SOCO.
    There is a SAP Note 948716 for this problem
    Please look at this thread too.
    Re: Requirements reappear in Sourcing Cockpit - Urgent
    Regards,
    Marcin
    Please reward points for helpful answer

  • Urgent!the extracture of  SD datasource affect operating transaction

    Dear all
       I meet a very strange problem, i change the extractures in custozing cockpit of SD, and append
    datasource's structure.I transport the datasources to
    QAS . The datasources in QAS have no problem and can load data into BW system sucessfully,there are no problem in R/3 SD module.But i transport the extracture and datasources to Production system,some error occur.
    Before i load data into BW , R/3 SD module can not update transaction data,just like can not update orders and billings,in SM13,there are error information of updating.I have searched many sap notes for this,but they are no available (R/3 version of my system  is 4.7 ).I deactivate the extracture in LBWE,R/3 SD module has no problem,but BW can not load data.
    Could anyone give me a good solution? It's very urgent!!
    Best regards
    Alpha

    Hi Alpha,
    did you empty your delta queues before transporting the stuff to the prod system? Normally you need to post all data to the delta queue and do a delta upload to BW. Then you can transport changed datasources.
    regards
    Siggi

  • Popup screen processing not enabled in transaction cockpit

    Hi,
    I am working in cockpit transaction. When i click on the Calculate TTC button, a popup message is displayed. But further processing of this screen is not possible and also it is not possible to cancel the popup.
    Can anyone help me plz? Its urgent....
    Thanks in advance.

    Hi Presu,
    As it is seen from my previous post SAP GUI version is 7.10 SP 12. I downloaded the last SP 13 and installed it. Now SAP GUI information looks like this:
    SAP PC VERSION INFORMATION: saplogon.exe
    MAIN MODULE INFORMATION:
       saplogon.exe
       SAP Logon за Windows
       Final Release 710
       7100.3.13.1045
       1063164
    The problem is not resolved.
    This happens from different workstations with different versions and sub-versions of SAP GUI, so the problem is not caused from the GUI I think. It happens using different logon users and in all SAP system cliens.
    Any other suggestions?
    Best regards,
    Pit

  • Delta Mechanism for LO Cockpit

    Hi All,
    Currently I am having an issue with an implementation on Sales Order. As understood from Generic DataSource that is available in transaction code SBIW. We are able to create a datasource with the ability to trace the changes that is occuring in a particular transaction by using either addtive delta or new status for changed record.
    In Data Source, 2LIS_11_VAITM, which is only available in LO Cockpit, is it possible to have the same tracing too? As I know in LO Cockpit, we have the queued delta, direct delta and the unserialized v3 update, but this is not the delta that we would want.
    Really need help urgently on this matter.
    Thanks.

    It works with the Business content datasource (because it is built in the extractor logic), eg 2LIS_11_VAITM.
    This is what is confusing to many people. And it is same as file source system. In the file based DS, you do have an option of specifying whether it is a additive delta (in the datasource editor screen, at least it was till 3.5). This doesn't mean that the file will be read and system will compare from ? PSA or earlier load of the file and determine the delta to be pushed to BW. It means that we are saying that the file already contains delta.
    Same here. When we specify additive delta, we are saying that the table/view already contains additive delta (and not that the generic extractor will apply the logic to derive the delta values for the KF).
    Let us take an example, say you are storing stock market quotes in a spreadsheet or a table, and you want to move it to BW using generic extractor which loads the current prices to an ODS/Cube.
    Let us say the data is like this
    STOCK-ID--CLOSING_PRICE--
    Movement_since_last_price
    NYDE -
         60                         -  -
      3.5
    HWP  -
          125                  -
      -1.25
    and so on.
    Now, if from this table (or file), you push STOCK_ID, and CLOSING_PRICE using your generic extractor, it is a 'new image' and that is what you should specify.
    But, you can also instead push STOCK_ID and 'MOVEMENT' in which case it is an 'additive delta' and you should specify your DS as such.
    If you only had STOCK_ID and MOVEMENT data in your table, your DS would have to be 'additive delta'.
    I hope you understand it now. Your table data determines what delta type the generic DS is, you can not just specify it as you wish.
    Why this setting is there - it tells BW what type of DS it is, so it can warn you if you are trying to load it to incompatible target. For example, if you had a 'new image' type DS, and you tried to load it directly to a cube, the system will give you a warning/error about it being incompatible.

  • Closing Cockpit configuration material

    < MODERATOR:  Message locked.  Please read [this|Before you post: Rules of Engagement; before posting next time. If you have a specific question on the closing cockpit, then ask it.  But don't ask for materials.  Search first. >
    Hi All,
    Pls If anybody has Closing Cockpit configuration material thn send me. I already have a link of SAP help data but which is very confusing. I want step by step configuration.
    Pls treat it as urgent.
    Thanks & Regards,
    JC

    closing stock showing in MB5B report for that date with the same filter conditions.
    In closing stock u have to consider Stock.Avail. @ my hands
    search for  table MARD in that MB5B
    refer.
    Re: closing stock of a particular date

  • LO cockpit help

    hi
    I have deleted the data from Cube and PSA and Info package for an LO cockpit data source to make a fresh load in to BI (in sandbox)...Now I went to LBWG and deleted set up tables...and then filled the set up tables again...now when I load the init by running the infopackage its giving only 54 records...can any one tell me where am making the mistake ? Did I forget any step in ECC ?
    Please advice...Just tell me how to reload the init ...FYI I have deleted the data from PSA and Info package scheduler as well....I need to load from ECC again
    Regards

    Check the base tables itself first to confirm the number of entries match,also after deleting the set up tables check in RSA3 to see if its completely deleted..
    More insights
    LOCOCKPIT
    Steps
    1)LBWG - Delete Set-up tables
    2)LBWE -->Application area(Purchasing)
    Activation of extract structures
    Click >Structure>Maintenance
    Click>Datasource>2LIS_02_HDR
    Click>Update>Active
    Click>Update Mode>Queued Delta
    Green light should appear on each extraction structures after all STEPS
    3)SBIW settings-based on Application area
    Inventory Controlling
    IMPORTANT - ORDER OF LOADING
    ALWAYS LOAD in order as BX datasource first then BF datasource and then UM datasource in cube
    a)SBIW>Setings for Application -specific Datasources(PI)>Logistics-->Settings:Inventory Controlling -->
    Select Determine Industry sector
    Select Transaction Key Maintenance for SAP
    Transaction key is used for Process key mappings w/t these the data would not load in to BW though it would come in PSA
    b)Select Stock Initialization or TCODE - MCNB
    Purchasing
    a)SBIW>Setings for Application -specific Datasources(PI)>Logistics-->Settings:Purchasing
    Select Determine Industry sector
    Select Transaction Key Maintenance for SAP
    4)Fill Set up tables
    SBIW>Setings for Application -specific Datasources(PI)>Logistics>Managing extract structures>Initialization>Filling in the set up table>Application specific setup of statistical data.
    OR
    OLI*BW -example for Inventory transaction is OLI1BW
    5)BW -Replicate datasources
    Loading data steps-
    1)LBWQ (Empty the queue by deleting the entries if its FRESH installation or Execute Job through Job control and empty the queue)
    2)LBWG (Delete set up tables)
    3)SBIW(OLI*BW) Fill set up tables ,use BLOCK check box
    4)Make an INIT from BW  (Data now flows from LBWQ to RSA7)
    5)Set up a V3 update job in R/3 ,frequency daily/periodic
    Inventory Cube -
    1)Load BX datasource
    2)Load BF datasource (No checkmark on Marker update)
    3)BW - Compress cube with YES Checkmark Marker update
    4)Remove Check Mark
    5)Delta
    6)BW - Compress cube with YES Checkmark Marker update
    IMPORTANT -
    Note 691721 - Restoring lost data from a delta request
    Note 581778 - ODS capability of extractors from Inventory Management
    MB51 transaction to check the report
    LBWE - Lo Cockpit
    0info_rec is not included in 2LIS_02_ITM or 2LIS_02_SCL (urgent)
    Note 396647 - FAQ: V3 update: Questions and answers
    SM13 usage Note 328181 - Changes to extract structures in Customizing Cockpit
    Note 602260 - Procedure for reconstructing data for BW
    Update methods - V1 ,V2,V3
    Gist of LO Cockpit Delta
    Hope it Helps
    Chetan
    @CP..

  • Logical command in ABAP.....Urgent

    Hi,
      i am pretty new using ABAP program so i neeed help urgently. i am trying to move a file on the application server from one directory to the other and i was using the open dataset function to do that. but the file i am trying to move is pretty big and because i am using internal table to store, it is causing problems with the space.
      i have consulted the basis guys and they have managed to create a logical file for copying from one directory to the other on the application server. to help you furthter. i am enclosing the mail sent to me.
    I have created a logical command which should copy the file from one location to the other but you need to pass it the source dir and file name and the destination dir and file name.
    The logical command is ZCOPY and uses cmd /c copy
    Copies one or more files to another location.
    COPY [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
         [+ source [/A | /B] [+ ...]] [destination [/A | /B]]
      source       Specifies the file or files to be copied.
      /A           Indicates an ASCII text file.
      /B           Indicates a binary file.
      destination  Specifies the directory and/or filename for the new file(s).
      /V           Verifies that new files are written correctly.
      /N           Uses short filename, if available, when copying a file with a
                   non-8dot3 name.
      /Y           Suppresses prompting to confirm you want to overwrite an
                   existing destination file.
      /-Y          Causes prompting to confirm you want to overwrite an
                   existing destination file.
      /Z           Copies networked files in restartable mode.
    The switch /Y may be preset in the COPYCMD environment variable.
    This may be overridden with /-Y on the command line.  Default is
    to prompt on overwrites unless COPY command is being executed from
    within a batch script.
    the problem now is i have no idea about how to use the logical command. can any one help me.
    Thank you,
    Ravi.

    If memory is not an issue, then there should be no reason why this should not work.
    report zrich_0001.
    parameters: d1 type localfile default '/usr/sap/TST/SYS/Data1.txt',
                d2 type localfile default '/usr/sap/TST/SYS/Data2.txt'.
    data: itab type table of string with header line.
    start-of-selection.
    * Read old file
      open dataset d1 for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset d1 into itab.
          if sy-subrc <> 0.
            exit.
          endif.
          append itab.
        enddo.
      endif.
      close dataset d1.
    * Write to new file
      open dataset d2 for output in text mode.
      loop at itab.
        transfer itab to d2.
      endloop.
      close dataset d2.
    * Delete the old file
      delete dataset d1.
    Regards,
    Rich Heilman

  • Confirmation of balance - urgent

    Hi,
    We are using print program SAPF130K and SAPF130D for vendor and customer respectively.
    My query is can we bring even the cleared items alongwith the open items in the same print program???
    Now we have line items of open line items only?? As per our exploration into the program... we get only open items..
    Also we are using SAP10 and SAP11 as the correspondence type.Kindly advise as to correspondence type should be changed so that it can print both the open and cleared items?
    Please reply ASAP as it is very urgent.
    Thanks in advance.
    Regards
    Karpagam

    Hi,
    Use T.Code F.42 FOR Vendor Balances
    and F.23 For Customer Balances
    Hope this will help u
    Regards,
    Sarfaraz

  • FUNCTION IS NOT WORKING WHEN RUN IN SRW.RUN_REPORT, URGENT

    Hi,
    I have a report. it has got 1 Query and 2 groups.
    Q1
    |
    |
    __G1__
    |F1 |
    |F2 |
    |F3 |
    |
    |
    |
    __G2__
    |Items|
    |Sales|
    | Qty|
    |Store|
    |Func4|
    |Func5|
    |Func6|
    The Query looks like above. Now In the report I have a 3 User parameters . For Each record in G2 the functions Func4,Func5 and Func6 adds the value to the user parameters at the report level.
    Now the Func1,Func2,Func3 takes the value of last 4 record for each item at each G1 Level and devides it by 4 and prints . As an example given below
    ITEMS-----SALES-------QTY-----------STORE
    10001-----10000-------200-------------100
    10001-----20000-------500-------------200
    10001-----15000-------350-------------175
    10001-----45000-------650-------------225
    10001-----50000-------700-------------300
    AVERAGE==>32500-------550-------------225 ==> Calculated by F1,F2,F3
    20001-----70000-------900-------------400
    20001-----30000-------600-------------350
    20001-----20000-------500-------------300
    20001-----25000-------450-------------275
    20001-----35000-------550-------------225
    20001-----65000-------800-------------400
    AVERAGE==>36250-------650-------------300 ==> Avg of last 4 records
    This report takes an parameter which is part of the Where condition of the Query Q1. If I run this report from the report builder and provide the value for the parameter then the report runs fine printing the exact values. If I run the report from another report(which I have to do, due to circumstances) using SRW.Run_Report and pass the parameter in the same command. The the function FUNC4, FUNC5, FUNC6 does not do the addition, as a result the Func1,Func2,Func3 returns 0. I dont know why this is happenning .
    This is very very URGENT, My project manager is on my head to finish it ASAP. Please help.
    Thanks
    Feroz

    Hi Toby and Danny,
    Thanks for the quick reply. I dont think I am having an interdependancy of the functions. Here is an sample what two functions do at each level
    Func6 =========> This function at group level G2
    begin
    -- To initialize the user parameter for each new item.
         If :CNT = 1 Then
              :Wk4_Pos_Qty := 0;
         End If;          
    -- to add the qty value to the user parameter for last 4 records. Uchange is the no of records for each item     
    If :CNT >= :UCHANGE - 3 Then
         :Wk4_Pos_Qty := :Wk4_Pos_Qty + :Qty;
    End If;     
    return 0;
    end;
    Func3 ======> this function at group level G1
    Begin
    -- if no of records are less than 4 then devide by the no of records or devide by 4.
         If :UChange < 4 Then
                   return((:Wk4_Pos_Qty + :Qty) / :UChange);
         Else
                   return((:Wk4_Pos_Qty + :Qty)/ 4);     
         End If;     
    end;
    Here Wk4_Pos_Qty is the User parameter created to hold the calue for the Um of last 4 records Qty.
    I tried to modify the Func3 so that it looks like this
    Func3
    begin
    srw.reference(:Wk4_Pos_Qty);
         If :UChange < 4 Then
                   return((:Wk4_Pos_Qty + :Qty) / :UChange);
         Else
                   return((:Wk4_Pos_Qty + :Qty)/ 4);     
         End If;     
    end;
    But it does not effect anything. I mean its the same. The Wk4_Pos_Qty returns 0 and Func3 returns 0.
    Any Suggestions .
    Thanks
    Feroz

Maybe you are looking for

  • Open VI reference freezes

    Open VI reference seems to run in the user interface thread. If you open a user dialog all the open vi reference functions halt until the dialog has been closed (even though they run in paralell loops etc, no data flow explanation). MTO

  • Help me out....in java

    Hi All, How to unzip the zip file in JAVA when zip file contains the password authentication. Please help me out..... thanks in advance.

  • ERROR INTO clause is expected in SELECT

    Hi experts, on executing the following code on Application Express 4.0.2.00.09. I had the error like below. declare xml_Base_No_Gra_Iva number; xml_Base_Imponible NUMBER; xml_Base_Imp_Grav NUMBER; xml_Monto_Iva NUMBER; xml_Valor_Ret_Iva NUMBER; xml_V

  • Creating PO from MD04

    When creating a PO from a PR in MD04, the default purchase order type is not holding the user personal settings. We have one type of purchase requisition, ZZNB and 2 types of PO's. ZB and ZZNB (distribution and trade respectively).  When the user tri

  • Authority Check on Spool Recipient?

    Hi experts, I have the problem that we have quite a lot of Jobs running by system users as owner (Operator...), but creating spool requests for other recipients (standard users in the functional departments). Those recipients should have access to th