LO cockpit (maintaince)

Hi all,
Can any body tell me what is use of
"<b>Maintaince</b>"(Maintainece  2LIS_02_HDR  Active) in the Lo-**** pit customising screen(LBWE) What happens when we click and select the feilds in it? Should we transfer the feilds to the left or right? what are the feilds on left side indicate what are on the right indicate
Thanks in advance,
Indudhar

Hi,
"Maintenance" is where you maintain you Extract structure for your data source. When you click on this you will see a Extract Structure on the left side and Communication structure on the right side. You maintain fields like add/ remove from/to extract structure. When you do this and save, you can see that your extract strutre is saved and the traffic light for the data source will turn Red. You need to generate the data source with this extract structure.
Regards,
Srini

Similar Messages

  • Creation of Maintaince View

    Hi,
    I would like to create a Maintaince View. In SE11 I selected View option after that I selected Maintaince View option. Then I have given the Name of the table . But it is taking only one table name. remaing fields are in the disable mode.
    How to create a Maintaince View for a table?
    Is there any differece between table maintaince generator and Maintaince view for a table or both or same for a single table ?
    What is the use real use of mainataince view ?
    Regards,
    Satya

    create a maintanance view using two tables using default navigations and activate (ignore wornings)
    click on "utilities"menu.
    table maintanance generator
    opens an interface,set the authourization group as "ates"
    specify name of function group(name of the function group)where code should be generated
    select the maintanance type as "one step"
    specify the screen number(s11) in overview screen field
    click on "create" from application toolbar
    save the objects under a package with request number
    add prompts a message as "request completed without errors".
    this view cant be accessed directly by abap reports,as these are designed for mpp.
    test the maintanance view code created properly or not using "se54" tcode.
    regards,
    usha.

  • What is the diffrence between LIS and LO Cockpi

    Hello All,
    What is the diffrence between LIS and LO **** pit.
    Regards,
    Lisa

    Hi Lisa,
    take a look to my weblog to have more info...
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    Hope it helps!
    Bye,
    Roberto

  • BI Admin Cockpit - Portal Runtime Error

    Hi,
    We have BI 7.0 (NW 7.0 with EHP1) BI_CONT 704. It is a dual stack (ABAP+JAVA) installation.
    We have deployed "BI Administration 1.0" on the java stack. All the configurations are done as per notes.
    Error is faced when trying to access BI Admin cockpit from portal.
    When we click on BI Administration -> Data Load Status it should load two selector iViews in the left hand pane but it gives error.
    Error message is given below:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 03:02_06/08/10_0022_406159550
    Refer to the log file for details about this exception.
    Please help.
    Regards,
    Yaitn

    Default trace is attached herewith:
    #1.5 #001A64594CA200360000001100000CEC00048D20941D9F94#1281070970280#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#A100678#8809##GLBWI741_BC1_406159550#A100678#5c89db70a11711df87a4001a64594ca2#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception ID:03:02_06/08/10_0022_406159550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.sap.portal.layouts.framework.dynNavArea
    Component class : com.sapportals.portal.pb.layout.PageLayout
    User : A100678
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.pb.layout.PageLayout.doContent(PageLayout.java:82)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.pb.PageBuilder.includeLayout(PageBuilder.java:1038)
         at com.sapportals.portal.pb.PageBuilder.doContent(PageBuilder.java:517)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.DynamicNavigationArea.doContent(DynamicNavigationArea.java:65)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:116)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 31 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         ... 34 more
    #1.5 #001A64594CA200360000001300000CEC00048D20941DA66C#1281070970280#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#A100678#8809##GLBWI741_BC1_406159550#A100678#5c89db70a11711df87a4001a64594ca2#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error##Java###03:02_06/08/10_0022_406159550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2215)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.pb.layout.PageLayout.doContent(PageLayout.java:82)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.pb.PageBuilder.includeLayout(PageBuilder.java:1038)
         at com.sapportals.portal.pb.PageBuilder.doContent(PageBuilder.java:517)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.DynamicNavigationArea.doContent(DynamicNavigationArea.java:65)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2206)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:680)
         at com.sapportals.portal.pb.layout.PageLayout.doContent(PageLayout.java:82)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.pb.PageBuilder.includeLayout(PageBuilder.java:1038)
         at com.sapportals.portal.pb.PageBuilder.doContent(PageBuilder.java:517)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
         at com.sapportals.portal.navigation.DynamicNavigationArea.doContent(DynamicNavigationArea.java:65)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)

  • I dont see Roles tab in my hana cloud platform cockpit

    hi All,
    Can anyone help as to why i don't get roles tab in my hana cloud platform cockpit. I have attached the screenshot for your reference.
    thanks,
    Anu

    hi anu
    you can create a sub package for roles in conent->user->data.
    and can create file like user.hdbrole, admin.hdbrole,, etc
    or Go to Services content menu > HCI OData Provisioning > Manage Roles.

  • I dont see 2lis_03_BX what should be the problem in LO cockpit?

    hi gurus,
    I dont find or see STock initialization 2LIS_03_BX data source in my LO cockpit or in RSA6 Tx screen, instead i find 2lis_40_s278.. what should i do to activate 2lis_03_bx data source and not with the above 2lis_40_s278...I am using R/3 4.7E as a source system
    thanks,
    kishore

    Praveen
    Install the DS usingt RSA5 and then only it will be visible in RSA6.
    Please follow the procedure mentioned in "How to inventory " ...the link is as follows -
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Hope this helps
    Regards
    Pradip

  • Purchase Order error message when on Sourcing Cockpit.

    Hi All,
    I have encountered a series of error messages when I try to convert my Shopping Cart into a Purchase Order in SRM 5 within the Sourcing Cockpit. I am using Extended Classic Scenario and have defined the number range in SRM and ECC5. The error messages are below, the moment i try to concert the cart to a Po;
    - Internal number range is missing for transaction type. Inform syst. admin    
    - Transaction type * does not exist. Check entries    
    - Some backend documents could not be generated, or they contain errors  Further Information 
    - No status object is available for 
    I have checked the transaaction type, number ranges assignments, attributes in PPOMA_BBP but fail to find the cause.
    Any pointers would be welcome!
    Thnx,
    Mike

    Hi Muthu,
    The number ranges are consistent as I have checked the number range for local purchase order and this is set as an internal between the range 3000000000 - 3999999999. On the transaction type for BUS2201 Purchase Order, 30 has been set as the Int Number Range, with all other fields left blank.
    The strange thing is that the documents that failed to convert into a PO had been reprocessed in the Application Monitor for Purchase Orders, but when I go back into Sourcing to create the PO, I now get the message:
    "You have either failed to select an item, or you cannot create a follow-on document due to an error that has occurred"
    Regards
    Mike,

  • PO qty reduced who brings the cart into cockpit

    Hi all
    scenario
    sc created with 2 qty
    PO created by Buyer 2 qty via cockpit .
    Again Buyer received a call from requestor that requestor needs only 1 qty rather than 2.
    then again BUYER changed the qty to 1 from 2 via me23n. Now again shopping cart venture into cockpit due to mismatch between sc qty and PO qty .
    no good receipt done so far since so far buyer did not send the PO to vendor.
    how sc comes to cockpit after some time? who is really doing this wotk get status - variant which data plays important role here. or clean job brings... confusion.
    can you clarify this trivial things to me..
    sc folow on docuemnts updates with PO qty as 1 . but still sc did not come to cockpit.
    i am sure it will come shortly i.e sc comes to cockpit. i wanted to who does this job?
    if possible answer this.
    item guid and header guid sc where it stored in ECC table. i am pretty sure , they were stored in some tables.
    br
    Muthu

    PR -2 qty --> soco -> sc 2 qty --> PO 2 Qty -->changed to PO 1 QTY
    status run and clean run well.
    still i am looking for this sc 1 qty in the cockpit. Waitinting and waiting...
    Muthu
    works
    sc 2 qty -PO 2 Qty -
    po 1 qty -
    sc comes to cockpit.
    SG:- Stop the get status job . reduce the PO qty 1 from 2 qty thought the sc comes to cockpit. inscrutable.
    thanks
    Finally, I tried putting 0 in last.. days and running BBP_GET_STATUS_2 in debug mode. From what I see it is looking at all the SC's in the system and trying to update status for each of them. We normally run this job with 30 days on a hourly basis.
    Yes. during that time all locks will happen .did you notice in sm12 . no one can perform any activity.
    i am looking for dalily updates happened in ECC and it must be updated in SRM - with which variant.
    since i ahve some special request .
    kindly advise.
    How long it took in production . hope it may take lot of time. i am interested to know when do you run this job ? at night no business hours ..since our volume of carts are more...it runs more than 3000 secs in testing envt it self.
    Muhtu

  • LO Cockpit & 0SD_C03

    Hello Experts. I am asking this question again as I didn't get any answers last time.
    I am creating a report that will have Open Orders, Sales Orders and Deliveries.
    For my open orders, I want to see:
    1.sales orders or the deliveries, which are not billed
    2.deliveries which are not goods issued
    3.sales order which are confirmed, but not delivered
    4. Or any other type of open order.
    I need to know what are the Data Sources in LO Cockpit that I need to activate?
    These data sources will be feeding the cube 0SD_C03.
    According to my research, I hace listed the following datasources:
    2LIS_11VAHDR
    2LIS_11_VAITM
    <u>2LIS_11_V_ITM</u>
    2LIS_11_V_SCL
    <u>2LIS_11_V_SSL</u>
    2LIS_12_VAHDR
    2LIS_12_VCITM
    <u>2LIS_12_VCSCL</u>
    2LIS_13_VDITM
    2LIS_13_VDHDR
    I am having serios doubts about using the underlined datasources.
    Any help will be greatly appreciated.
    Thanks.
    Janet

    Hi...From my own experience i recommend you to activate the possible datasources that you think could be useful for you...and run the RSA3 transaction in order to see if any of them beings the data you need....
    check the Help.sap.com in order to see tha structure for every datsource
    Regards

  • DBA COCKPIT error when scheduling a job

    hi experts
    Iam trying to schedule some jobs in DB13 when i try to add the action i get this error:
    DBA Cockpit Error
    Acces to system SID failed
    Function Unit DB6_PLAN_DD_BATCH
    Reason job error
    iam able to run these jobs externally directly from DBM.
    I have checked some notes 1072066,1057855,927642 and they are all refering to MS SQL Server as the database.Iam running ERP6 on Maxdb 7.6
    Any help appreciated

    hi
    > dbmcli inst_enum
    OK
    7.6.00.35    /sapdb/BT1/db
    dbmcli db_enum
    OK
    BT1     /sapdb/BT1/db                           7.6.00.35       fast    running
    BT1     /sapdb/BT1/db                           7.6.00.35       quick   offline
    BT1     /sapdb/BT1/db                           7.6.00.35       slow    offline
    BT1     /sapdb/BT1/db                           7.6.00.35       test    offline
    xinstinfo BT1-MAXDB
    IndepData           : /sapdb/data
    IndepPrograms       : /sapdb/programs
    Installationpath of serverdb <BT1-MAXDB> not found!
    ERR 20010  RTE      Could not open file /sapdb/data/config/BT1-MAXDB for read, rc = 2
    sdbregview -l
    DB Analyzer         /sapdb/programs    7.6.00.35     32 bit    valid
    Server Utilities    /sapdb/programs    7.6.00.35     32 bit    valid
    PCR 7300            /sapdb/programs    7.3.00.55               valid
    PCR 7301            /sapdb/programs    7.3.01.18               valid
    PCR 7500            /sapdb/programs    7.5.00.37     32 bit    valid
    SAP Utilities       /sapdb/programs    7.6.00.35     32 bit    valid
    Base                /sapdb/programs    7.6.00.35     32 bit    valid
    Redist Python       /sapdb/programs    7.6.00.35     32 bit    valid
    JDBC                /sapdb/programs    7.6.00.30               valid
    Messages            /sapdb/programs    MSG 0.3951              valid
    ODBC                /sapdb/programs    7.6.00.35     32 bit    valid
    Database Kernel     /sapdb/BT1/db      7.6.00.35     32 bit    valid
    Loader              /sapdb/programs    7.6.00.35     32 bit    valid
    SQLDBC              /sapdb/programs    7.6.00.35     32 bit    valid
    SQLDBC 76           /sapdb/programs    7.6.00.35     32 bit    valid
    Fastload API        /sapdb/programs    7.6.00.35     32 bit    valid
    PCR 7403            /sapdb/programs    7.4.03.44     32 bit    valid
    SAP Basis component  SAPKB70011
    db59 there are no errors log says all 4 tests  successfull.

  • How to include maintaince view in da report

    I did a report for Audit – Inventory Ageing Company-wise Summary i am getting the output of the report well. what I need is that i should include a field WGBEZ of the maintaince view V023 so that to display material group description. where & how should i write the code in my code. kindly give suggestions. i here with attaching my code.
    Title       : Aged Stock
    Description : 'Audit – Inventory Ageing Company-wise Summary’
    REPORT ZMMR0024MOD LINE-SIZE 170 NO STANDARD PAGE HEADING .
    TYPE-POOLS : SLIS.
    TABLES : T001,
             T023,
             T001K,
             MARA,
             marv,
             MAKT,
             MBEW,
             MSEG,
             ekpo.
    Constants
    CONSTANTS : GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE
    'TOP_OF_PAGE'.
    Internal Tables
    DATA  :  BEGIN OF GT_FINAL OCCURS 0,
             MATKL LIKE MARA-MATKL,
             MATNR LIKE MARA-MATNR,
            WGBEZ LIKE V023-WGBEZ,
             LBKUM LIKE MBEW-LBKUM,
             tot_val type p decimals 2,
             MAKTX LIKE MAKT-MAKTX,
             tot_amt type p decimals 2,
             price type p decimals 2,
             meins like mara-meins,
             END OF GT_FINAL,
             DETAIL_FINAL LIKE GT_FINAL OCCURS 0 WITH HEADER LINE.
    DATA  :  BEGIN OF MAT_FINAL OCCURS 0,
             MATKL LIKE MARA-MATKL,
             TOT_VAL LIKE MSEG-MENGE,
             TOT_AMT LIKE MBEW-SALK3,
             PRICE LIKE MBEW-SALK3,
             meins like mara-meins,
             END OF MAT_FINAL.
    DATA :   BEGIN OF I_MARA OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MATKL LIKE MARA-MATKL,
             MAKTX LIKE MAKT-MAKTX,
             WGBEZ LIKE V023-WGBEZ,
             MEINS LIKE MARA-MEINS,
             LBKUM LIKE MBEWH-LBKUM,
             TOT_AMT LIKE MBEW-SALK3,
             END OF I_MARA.
    DATA :   BEGIN OF I_MKPF_MSEG OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MBLNR LIKE MSEG-MBLNR,
             ZEILE LIKE MSEG-ZEILE,
             MENGE LIKE MSEG-MENGE,
             BWART LIKE MSEG-BWART,
             BUDAT LIKE MKPF-BUDAT,
             NET_VAL LIKE MSEG-MENGE,
             ebeln like mseg-ebeln,
             ebelp like mseg-ebelp,
             lfbnr like mseg-lfbnr,
             lfpos like mseg-lfpos,
             SHKZG LIKE MSEG-SHKZG,
             meins like mara-meins,
             END OF I_MKPF_MSEG,
             WA_TEMP LIKE I_MKPF_MSEG.
    DATA :   BEGIN OF I_MBEWH OCCURS 0,
             MATNR LIKE MARA-MATNR,
             LBKUM LIKE MBEW-LBKUM,
             SALK3 LIKE MBEW-SALK3,
             BWKEY LIKE MBEW-BWKEY,
             END OF I_MBEWH.
    DATA :   I_MBEWH1 LIKE I_MBEWH OCCURS 0 WITH HEADER LINE.
    DATA :   BEGIN OF I_TEMP OCCURS 0,
             MATNR LIKE MARA-MATNR,
             NET_VAL LIKE MSEG-MENGE,
             meins like mara-meins,
             END OF I_TEMP.
    RANGES : RANGE_WERK FOR T001W-WERKS,
             RANGE_DATE FOR SY-DATUM,
             S_BWTAR FOR BWTAR.
    DATA :  PERIOD LIKE  BAPI0002_4-FISCAL_PERIOD,
            FISCAL_YEAR LIKE  BAPI0002_4-FISCAL_YEAR,
            CUR_VAL LIKE MSEG-MENGE,
            NET_VAL LIKE MSEG-MENGE,
            TOT_VAL LIKE MSEG-MENGE,
            TOT_QTY LIKE MSEG-MENGE,
            TOT_AMT1 LIKE MBEW-SALK3,
            RES_DATE LIKE SY-DATUM,
            NUM LIKE MBEW-SALK3,
            UOM LIKE MARA-MEINS.
    Data declarations for alv
    DATA : GV_PAGE TYPE N VALUE 0.
    DATA : GT_FIELDCAT         TYPE SLIS_T_FIELDCAT_ALV,
           GT_SORT             TYPE SLIS_T_SORTINFO_ALV,
           GT_FILTER           TYPE SLIS_T_FILTER_ALV,
           GT_SP_GROUP         TYPE SLIS_T_SP_GROUP_ALV,
           GT_EVENTS           TYPE SLIS_T_EVENT WITH HEADER LINE,
           GV_REPID            LIKE SY-REPID,
           GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
           GV_SAVE(1)          TYPE C,
           GT_VARIANT          LIKE DISVARIANT,
           GV_DOMNAME          LIKE DD07V-DOMNAME,
           GV_DOMVAL           LIKE DD07V-DOMVALUE_L,
           GW_FIELDCAT         TYPE SLIS_FIELDCAT_ALV.
    Selection screen
    SELECTION-SCREEN BEGIN OF BLOCK SEL WITH FRAME TITLE TEXT-001.
    PARAMETERS     : GS_BUKRS LIKE T001K-BUKRS OBLIGATORY.
    SELECT-OPTIONS : GS_MATKL FOR MARA-MATKL,
                     GS_MATNR FOR MARA-MATNR.
    PARAMETERS     : gs_ped like s031-spmon OBLIGATORY,
                     GS_DAYS(3) TYPE n,
                     MG1 RADIOBUTTON GROUP GR1,
                     MT2 RADIOBUTTON GROUP GR1.
    SELECTION-SCREEN END OF BLOCK SEL.
    Validations on selection screen
    AT SELECTION-SCREEN ON GS_BUKRS.
      PERFORM F00_VALIDATE_COMPANY_CODE.
    AT SELECTION-SCREEN ON GS_MATKL.
      IF NOT GS_MATKL[] IS INITIAL.
        PERFORM F01_VALIDATE_MATERIAL_GROUP.
      ENDIF.
    AT SELECTION-SCREEN ON GS_MATNR.
      IF NOT GS_MATNR[] IS INITIAL.
        PERFORM F01_VALIDATE_MATERIAL.
      ENDIF.
    AT SELECTION-SCREEN ON GS_days.
      if gs_days = ''.
        gs_days = 0.
      endif.
    START-OF-SELECTION.
      GV_REPID = SY-REPID.
      PERFORM F20_EVENTTAB_BUILD CHANGING GT_EVENTS[].
      PERFORM F30_SELECT_PRIMARY_DATA.
      IF MG1 = 'X'.
        PERFORM F11_DATA_FORMAT_GROUP.
        PERFORM F50_MATERIAL_GROUP_DATA.
        PERFORM F40_DISPLAY_REPORT TABLES MAT_FINAL.
      ELSEIF MT2 = 'X'.
        PERFORM F10_DATA_FORMAT_MAT.
        PERFORM F40_DISPLAY_REPORT TABLES GT_FINAL.
      ENDIF.
    *&      Form  F20_EVENTTAB_BUILD
    FORM F20_EVENTTAB_BUILD CHANGING LT_EVENTS TYPE SLIS_T_EVENT.
      CONSTANTS:  LC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE
                  'TOP_OF_PAGE',
                  LC_FORMNAME_USER_COMMAND TYPE SLIS_FORMNAME VALUE
                  'USER_COMMAND'.
      DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE = 0
        IMPORTING
          ET_EVENTS   = LT_EVENTS.
    note : lt_events has all the events
      READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
      INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        APPEND LS_EVENT TO LT_EVENTS.
      ENDIF.
      READ TABLE LT_EVENTS WITH KEY NAME =   SLIS_EV_USER_COMMAND
      INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE LC_FORMNAME_USER_COMMAND TO LS_EVENT-FORM.
        APPEND LS_EVENT TO LT_EVENTS.
      ENDIF.
    ENDFORM.                    "F20_EVENTTAB_BUILD
    *&      Form  F12_E04_COMMENT_BUILD
    FORM F12_E04_COMMENT_BUILD USING E04_LT_TOP_OF_PAGE TYPE
    SLIS_T_LISTHEADER.
      DATA : LS_LINE TYPE SLIS_LISTHEADER,
             LV_TEXT(100) TYPE C,
             LV_DAYLOW(2) TYPE C,
             LV_MONTHLOW(2) TYPE C,
             LV_YEARHIGH(4) TYPE C,
             LV_DAYHIGH(2) TYPE C,
             LV_MONTHHIGH(2) TYPE C,
             LV_YEARLOW(4) TYPE C,
             LV_DATFORMAT1(10),
             LV_DATFORMAT2(10).
      CONCATENATE  'Company Code :' ' '  GS_BUKRS
      INTO LV_TEXT SEPARATED BY SPACE.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = LV_TEXT.
      APPEND LS_LINE TO E04_LT_TOP_OF_PAGE.
      CLEAR LV_TEXT.
      IF NOT GS_MATKL[] IS INITIAL.
        IF GS_MATKL-HIGH IS INITIAL AND NOT GS_MATKL-LOW IS INITIAL.
          CONCATENATE  'Material Group :' ' '  GS_MATKL-LOW
          INTO LV_TEXT SEPARATED BY SPACE.
        ELSE .
          CONCATENATE  'Material Group :' GS_MATKL-LOW ' to'
          GS_MATKL-HIGH INTO LV_TEXT SEPARATED BY SPACE.
        ENDIF.
      ENDIF.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = LV_TEXT.
      APPEND LS_LINE TO E04_LT_TOP_OF_PAGE.
      CLEAR LV_TEXT.
      IF NOT GS_MATNR[] IS INITIAL.
        IF GS_MATNR-HIGH IS INITIAL AND NOT GS_MATNR-LOW IS INITIAL.
          CONCATENATE  'Material :' ' '  GS_MATNR-LOW
          INTO LV_TEXT SEPARATED BY SPACE.
        ELSE .
          CONCATENATE  'Material :' GS_MATNR-LOW ' to'
          GS_MATNR-HIGH INTO LV_TEXT SEPARATED BY SPACE.
        ENDIF.
      ENDIF.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = LV_TEXT.
      APPEND LS_LINE TO E04_LT_TOP_OF_PAGE.
      CLEAR LV_TEXT.
    LV_YEARLOW  = gs_ped+0(4).
    LV_MONTHLOW = gs_ped+4(2).
    LV_DAYLOW   = gs_ped+6(2).
    CONCATENATE LV_DAYLOW LV_MONTHLOW LV_YEARLOW INTO LV_DATFORMAT1
    *SEPARATED BY '.'.
      CONCATENATE  'Key month : ' gs_ped
      INTO LV_TEXT SEPARATED BY SPACE.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = LV_TEXT.
      APPEND LS_LINE TO E04_LT_TOP_OF_PAGE.
      CLEAR LV_TEXT.
      CONCATENATE  'Number of days :' ' '  GS_DAYS
      INTO LV_TEXT SEPARATED BY SPACE.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = LV_TEXT.
      APPEND LS_LINE TO E04_LT_TOP_OF_PAGE.
      CLEAR LV_TEXT.
      GV_PAGE = GV_PAGE + 1.
      CONCATENATE  'PAGE NO : ' ' '  GV_PAGE
      INTO LV_TEXT SEPARATED BY SPACE.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = LV_TEXT.
      APPEND LS_LINE TO E04_LT_TOP_OF_PAGE.
    ENDFORM.                    "F12_E04_COMMENT_BUILD
          FORM TOP_OF_PAGE                                              *
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  validate_sales_organization
          text
    FORM F00_VALIDATE_COMPANY_CODE .
      SELECT SINGLE BUKRS
          FROM T001
          INTO T001-BUKRS
          WHERE BUKRS = GS_BUKRS.
      IF SY-SUBRC = 0.
      ELSE.
        MESSAGE E000(ZCBOM) WITH 'Please enter the valid material group'.
      ENDIF.
    ENDFORM.                    " validate_sales_organization
    *&      Form  VALIDATE_PLANT
          text
    -->  p1        text
    <--  p2        text
    FORM F01_VALIDATE_MATERIAL_GROUP.
      SELECT SINGLE MATKL
          FROM T023
          INTO T023-MATKL
          WHERE MATKL IN GS_MATKL.
      IF SY-SUBRC = 0.
      ELSE.
        MESSAGE E000(ZCBOM) WITH 'Please enter the valid material group'.
      ENDIF.
    ENDFORM.                    " VALIDATE_PLANT
    *&      Form  VALIDATE_MATERIAL
          text
    -->  p1        text
    <--  p2        text
    FORM F01_VALIDATE_MATERIAL.
      SELECT SINGLE MATNR
          FROM MARA
          INTO MARA-MATNR
          WHERE MATNR IN GS_MATNR.
      IF SY-SUBRC = 0.
      ELSE.
        MESSAGE E000(ZCBOM) WITH 'Please enter the valid material '.
      ENDIF.
    ENDFORM.                    " VALIDATE_MATERIAL
    *&      Form  F40_DISPLAY_REPORT
    FORM F40_DISPLAY_REPORT TABLES IT.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM      = GV_REPID
          I_CALLBACK_USER_COMMAND = 'USER_COMMAND '
          IT_FIELDCAT             = GT_FIELDCAT[]
          IT_SPECIAL_GROUPS       = GT_SP_GROUP[]
          IT_SORT                 = GT_SORT[]
          I_SAVE                  = GV_SAVE
          IS_VARIANT              = GT_VARIANT
          IT_EVENTS               = GT_EVENTS[]
        TABLES
          T_OUTTAB                = IT.                         "it_1.
      CLEAR:GT_FIELDCAT.
      REFRESH:GT_FIELDCAT.
    ENDFORM.                    " F40_DISPLAY_REPORT
    *&      Form  F30_SELECT_PRIMARY_DATA
          text
    FORM F30_SELECT_PRIMARY_DATA .
    subroutine to get the actual data
    to get the plants for the given company code
      data : temp_bukrs like BAPI0002_2-COMP_CODE,
             temp_date  like BAPI0002_4-POSTING_DATE.
      data : last_day(2) type n,
             from_date like sy-datum,
             temp_date1 like sy-datum,
             cal_month(2) type n,
             cal_year(4) type n.
      SELECT DISTINCT BWKEY FROM T001K INTO RANGE_WERK-LOW WHERE BUKRS = GS_BUKRS.
        RANGE_WERK-SIGN = 'I'.
        RANGE_WERK-OPTION = 'EQ'.
        APPEND RANGE_WERK.
      ENDSELECT.
    *selecting material that is relevant to the selection criteria
      SELECT MARA~MATNR MATKL MEINS MAKTX
             FROM MARA JOIN MAKT
               ON MAKTMATNR = MARAMATNR
             INTO CORRESPONDING FIELDS OF TABLE I_MARA
             WHERE MARA~MATNR IN GS_MATNR
              AND  MATKL IN GS_MATKL
              AND MAKT~SPRAS = 'EN'.
      temp_bukrs = gs_bukrs.
      cal_month = gs_ped+4(2).
      cal_year  = gs_ped+0(4).
      concatenate cal_year cal_month '01' into temp_date.
    *temp_date = temp_date1.
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          COMPANYCODEID = temp_bukrs
          POSTING_DATE  = temp_date
        IMPORTING
          FISCAL_YEAR   = fiscal_year
          FISCAL_PERIOD = period.
      select single * from marv into marv where bukrs = temp_bukrs.
    temp_date1 = temp_date.
      if sy-subrc = 0.
        if ( marv-lfmon ne period or marv-lfgja ne fiscal_year ).
          CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
            EXPORTING
              DAY_IN            = temp_date
            IMPORTING
              LAST_DAY_OF_MONTH = from_date
            EXCEPTIONS
              DAY_IN_NO_DATE    = 1
              OTHERS            = 2.
        else.
          from_date = sy-datum.
        endif.
      endif.
    to define the range for posting date
      RES_DATE = from_date - GS_DAYS.
      RANGE_DATE-LOW  = RES_DATE.
      RANGE_DATE-HIGH = from_date.
      RANGE_DATE-OPTION = 'BT'.
      RANGE_DATE-SIGN = 'I'.
      APPEND RANGE_DATE.
    to select documents and their quantities for the given range of posting dates
    with goods movement type 101 105 657 453 459 501 521 and their reversals
      if range_date-low ne range_date-high.
        SELECT MSEG~MATNR MSEG~MBLNR MSEG~ZEILE MSEG~MENGE MSEG~BWART mseg~ebeln mseg~ebelp
               MKPF~BUDAT MSEG~SHKZG
               FROM MKPF
               JOIN MSEG ON MSEG~MBLNR = MKPF~MBLNR
                        AND MSEG~MJAHR = MKPF~MJAHR
                          INTO CORRESPONDING FIELDS OF TABLE I_MKPF_MSEG
                              FOR ALL ENTRIES IN I_MARA
                            WHERE MSEG~MATNR = I_MARA-MATNR
                              AND MSEG~WERKS IN RANGE_WERK
                              AND MKPF~BUDAT IN RANGE_DATE
                              AND MSEG~BWART IN ('101','105','657','453','459','501','521','561','309','701','712', "711
                                                 '102','106','658','454','460','502','522','562').
        DELETE  I_MKPF_MSEG WHERE ( BWART = '309' AND SHKZG = 'H')
                               or ( bwart = '453' and shkzg = 'H')
                               or ( bwart = '454' and shkzg = 'S').
      endif.
      SORT I_MKPF_MSEG BY MATNR MBLNR.
      LOOP AT I_MKPF_MSEG.
        if i_mkpf_mseg-bwart = '101' or i_mkpf_mseg-bwart = '102'.
          select single * from ekpo  where ebeln = i_mkpf_mseg-ebeln
                                       and ebelp = i_mkpf_mseg-ebelp.
          if ekpo-pstyp = 7.
            delete i_mkpf_mseg where ebeln = i_mkpf_mseg-ebeln
                                 and ebelp = i_mkpf_mseg-ebelp.
            CLEAR I_MKPF_MSEG-MENGE.
          endif.
        endif.
        IF ( I_MKPF_MSEG-BWART = '101' OR I_MKPF_MSEG-BWART = '105' OR I_MKPF_MSEG-BWART = '712' OR
             I_MKPF_MSEG-BWART = '657' OR I_MKPF_MSEG-BWART = '453' OR "I_MKPF_MSEG-BWART = '711' OR
             I_MKPF_MSEG-BWART = '459' OR I_MKPF_MSEG-BWART = '501' OR I_MKPF_MSEG-BWART = '701' OR
             I_MKPF_MSEG-BWART = '521' OR I_MKPF_MSEG-BWART = '561' OR I_MKPF_MSEG-BWART = '309').
          NET_VAL = NET_VAL + I_MKPF_MSEG-MENGE.
        ENDIF.
        IF ( I_MKPF_MSEG-BWART = '102' OR I_MKPF_MSEG-BWART = '106' OR
             I_MKPF_MSEG-BWART = '658' OR I_MKPF_MSEG-BWART = '454' OR
             I_MKPF_MSEG-BWART = '460' OR I_MKPF_MSEG-BWART = '502' OR
             I_MKPF_MSEG-BWART = '522' OR I_MKPF_MSEG-BWART = '562').
          NET_VAL = NET_VAL - I_MKPF_MSEG-MENGE.
        ENDIF.
        WA_TEMP = I_MKPF_MSEG.
        AT END OF MATNR.
          I_TEMP-MATNR  = WA_TEMP-MATNR.
          I_TEMP-NET_VAL = NET_VAL.
          APPEND I_TEMP.
          CLEAR NET_VAL.
        ENDAT.
      ENDLOOP.
      SORT I_MARA BY MATNR.
      SORT I_TEMP BY MATNR.
      SELECT MATNR LBKUM SALK3 BWKEY
             FROM MBEWH
             INTO CORRESPONDING FIELDS OF TABLE I_MBEWH
             FOR ALL ENTRIES IN I_MARA
             WHERE MATNR = I_MARA-MATNR
               AND BWKEY IN RANGE_WERK
               AND BWTAR IN S_BWTAR
               AND LFGJA = FISCAL_YEAR
               AND LFMON = PERIOD.
      SELECT MATNR LBKUM SALK3 BWKEY
             FROM MBEW
             INTO CORRESPONDING FIELDS OF TABLE I_MBEWH1
             FOR ALL ENTRIES IN I_MARA
             WHERE MATNR = I_MARA-MATNR
               AND BWKEY IN RANGE_WERK.
                AND LFMON = PERIOD
                AND LFGJA = FISCAL_YEAR.
      SORT I_MBEWH BY MATNR BWKEY.
      SORT I_MBEWH1 BY MATNR BWKEY.
      LOOP AT I_MBEWH.
        LOOP AT I_MBEWH1 WHERE MATNR = I_MBEWH-MATNR
                           AND BWKEY = I_MBEWH-BWKEY.
          DELETE I_MBEWH1.
        ENDLOOP.
      ENDLOOP.
      APPEND LINES OF I_MBEWH1 TO I_MBEWH.
      CLEAR : I_MBEWH1.
      REFRESH I_MBEWH1.
      SORT I_MBEWH BY MATNR.
      LOOP AT I_MBEWH .
        I_MBEWH1 = I_MBEWH.
        AT END OF MATNR.
          SUM.
          I_MBEWH1-LBKUM = I_MBEWH-LBKUM.
          I_MBEWH1-SALK3 = I_MBEWH-SALK3.
          APPEND I_MBEWH1.
        ENDAT.
      ENDLOOP.
      DELETE I_MBEWH1 WHERE LBKUM <= 0.
      LOOP AT I_MARA.
        CLEAR : CUR_VAL,
                NUM,
                TOT_VAL,
                TOT_AMT1,
                I_MBEWH1.
        GT_FINAL-MATNR = I_MARA-MATNR.
        GT_FINAL-MATKL = I_MARA-MATKL.
        GT_FINAL-MAKTX = I_MARA-MAKTX.
        gt_final-meins = I_MARA-MEINS.
        READ TABLE I_MBEWH1 WITH KEY MATNR = I_MARA-MATNR.
        GT_FINAL-LBKUM = I_MBEWH1-LBKUM.
    to get the net inward movement vale that is to be subtracted from current value
        READ TABLE I_TEMP WITH KEY MATNR = I_MARA-MATNR.
        IF SY-SUBRC = 0 .
          IF GT_FINAL-LBKUM > 0.
            TOT_VAL = gt_final-lbkum - I_TEMP-NET_VAL.
            if tot_val gt 0.
              GT_FINAL-TOT_VAL = TOT_VAL.
              GT_FINAL-PRICE = I_MBEWH1-SALK3 / gt_final-lbkum."TOT_VAL.
              GT_FINAL-TOT_AMT = GT_FINAL-PRICE * GT_FINAL-TOT_VAL.
              APPEND GT_FINAL.
            endif.
          ENDIF.
        else.
          if gt_final-lbkum > 0.
            gt_final-tot_val = gt_final-lbkum.
            GT_FINAL-PRICE = I_MBEWH1-SALK3 / gt_final-lbkum.
            GT_FINAL-TOT_AMT = GT_FINAL-PRICE * GT_FINAL-TOT_VAL.
            APPEND GT_FINAL.
          endif.
        ENDIF.
      ENDLOOP.
      DELETE GT_FINAL WHERE LBKUM LE 0.
    ENDFORM.                    " F30_SELECT_PRIMARY_DATA
    *&      Form  f10_DATA_FORMAT
          text
    FORM F10_DATA_FORMAT_MAT .
    populating the field catalog table
    MATNR
      PERFORM F11_E01_FIELDCAT_INIT USING  'MARA' 'MATNR' 'MATNR' '1'
                               TEXT-003 'GT_FINAL' '15'.
    MAKTX
      PERFORM F11_E01_FIELDCAT_INIT USING  'MARA' 'MATKL' 'MATKL' '2'
                               TEXT-004 'GT_FINAL' '24'.
    DESC
      PERFORM F11_E01_FIELDCAT_INIT USING  'MAKT' 'MAKTX' 'MAKTX' '3'
                               TEXT-005 'GT_FINAL' '35'.
    Material Group Decription
      PERFORM F11_E01_FIELDCAT_INIT USING  'V023' 'WGBEZ' 'WGBEZ' '3'
                               TEXT-005 'GT_FINAL' '20'.
    qty
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'TOT_VAL' 'MENGE' '4'
                               TEXT-006 'GT_FINAL' '15'.
    MEINS
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'MEINS' 'MEINS' '4'
                               TEXT-008 'GT_FINAL' '15'.
    TOTAL COST
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'TOT_AMT' 'SALK3' '5'
                               TEXT-007 'GT_FINAL' '24'.
      PERFORM F12_E04_COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
      GV_SAVE = 'A'.
      CLEAR GT_EVENTS.
      REFRESH GT_EVENTS.
      GT_EVENTS-NAME = 'TOP_OF_PAGE'.
      GT_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND GT_EVENTS.
    ENDFORM.                    " f10_DATA_FORMAT
    *&      Form  F11_E01_FIELDCAT_INIT
          text
    FORM F11_E01_FIELDCAT_INIT  USING T1 T2 T3 T4 T5 T6 T7.
      CLEAR GW_FIELDCAT.
      GW_FIELDCAT-REF_TABNAME    = T1.
      GW_FIELDCAT-FIELDNAME      = T2.
      GW_FIELDCAT-REF_FIELDNAME  = T3.
      GW_FIELDCAT-COL_POS        = T4.
      GW_FIELDCAT-SELTEXT_L      = T5.
      GW_FIELDCAT-TABNAME        = T6.
      GW_FIELDCAT-OUTPUTLEN      = T7.
      APPEND GW_FIELDCAT TO GT_FIELDCAT.
    ENDFORM.                    " F11_E01_FIELDCAT_INIT
    *&      Form  f40_material_group_data
          text
    -->  p1        text
    <--  p2        text
    FORM F50_MATERIAL_GROUP_DATA .
      SORT GT_FINAL BY MATKL.
      LOOP AT GT_FINAL.
        TOT_QTY = GT_FINAL-TOT_VAL + TOT_QTY.
        TOT_AMT1 = GT_FINAL-TOT_AMT + TOT_AMT1.
        UOM = GT_FINAL-MEINS.
        AT END OF MATKL.
          MAT_FINAL-MATKL = GT_FINAL-MATKL.
          MAT_FINAL-TOT_VAL = TOT_QTY.
          MAT_FINAL-TOT_AMT = TOT_AMT1.
          MAT_FINAL-MEINS   = UOM.
          APPEND MAT_FINAL.
          CLEAR : TOT_QTY,
                  TOT_AMT1.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " f40_material_group_data
    *&      Form  BUILD_DETAIL
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_DETAIL .
      DETAIL_FINAL[] = GT_FINAL[].
      DELETE DETAIL_FINAL WHERE MATKL NE MAT_FINAL-MATKL.
    ENDFORM.                    " BUILD_DETAIL
    *&      Form  f11_data_format_group
          text
    -->  p1        text
    <--  p2        text
    FORM F11_DATA_FORMAT_GROUP .
    MATNR
    PERFORM F11_E01_FIELDCAT_INIT USING  'MARA' 'MATNR' 'MATNR' '1'
                              TEXT-003 'GT_FINAL' '15'.
      REFRESH GT_FIELDCAT[].
    MAKTX
      PERFORM F11_E01_FIELDCAT_INIT USING  'MARA' 'MATKL' 'MATKL' '2'
                               TEXT-004 'MAT_FINAL' '24'.
    DESC
    PERFORM F11_E01_FIELDCAT_INIT USING  'MAKT' 'MAKTX' 'MAKTX' '3'
                              TEXT-005 'GT_FINAL' '35'.
    Material Group Decription
    PERFORM F11_E01_FIELDCAT_INIT USING  'V023' 'WGBEZ' 'WGBEZ' '3'
                              TEXT-005 'GT_FINAL' '20'.
    qty
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'TOT_VAL' 'MENGE' '4'
                               TEXT-006 'MAT_FINAL' '15'.
    qty
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'MEINS' 'MEINS' '5'
                               TEXT-008 'MAT_FINAL' '15'.
    TOTAL COST
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'TOT_AMT' 'SALK3' '6'
                               TEXT-007 'MAT_FINAL' '24'.
      PERFORM F12_E04_COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
      GV_SAVE = 'A'.
      CLEAR GT_EVENTS.
      REFRESH GT_EVENTS.
      GT_EVENTS-NAME = 'TOP_OF_PAGE'.
      GT_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND GT_EVENTS.
    ENDFORM.                    " f11_data_format_group
    *&      Form  DETAIL_FORMAT_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM DETAIL_FORMAT_FIELDCAT .
      REFRESH GT_FIELDCAT[].
    MATNR
      PERFORM F11_E01_FIELDCAT_INIT USING  'MARA' 'MATNR' 'MATNR' '1'
                               TEXT-003 'DETAIL_FINAL' '15'.
    MAKTL
      PERFORM F11_E01_FIELDCAT_INIT USING  'MARA' 'MATKL' 'MATKL' '2'
                               TEXT-004 'DETAIL_FINAL' '24'.
    MAKTX
      PERFORM F11_E01_FIELDCAT_INIT USING  'MAKT' 'MAKTX' 'MAKTX' '3'
                               TEXT-005 'DETAIL_FINAL' '35'.
    qty
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'TOT_VAL' 'MENGE' '4'
                               TEXT-006 'DETAIL_FINAL' '15'.
    UOM
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'MEINS' 'MEINS' '5'
                               TEXT-008 'DETAIL_FINAL' '15'.
    TOTAL COST
      PERFORM F11_E01_FIELDCAT_INIT USING  '' 'TOT_AMT' 'SALK3' '6'
                               TEXT-007 'DETAIL_FINAL' '24'.
    PERFORM F12_E04_COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
      GV_SAVE = 'A'.
    CLEAR GT_EVENTS.
    REFRESH GT_EVENTS.
    GT_EVENTS-NAME = 'TOP_OF_PAGE'.
    GT_EVENTS-FORM = 'TOP_OF_PAGE'.
    APPEND GT_EVENTS.
    ENDFORM.                    " DETAIL_FORMAT_FIELDCAT
          FORM USER_COMMAND                                             *
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                   RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN '&IC1'.                       "doubleclick
          IF RS_SELFIELD-TABNAME = 'MAT_FINAL'.
            READ TABLE MAT_FINAL INDEX  RS_SELFIELD-TABINDEX .
            PERFORM BUILD_DETAIL.
            PERFORM DETAIL_FORMAT_FIELDCAT.
            PERFORM F20_EVENTTAB_BUILD CHANGING GT_EVENTS[].
            PERFORM F40_DISPLAY_REPORT TABLES DETAIL_FINAL.
            CLEAR DETAIL_FINAL[].
          ENDIF.
          CLEAR R_UCOMM.
      ENDCASE.
    ENDFORM.                    "USER_COMMAND

    Hi,
    Done with the help of abaper.
    Thanks & Regards,
    Sandeep

  • Error in Sourcing Cockpit

    Hi Gurus,
    we're working with EC Scenario in SRM 4.0 and Sourcing Cockpit.
    We can create the following documents from a shopping cart: Bid Invitation, Auction and Purchase Order, but not a Contract. The system goes exits out and dumps the following messages:
    "Note
    The following error text was processed in the system SV5 : Transaction type ECPO must not be used for object type BUS2000113
    The error occurred on the application server itsv03_SV5_10 and in the work process
    The termination type was: TH_RES_FREE
    The ABAP call stack was:
          Form: ADD_MESSAGES_TO_LOG of program SAPLBBP_SOCO_APP
          Form: CREATE_FOLLOW_ON_DOCUMENT of program SAPLBBP_SOCO_APP
          Function: BBP_SOCO_EV_FOLLOW_ON_CREATE of program SAPLBBP_SOCO_APP
          Function: BBP_SOCO_EVENT_DISPATCHER of program SAPLBBP_SOCO_APP
          Form: FCODE of program SAPLBBP_SOCO_UI_ITS
          Module: FCODE of program SAPLBBP_SOCO_UI_ITS"
    Could u help us?
    Thx, Enrico

    Hello Enrico,
    Please maintain the transaction type for the BO/TransCat- BUS2000113 in the SPRO at the path SRM Server -> Cross-Application Basic Settings->Define Transaction Types and also if you have implemented the Badi BBP_DETERMINE_LOGSYS , please verify the code for the method ~CONTRACT_LOGSYS_DETERMINE.
    hope this info will be useful.
    regards,
    Mani

  • 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.

  • Error while activation of Bi content of Bi cockpit

    Hi all,
    I am doing BI content activation for BI admin cockpit, from SPRO -- Activation of BI content of BI admin cockpit , i ran the activation but it got failed. The error message says:
    DataSource 0TCTBWOBJCT_ATTR from source system BWQCLNT500 could not be activated
    This error is coming for data sources :0TCTPRCSVAR_ATTR, 0TCTBWOBJCT_TEXT, 0TCTPRCSVAR_TEXT and 0TCTBWOBJCT_ATTR.
    I have applied the sap note 1110642 , 1110641 . also ran the program RSSM_SHIPDVERS_CLEANUP but did not able to find these info packages for this data spurces:
    0PAK_8K20VQGEBZRQXUE2PKWS90ZO8
    0PAK_934GEKKIBBDKPVMVDJHVNPIMV
    0PAK_99MQNPZISKNSNWKT9HF2CWPLK
    0PAK_BFYU3MMMU2T2WOI50MXHCEH07
    I also tried activating these data sources manually in BI content one by one , there alaso iam getting error :
    Data source can not be actvatedm, troied in RSDS also by replicating but says there also that this data source does not exist in source system.
    Due to this data sources iam geting problem inmy process chain..
    PLease help .Pts wil be assigned.
    Thanks and Regards.
    Akash

    Akash you may be wrong.
    When I tried to install Technical content in my BW system, I faced the same problem what you have mentioned.
    What the system does in such cases is gathers certain system specific informations from teh connected sources. In my case, it tried to install teh datasources to the APO system & the CRM system.
    However I unchecked the option while installing from Business Content for these two systems and rest went on fine.
    Myself source system was perfectly ok and the DS got installed correctly on BW.
    So please check if the error is for other Source Systems.
    Regards
    Anujit Ghosh
    Edited by: Anujit Ghosh on Jul 23, 2008 2:03 PM
    While installing from Business Content, do one by one(first InfoProviders, then DataSources etc) using the following help
    http://help.sap.com/saphelp_nw70/helpdata/en/48/bc406a800a4226951dcc57428e03f2/frameset.htm
    You will find a list of all the related objects here.

  • Error BRAIN 276 when you execute a Web template in BI Admin Cockpit in  EP

    Hi Experts,
    I have Installed BI Administration Business Packages in Portal and configured necessary steps in BI System.I have assigned the role in Portal and BI System.
    I tried executing one iview...and was getting the following error:
    Error loading template 0TPLI_0TCT_MCA1_Q0143
    and when i click on the above error ..i was getting another window which shows below message:
    Technical Information for Message:
    Error loading template 0TPLI_0TCT_MCA1_Q0143
      Notification Number BRAIN 276
    I was suggested by SAP Note 1014795 to do the below changes :
    TEMPLATE_ID=0TPLI_0TCT_MCA1_Q0143  To TEMPLATE=0TPLI_0TCT_MCA1_Q0143
    Please note that the above note says to replace  TEMPLATE_ID  by TEMPLATE in the property of "BEX Web application Query String" of the IView in Portal
    and also please note that i have Version=SAP BW 2.X/3.X in Iview Property .
    After having made the above changes iam getting the BEX Web Analyzer...where i have the options to open a query ( from all the infoareas of BI System).and then i will select the query (0TCT_MCA1_Q0143) and am executing the same to display the data.
    i know that this Is not the correct way of executing the iview for BI Admin Cockpit.
    Can anyone help me how to execute the Web Template automatically when the user clicks on IView ?
    we have all the above Web Templates Corresponding to BI admin cockpit in active mode in when checked from WAD 3.X , but when when i search for the above web templates in WAD 7.0 i do not find them
    Is there anything that i need to activate in BI System ? Or in Portal System?
    Or do i have to execute the above web templates in  BI WAD before linking them to portal iviews?
    Do we have to Migrate the Web Templates from  BW 3.5 to BI 7.O?
    Thanks
    P.Navakanth
    -When i try to execute the web templates

    We are having this exact same issue - example of one of the errors:: Error loading template 0TPLI_0TCT_MCA1_Q0114.  We get this error for all MCA1 templates.  Basis says they've deployed latest BP BI Administration 1.0 with Patch 2 (BPBIADMINOSP_2-1000342B.SCA).The info refers to BI Admin Cockpit, Business Package for BI Administration,
    BP BI ADMINISTRATION 1.0 ,BI Usage Statistics,0TCT_CA1.
    I see from documentationthat the multicube 0TCT_MCA1 is from 0TCT_CA1 and 0TCT_VCA1
    From the documentation in http://help.sap.com/saphelp_nw70/helpdata/en/26/9ef41d14dc424183b4807538be8e1e/frameset.htm, under web templates,
    1) How come there are more than 1 template with same name and Query with same names- for example:
    Web Template: Long-Term Trends in Total Runtimes of BI Applications
    WebTemplate: 0TPLI_0TCT_MC01_Q0114
    This Web template is the container for the query 0TCT_MC01_Q0114 and is designed to provide detailed analyses.
    AND
    Web Template: Long-Term Trends in Total Runtimes of BI Applications
    WebTemplate: 0TPLI_0TCT_MCA1_Q0114
    This Web template is the container for the query 0TCT_MCA1_Q0114 and is used for detailed analyses
    2) How come the delivered process chains load other technical content, but does not load 0TCT_CA1
    Basis re-deployed the bi admin cockpit contents, but still have error in loading template 0TPLI_0TCT_MCA1_Q0114.
    3) Do we need to do any of the following?
    SE38 u2013 run RSTCC_ACTIVATEADMINCOCKPIT_NEW
    RSA1 - bi content, install & transport
    Check role SAP_BI_BW_ADMINSTRATOR
    Se38 u2013 rs_template_maintain for active templates u2013 look for MCA1 templated
    Tr code RSDDSTAT
    Activate Virtual providers
    Anything else?
    Thanks!

Maybe you are looking for

  • How to differentiate which is exporting and importing parameters when calling dynamically using CL_ABAP_OBJECTDESCR

    Hello All, First of all sorry for posting the question in general abap queries, since somehow I am not able to post in ABAP objects discussions. My requirement is Step 1 :  To get table name as input  and dynamically derive all fields which is going

  • Download, battery, and sleep problems on macbook pro with retina display after upgrading to Mountain lion

    After waiting a few days to download OS X Mountain lion, I finally installed it on my new MacBook with retina display a couple days ago. I love the interface and all the new features, but I've noticed some problems I really need to resolve. I'm const

  • Using Date in where clause

    Hello all, I am new to Oracle, currently using 10G + aspvbscript. I've been trying to query data using date in where clause but nothing seems to work. The column is in date format. It gets printed out like this: 5/1/2010 11:21:19 AM I tried using thi

  • Need help importing

    rightyo, well basically i have 2 comps, one with itunes that is connected to the ipod with all the music on it, and the other with itunes and no music. how do i get all the music from the first to the second computer? ive got the full ipod connected

  • Replacing title of movie

    Normally when I have a movie, the file name shows in the title bar of Quicktime. However someone sent me a movie and it has a set title, so even if I save as something different, the original title remains . In Show Movie properties I can see the nam