Advanced Report for Shopping Cards

Dear Friends
As you might have to know there are in EBP 5.0 relatively less Query Reports or advanced search options.
Therefore I have planed to develop a custom report which comes up to
some special expectations. For this I need some hints and your support because I don' know exactly
where to get some information . Or do you think it is possible to achieve this with existing Function Modules
in EBP like BBP_PD_SC_GETLIST ???
- All SC "have not yet ordered"  or are "Awaiting Approval"
- what is the current status of SC ?
- Who is the next approver or SC has already been ordered
Kind Regards
Marco

Ciao Marco
i think that all the infos which you desire should come from SRM and not from Back-End, isn't it?
In this case you can launch from GUI transaction bbp_pd, bus2121, in order to see the tables where are stored some infos needed by you about ShC. With this infos i'm sure you are able to create Queries
About existing FM: check via se37 all bbp_pdget FM. There you can find something
regards
andrea

Similar Messages

  • SRM-Empty receiving date propriety for shopping card confirmation Emails

    Hello Experts,
    We have SRM V7
    We are facing an issue when user confirm a shopping card via email.
    In fact when he validate the request the sent confirmation is stored in outlook with propriety receiving date = None.
    As far as I know the mail generated by SRM application must have a valid "send " and "receive" date/time.
    We don't know if we are facing an outlook issue or an SRM issue.
    Do you have an idea about this issue and how to solve it?
    Thank you in advance,
    Moez

    Hi DamianALugo,
    This is just unacceptable, and if this was my purchase I would be equally upset. If an employee promises a call to a customer they should be making that call, and you should have been given an accurate explanation as to why these deliveries were being rescheduled.
    The only times a BestBuy.com order would be automatically cancelled by us would be if it was set to be picked up in one of our stores, and it wasn’t picked up in a timely manner; the only other time would be if an order was on backorder for a period of time without the customer requesting us to extend this backorder.
    Is there anything specific I can do to get this resolved for you? If so, post back to this thread or send me a private message with what you need. I promise to do what I can to get you any resolution you are seeking. To send me a private message click on the link in my signature.
    Thanks for posting,
    Allan|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Open item in PS reporting for shop floor order (same as PO's or PR's)

    Hi Guys,
    I have a question simple but I could till now find any solution in standard Report Writer or in Report Painter and I donu2019t want to create a specific report with an ABAP.
    In the system we have set quit complex projects with WBS, Networks and Activities. In each project there are also material which are standard material consumed from collective stock and specific material produced internally or purchased externally. The specific material are consumed through specific stock project.
    In Report Painter/Writer there are ratios for the open line items for purchase orders or requisitions but I am not able to find the same values for the shop floor orders made internally. Further I get the values for the planned shop floor orders and of course the complete actual (coming from both requirements) but I will know what are the values which are between (nat yet actual and plan).
    Has anybody already faced this situation or do anyone the solution to my problem?
    I thank you for your replies.
    Best regards

    Hi
    Please use table EKAB for your search instead of using EBAN Or EKKO
    Thanks & Regards
    Kishore

  • Cash Advance report

    Dear All,
    Please provide me with the standard  cash advance report for Travel management.
    Regards,
    Raziq

    Aslam-o-Alikum,
    Hi Raziq,
    If you want to check cash advance in travel module then you can use following reports.
    Advance amounts are included with other expense types as well..
    S_AHR_61016405 - General Trip Data/Totals/Receipts/Cost Assignment
    PTRV_PAYMENT_HISTORY - Determine FI Payment Date
    Regards,
    Muhammad Umer

  • UCCX 7 - Advanced Reporting - Grade of Service Realtime Report

    Is there any sample of what DB fields would be required to build/calculate an Advanced Report for seeing Grade of Service (GoS) for a particular CSQ?
    Since there is nothing in the Supervisor Agent to display this, can it be built using the Advanced Reporting capabilities (w/DB Schema documents) of UCCX?
    Thanks
    Pete

    Hi
    All looks good to me - SingleSelection is valid I think, certainly works on my 8.x system.
    I would take a look at one of the 'Interval' reports - for example Agent State Summary by Interval. The selection of the interval is done using a SingleSelection DBListToList, but with static items. If that appears as a drop down, then the element works. If not, there may be a bug with your HRC client. I'm pretty sure this option has been supported for a long time.
    In that case you can take a backup copy of that XML definition, and replace the 'ListOption' elements with your single 'SQL' element in the original file, and see if it populates from the query.
    Only other thing I noticed was your 'SingleSelection' property appears before the GUIComponentName property - might be some weird parser error or something, as the Cisco examples have SingleSelection after GUIComponentName?
    Regards
    Aaron
    Please rate helpful posts...

  • S_ALR_87012357 report - Advance Return for Tax on sales and purchase

    Hi Friends,
    I would like to know few things in regards the VAT report S_ALR_87012357 report - Advance Return for Tax on sales and purchase:
    (1) What information brings the S_ALR_87012357 report?
    (2) As of now this report displays tax against vendor line item and not expense line item. Is there any other report that shows all the positions lines affected to tax?
    (3) Is it possible that the tax line stays only in the expense line account and not in the vendor line account or not any intercompany line account?
    (4) Is it possible S_ALR_87012357 report shows information about the tax allocanted in expense accounts and not in vendor accounts?
    Appreciate a faster response.
    Thanks in advance.

    Please try report S_ALR_87012359. This report gives you opportunity to choose account selection.
    I am unsure how the SAP is setup in your organisation. S_ALR_87012357 should pick up expenses selection as well.
    This report entirely depends on tax code selection.

  • Error in tax report ''S_ALR_87012356'' Advance return for Tax on Sales/Purc

    Hi Experts,
    I was trying to generate a tax report ''S_ALR_87012356'' Advance return for Tax on Sales/Purchase.
    When i am trying to generate the report for input taxes by selecting the Output lists criteria, unfortunately the out put tax(sales tax code data) is also appearing in it.
    Could you please suggest how can we rectify it, I tried looking for SAP notes for it.
    Regards
    Montee

    Hello all
    Is there is any pointers on this issue?
    Thanks & regards,
    Prashant

  • Does SAP ECC6 support advance tax return (rfumsv00)/GST reporting for USA a

    Does SAP ECC6 support advance tax return (rfumsv00)/GST reporting for USA and Canada?

    Hello
    I think it does.
    However please check this
    In some countries, you cannot use the general program for tax returns to create the annual tax return because of specific national reporting requirements. For these countries, SAP delivers additional country-specific programs to meet these reporting requirements.
    For the individual country-specific reports, see the General Ledger menu under Reporting ® Tax Reports.
    The program RFUSVX10 performs the data medium exchange, allowing you to transfer the DME file to a hard drive or diskette. You can find more information on this topic in the program documentation.
    Regards

  • I create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????

    i create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????

    The code they are asking for is the last three digits of the number on the back of the card (you don't use this when using an ATM or presenting the card in shops).

  • Order report for all components & services with plan/actual price

    Dear all Hi,
    I want to see a report which should give me the all the details of components & services cunsumed with their paln& actual costs for a production order, please suggest/help.
    Thanks in advance.

    Hi,
    You can get order wise costing report as following :
    Go to Production-->Shop Floor Control>Information System>Controlling Reports->Product Cost by Order where you will different drilldown options for getting costing report for orders.
    Hope this helps.
    Regards,
    Tejas

  • BW reporting for SRM upgrade

    HI,
    My quetion is, for upgrade fromn EBP2.0 to SRM 5.0, what will be the changes (structural and in tables) that will have to be considered in case of BW reporting?
    Will standard reports in the new version take over automatically (with minimal config) from the older reports in EBP 2.0?
    And also, if we require an BW consultant in a typical upgrade project for the above mentioned scenario, what would his exact role be?
    Thanks in advance!

    Sonali,
    Hi. There are quite a few changes. We are upgrading from EB 3.0 to SRM 5.5 and have been able to eliminate all our bespoke reporting in the old system.
    With the 5.5 system there are two main 'reports' included in the system, and also the analytics reporting in BW. It is dificult to say the standard reports will take over as it is always down to user requirements, unless you are in a position where you can tell your users what to do.
    I configured the 'standard' BW reporting in our system, having never seen BW before, in a week. I wouldn't say you need a BW expert unless, which is usually the case, your users want to modify the SAP standard BW reports. My suggestion is to get any competent ABAP developer and give them the install guide (You can download this as below)
    The main reports in SRM are
    1) Check status report (BBPSC04). You can enhance this to add user defined fields, but its quite limited.
    2) Shopping cart monitor (BBP_MON_SC) - this report can be enhanced quite extensively using standard SAP BADI's see IF_EX_BBP_MON_SC. This is going to be our key report for the 'buyers'.
    There are some interesting documents available for download.
    service.sap.com/instguides
    service.sap.com/srm
    service.sap.com/srm-inst
    Also there is a list of the standard BW reports with 'BI Cont 7.2'. If the users won't be happy with these then you might need a BW person to 'create' a report to their needs. In our case we are going with the SAP standard BW  reports.
    Cheers
    Rob
    Message was edited by: Rob Honeyborne

  • Problem in shopping card filter SRM

    Hi all,
    I triying to filter the list of my shopping cards by period. The problem that if I dont choose any period for selecting the shopping card, it's supposed to get ALL exesting shopping card , but I get only shopping card that have been created in 90 days.
    HAVE you any idea hoa to customise this query in shoping card powl ?
    Cordialy

    Hi Cordialy,
    You mean even though you don't set any criteria in the powl search field "time frame", system still only returns SCs created in the last 90 days?
    You may take a look at the document below of how to identify the powl query you use, and check its Query Parameters in transaction powl_query.
    http://scn.sap.com/docs/DOC-51966
    For example, to set default query search parameters, please:
    1, go to transaction powl_query (you should have edit authorization) and display detail for the query.
    2, Click 'Query Parameters' and set values for search criteria, i.e. Status, Timeframe.
    3, Then accept and save this changes.
    4, In order to make this effective for users, please run report POWL_D01 with the following parameters:
        ======
        APPLID   The corresponding applid
        User        Portal user(if you want to set this for all users, then set it as '*')
        Display   Not ticked
        ======
    Hope it helps you.
    Regards,
    Wendy

  • Report for Qty Contract and Value Contract with PO release exceeding limits

    Hi All,
    Is there a std report in SAP that the users can use to view Qty and Val Contracts that has exceed in Qty (in case of Qty Contracts) or Val (in case of Val Contracts) ?
    Thanks in advance!

    hi Duke,
    If thinking logically, then there is no report for the same..this may be because you enter the qty or value limits in the contract doc itself....So, when you make the PO for the same, and if the qty or value exceeds the system automatically provides the message..stating that the qty or value has exceeded....
    So, there is no report for the same...
    Hope it helps...
    Regards
    Priyanka.P

  • Report for stock statement

    hi guy's,
       i am doing report for the stock statement .... my issue is in MB5B if i reverse some document it shows as it move's to issue QTY and my receipt is same but my closing stock is correct ...is there any std report avalible ....
    thank's in advance

    Use this code :
    TABLES : MSEG,MKPF,MARA,MAKT,BEWART,MSLB,BSIM.
    TYPE-POOLS : SLIS.
    DATA : IT_FLDCAT TYPE SLIS_T_FIELDCAT_ALV,
           IT_LIST_HEADER TYPE SLIS_T_LISTHEADER,
           IT_EVENTS TYPE SLIS_T_EVENT,
           GS_LAYOUT TYPE SLIS_LAYOUT_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV,
           IT_SORT TYPE SLIS_T_SORTINFO_ALV,
           REPID LIKE SY-REPID,
           FRM_DATE(10),TO_DATE(10),
           DISPTEXT(255),DISPTEXT2(255).
    TYPES : BEGIN OF ST_OPBAL,
             MATNR LIKE MSEG-MATNR,
             MAKTX LIKE MAKT-MAKTX,
             BATCH LIKE MSEG-CHARG,
             BWART LIKE MSEG-BWART,
             MENGE LIKE MSEG-MENGE,
             ZEILE LIKE MSEG-ZEILE,
             WERKS LIKE MSEG-WERKS,
             SOBKZ LIKE MSEG-SOBKZ,
             BUDAT LIKE MKPF-BUDAT,
             SHKZG LIKE MSEG-SHKZG,
             DMBTR LIKE MSEG-DMBTR,
             MBLNR LIKE MSEG-MBLNR,
             LGORT LIKE MSEG-LGORT,
           END OF ST_OPBAL.
    DATA : OPBAL TYPE ST_OPBAL OCCURS 0 WITH HEADER LINE,
           TMP_OPBAL TYPE ST_OPBAL OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF BAL_NOREF OCCURS 0,
              MATNR LIKE MARA-MATNR,
              SHKZG LIKE MSEG-SHKZG,
              DMBTR LIKE MSEG-DMBTR,
           END OF BAL_NOREF.
    DATA : BEGIN OF OPBAL2 OCCURS 0,
             SNO(3)      TYPE N,
             MATNR       LIKE MSEG-MATNR,
             MAKTX       LIKE MAKT-MAKTX,
             OP_BAL      LIKE MSEG-MENGE,
             OP_STKVAL   LIKE MSEG-DMBTR,   "NEW
             REC         LIKE MSEG-MENGE,
             T_OPBAL_REC LIKE MSEG-MENGE,
             REC_STKVAL  LIKE MSEG-DMBTR,   "NEW
             ISS         LIKE MSEG-MENGE,
             ISS_STKVAL  LIKE MSEG-DMBTR,   "NEW
             SALES       LIKE MSEG-MENGE,
             T_ISS       LIKE MSEG-MENGE,
             CL_BAL      LIKE MSEG-MENGE,
             BATCH       LIKE MSEG-CHARG,
             SUBCON      LIKE MSEG-MENGE,
             CL_STKVAL   LIKE MSEG-DMBTR,
           END OF OPBAL2.
    DATA  SERNO(4) TYPE C.
    DATA OPTOT  TYPE P DECIMALS 3.
    DATA RECTOT TYPE P DECIMALS 3.
    DATA ISSTOT TYPE P DECIMALS 3.
    DATA TOTALL TYPE P DECIMALS 3.
    DATA FLG        TYPE N.
    DATA FLAG       TYPE N.
    DATA STOCKVAL        TYPE MSEG-DMBTR.
    DATA REC_STOCKVAL    TYPE MSEG-DMBTR.
    DATA ISS_STOCKVAL    TYPE MSEG-DMBTR.
    DATA CL_STKVAL       TYPE MSEG-DMBTR.
    SELECTION-SCREEN BEGIN OF BLOCK X WITH FRAME.
         SELECT-OPTIONS: P_MATNR FOR MSEG-MATNR,
                         P_MGRP  FOR MARA-MATKL,
                         P_DATE FOR MKPF-BUDAT,
         P_PLANT FOR MSEG-WERKS DEFAULT  'NB01' OBLIGATORY NO INTERVALS
                                                    NO-EXTENSION .
         SELECT-OPTIONS: P_STLOC FOR MSEG-LGORT NO INTERVALS NO-EXTENSION.
    SELECTION-SCREEN END OF BLOCK X.
    INITIALIZATION.
       REPID = SY-REPID.
       PERFORM FILL_FLDCAT USING IT_FLDCAT.
       PERFORM FILL_EVENTS USING IT_EVENTS.
       PERFORM FILL_LAYOUT USING GS_LAYOUT.
    START-OF-SELECTION.
      CONCATENATE P_DATE-LOW6(2) '.' P_DATE-LOW4(2) '.' P_DATE-LOW+0(4)
      INTO FRM_DATE.
      CONCATENATE P_DATE-HIGH6(2) '.' P_DATE-HIGH4(2) '.' P_DATE-HIGH+0(4)
      INTO TO_DATE.
      CONCATENATE TEXT-003 FRM_DATE' TO : ' TO_DATE INTO DISPTEXT.
      CONCATENATE TEXT-004 P_PLANT-LOW ' Storage Location : ' P_STLOC-LOW
      INTO DISPTEXT2.
      PERFORM FILL_HEADER USING IT_LIST_HEADER.
      SELECT  A~MATNR
              F~MAKTX
              A~CHARG
              A~BWART
              A~MENGE
              A~ZEILE
              A~WERKS
              A~SOBKZ
              D~BUDAT
              A~SHKZG
              A~DMBTR
              A~MBLNR
              A~LGORT
              INTO TABLE OPBAL
       FROM MKPF AS D JOIN MSEG AS A
               ON DMBLNR = AMBLNR  AND
                  DMJAHR = AMJAHR
            JOIN MARA AS E
               ON EMATNR = AMATNR
            JOIN MAKT AS F
               ON FMATNR = AMATNR
       WHERE   A~MATNR IN P_MATNR
         AND   A~WERKS IN P_PLANT
         AND   A~KZBEW IN (' ','B')
         AND   E~MATKL IN P_MGRP
         AND   A~BWART NOT IN ('541','542','321','322','121')
         AND   A~KZVBR NOT IN ('A')
         AND   D~BUDAT LE P_DATE-HIGH.
    LOOP AT OPBAL WHERE BWART EQ '544' AND LGORT EQ ''.
       TMP_OPBAL = OPBAL.
       APPEND TMP_OPBAL.
    ENDLOOP.
    DELETE OPBAL WHERE ( BWART EQ '309' AND DMBTR EQ 0  ).
    DELETE OPBAL WHERE ( BWART NE '543' AND LGORT EQ '' ).
    LOOP AT TMP_OPBAL.
       OPBAL = TMP_OPBAL.
       APPEND OPBAL.
    ENDLOOP.
    STOCKVAL = 0.
    SORT OPBAL BY MATNR BATCH BUDAT.
    LOOP AT OPBAL.
      SELECT SINGLE LBLAB INTO MSLB-LBLAB FROM MSLB
                            WHERE MATNR = OPBAL-MATNR.
      IF OPBAL-BUDAT LT P_DATE-LOW.
         IF OPBAL-SHKZG = 'H'.
            OPTOT = OPTOT - OPBAL-MENGE.
         ELSEIF OPBAL-SHKZG = 'S'.
            OPTOT = OPTOT + OPBAL-MENGE.
         ENDIF.
    For the duration   II part  *****************
      ELSEIF OPBAL-BUDAT IN P_DATE.
         IF OPBAL-SHKZG = 'H'.
            ISSTOT      = ISSTOT + OPBAL-MENGE.
         ELSEIF OPBAL-SHKZG = 'S'.
            RECTOT = RECTOT + OPBAL-MENGE.
         ENDIF.
      ENDIF.
    AT END OF BATCH. " modified for chek
       READ TABLE OPBAL INDEX SY-TABIX.
       CLEAR BAL_NOREF. REFRESH BAL_NOREF.
       SELECT MATNR SHKZG SUM( DMBTR )
         INTO TABLE BAL_NOREF
         FROM BSIM
        WHERE BUDAT LT P_DATE-LOW  AND
              MATNR EQ OPBAL-MATNR AND
              BWTAR EQ OPBAL-BATCH AND
              BWKEY IN P_PLANT     AND
              BLART IN ('RE','WE','WA','PR')
        GROUP BY MATNR SHKZG.
       LOOP AT BAL_NOREF.
          IF BAL_NOREF-SHKZG = 'H'.
             STOCKVAL = STOCKVAL - BAL_NOREF-DMBTR.
          ELSE.
             STOCKVAL = STOCKVAL + BAL_NOREF-DMBTR.
          ENDIF.
       ENDLOOP.
       CLEAR BAL_NOREF. REFRESH BAL_NOREF.
       SELECT MATNR SHKZG SUM( DMBTR )
         INTO TABLE BAL_NOREF
         FROM BSIM
        WHERE BUDAT IN P_DATE AND
              MATNR EQ OPBAL-MATNR AND
              BWTAR EQ OPBAL-BATCH AND
              BWKEY IN P_PLANT     AND
              BLART IN ('RE','WE','WA','PR')
        GROUP BY MATNR SHKZG.
       LOOP AT BAL_NOREF.
          IF BAL_NOREF-SHKZG = 'H'.
             ISS_STOCKVAL = ISS_STOCKVAL + BAL_NOREF-DMBTR.
          ELSE.
             REC_STOCKVAL = REC_STOCKVAL + BAL_NOREF-DMBTR.
          ENDIF.
       ENDLOOP.
       " MSLB-LBLAB (STOCK WITH SUBCONTRACTOR).
       CL_STKVAL       = STOCKVAL + REC_STOCKVAL - ISS_STOCKVAL.
       TOTALL =  OPTOT + RECTOT - ISSTOT.
       IF OPTOT = '0'   AND RECTOT = '0'  AND ISSTOT = '0'.
          FLG = 1.
       ENDIF.
       IF FLG = 1.
          CLEAR FLG.
       ELSE.
          SERNO = SERNO + 1.
          OPBAL2-SNO         = SERNO.
          OPBAL2-MATNR       = OPBAL-MATNR.
          OPBAL2-MAKTX       = OPBAL-MAKTX.
          OPBAL2-OP_BAL      = OPTOT.
          OPBAL2-REC         = RECTOT.
          OPBAL2-T_OPBAL_REC = OPTOT + RECTOT.
          OPBAL2-ISS         = ISSTOT.
          OPBAL2-T_ISS       = ISSTOT.
          OPBAL2-CL_BAL      = TOTALL.
          OPBAL2-BATCH       = OPBAL-BATCH.
          OPBAL2-SUBCON      = MSLB-LBLAB.
          OPBAL2-OP_STKVAL   = STOCKVAL.
          OPBAL2-ISS_STKVAL  = ISS_STOCKVAL.
          OPBAL2-REC_STKVAL  = REC_STOCKVAL.
          OPBAL2-CL_STKVAL   = CL_STKVAL.
          APPEND OPBAL2.
       ENDIF.
      OPTOT = 0.
      RECTOT = 0.
      ISSTOT = 0.
      STOCKVAL = 0.
      ISS_STOCKVAL = 0.
      REC_STOCKVAL = 0.
      CL_STKVAL    = 0.
    ENDAT.
    ENDLOOP.
      WA_SORT-SPOS = 1.
      WA_SORT-FIELDNAME = 'MATNR'.
      WA_SORT-UP = 'X'.
    WA_SORT-SUBTOT = 'X'.
    APPEND WA_SORT TO IT_SORT.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM = REPID
          IT_FIELDCAT        = IT_FLDCAT
          IT_EVENTS          = IT_EVENTS
          IS_LAYOUT          = GS_LAYOUT
          IT_SORT            = IT_SORT
        TABLES
          T_OUTTAB           = OPBAL2.
    FORM FILL_FLDCAT USING P_FLDCAT TYPE SLIS_T_FIELDCAT_ALV.
       PERFORM FILL_PARAM_FLDCAT USING  1 'SNo'          'SNO'       ' ' 'X'
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  2 'Material No.' 'MATNR'     ' ' 'X'
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  3 'Description'  'MAKTX'     ' ' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  4 'Op.Bal'      'OP_BAL'     'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  5 'Op.Stock Val' 'OP_STKVAL' 'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  6 'Receipts'     'REC'       'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  7 'Total'     'T_OPBAL_REC'  'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  8 'Rect.Val.' 'REC_STKVAL'   'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING  9 'Issues'    'ISS'          'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING 10 'Iss. Val.' 'ISS_STKVAL'   'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING 11 'Cl. Bal.'     'CL_BAL'    'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING 12 'Cl.Stock Val' 'CL_STKVAL' 'X' ' '
       'OPBAL2' P_FLDCAT.
       PERFORM FILL_PARAM_FLDCAT USING 13 'BATCH '       'BATCH'     ' ' ' '
       'OPBAL2' P_FLDCAT.
    ENDFORM.
    FORM FILL_PARAM_FLDCAT USING VALUE(P_COL) VALUE(P_TEXT) VALUE(P_FLDNAME)
                           VALUE(P_DOSUM) VALUE(P_NOZERO) VALUE(P_TABNAME)
                           PP_FLDCAT TYPE SLIS_T_FIELDCAT_ALV.
       DATA : WA_FLDCAT TYPE SLIS_FIELDCAT_ALV.
       CLEAR WA_FLDCAT.
         WA_FLDCAT-COL_POS   = P_COL.
         WA_FLDCAT-SELTEXT_M = P_TEXT.
         WA_FLDCAT-FIELDNAME = P_FLDNAME.
         WA_FLDCAT-TABNAME   = P_TABNAME.
         WA_FLDCAT-DO_SUM    = P_DOSUM.
         WA_FLDCAT-NO_ZERO   = P_NOZERO.
       APPEND WA_FLDCAT TO PP_FLDCAT.
    ENDFORM.
    FORM FILL_HEADER USING P_IT_LIST_HEADER TYPE SLIS_T_LISTHEADER.
      DATA: LS_LINE TYPE SLIS_LISTHEADER.
      CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-INFO = TEXT-002.
      APPEND LS_LINE TO P_IT_LIST_HEADER.
      CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-INFO = DISPTEXT.
      APPEND LS_LINE TO P_IT_LIST_HEADER.
      CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-INFO = DISPTEXT2.
      APPEND LS_LINE TO P_IT_LIST_HEADER.
    ENDFORM.
    FORM FILL_EVENTS USING P_IT_EVENTS TYPE SLIS_T_EVENT.
       DATA LS_EVENT TYPE SLIS_ALV_EVENT.
       MOVE 'TOP_OF_PAGE' TO LS_EVENT-FORM.
       MOVE 'TOP_OF_PAGE' TO LS_EVENT-NAME.
       APPEND LS_EVENT TO P_IT_EVENTS.
    ENDFORM.
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         IT_LIST_COMMENTARY       = IT_LIST_HEADER.
    ENDFORM.
    FORM FILL_LAYOUT USING P_GS_LAYOUT TYPE SLIS_LAYOUT_ALV.
       P_GS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
       P_GS_LAYOUT-ZEBRA             = 'X'.
       P_GS_LAYOUT-FLEXIBLE_KEY      = 'X'.
    ENDFORM.
    FOR TESTING PURPOSE.
    *SORT OPBAL BY BUDAT.
    *CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM = REPID
         IT_FIELDCAT        = IT_FLDCAT
         IT_EVENTS          = IT_EVENTS
       TABLES
         T_OUTTAB           = OPBAL.
    *FORM FILL_FLDCAT USING P_FLDCAT TYPE SLIS_T_FIELDCAT_ALV.
      PERFORM FILL_PARAM_FLDCAT USING  1 'MBLNR'        'MBLNR'
      'OPBAL' P_FLDCAT.
      PERFORM FILL_PARAM_FLDCAT USING  2 'CREDIT/DEBIT' 'SHKZG'
      'OPBAL' P_FLDCAT.
      PERFORM FILL_PARAM_FLDCAT USING  3 'MOV.TYP.'     'BWART'
      'OPBAL' P_FLDCAT.
      PERFORM FILL_PARAM_FLDCAT USING  4 'ST.LOC.'     'LGORT'
      'OPBAL' P_FLDCAT.
      PERFORM FILL_PARAM_FLDCAT USING  5 'STOCK VAL'    'DMBTR'
      'OPBAL' P_FLDCAT.
      PERFORM FILL_PARAM_FLDCAT USING  6 'POS.DATE'     'BUDAT'
      'OPBAL' P_FLDCAT.
    *ENDFORM.

  • Error while scheduling report for SAP users

    Hi All,
    We have SAP authentication enabled in our BO environment. (BO XI 3.1 sp2 FP 2.6 on windows 2003 server).
    There are some webi reports based on BW Bex queries that we are trying to run on behalf of certain SAP end users. This we are doing using "schedule for" option.
    Now what is happening here is if the end user has logged in once in BO system ,it runs fine. But in case user has not logged in to BO (using infoview etc.) ,it throws error saying "incomplete logon data" . Also if user changes or reset his password in BW and if he doesn't login to infoview after that ,system throws another error "Name or password incorrect (repeat logon)".
    Based on these observation, we are suspecting if BO system uses stored SAP users credentials while scheduling report for them based on their last login.
    Would like to mention here that we have checked option "automatically import users".
    Please advice if this behavior is normal or we are missing some setting.
    Thanks in advance,
    Chandra

    Hi All,
    Any pointers or suggestions for this issue ??
    Is there a setting/option avialable in CMC which could resolve these errors.
    Or, user has to login once to infoview in all circumstances to avoid these errors.
    Thanks,
    Chandra

Maybe you are looking for

  • Google chrome no longer working properly after 10.9 upgrade

    google chrome no longer starts when logged in as my normal (admin priveliged) user, but still works when logged in as Guest. this started happening since OS X 10.9. Any ideas?

  • IPhoto Book Sharing

    I have prepared several books of pictures after taking trips and they are very well done. We order one copy and show it to friends who enjoy looking at it. My question is can I post the photo book file on a web site so other relatives and friends aro

  • Day 6 without TV service

    We just had FiOS installed on September 19th. The internet side of the service has been great. Unfortunately, the TV side failed 9 days later on the 19th with a "channels unavailable" message on every channel. I went through the troubleshooting steps

  • Why does Firefox delete files from my Drafts? Can I stop it?

    I get messages saying Firefox has deleted x number of files from th Drafts folder when I really want to keep them.

  • Apple TV & iTunes Match

    Why am I unable to sign in to iTunes Match on Apple TV?