Can we call default.lgf in BADI logic

Hello All,
can we call default.lgf logic script to run in the BPC in the BADI ? If yes then can someone please let me know the relevant Method or Class etc.
For e.g. we have a BADi logic that does a data push from Profit model to Main model based on some conditions. After all this processing in the BADi and writes to Main model, there is a requirement to run the default logic which is there in Profit Model. Which I want to handle in BADI itself after processing the earlier BADI.
If you need more details please let me know.
Many Thanks
Krishna

Hi Vadim,
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
LOGIC = DEFAULT.LGF
APPSET = UUG
APP = MAIN
DEBUG = OFF
*END_BADI
DEFAULT.LGF has 2 logic scripts calling.
*account.lgf
*balance.lgf
This only executes the first LGF and ignores the second one. I executed each one at a time and all works fine but if I give both together it executes first one in the sequence and ignores the other. Any idea why it is doing like that ??
Try 1)
*START_BADI TRANSPROFITTOMAIN
QUERY = OFF
WRITE = OFF
*END_BADI
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
LOGIC = FLOW_BALANCE.LGF
APPSET = <appset name>
APP = MAIN
DEBUG = OFF
*END_BADI
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
LOGIC = CALCACCOUNT.LGF
APPSET = <appset name>
APP = MAIN
DEBUG = OFF
*END_BADI
it runs flow_balance.lgf and I can see the log for it..In the log it says the below
SCRIPT RUNNING TIME IN TOTAL:109.42 s.
LOG END TIME:2014-06-26 15:17:31
Amount of time to run script:                                         110797.19 ms
BADI EXECUTION TIME IN TOTAL :111233.64 ms.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:DATASRC WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:INFLATION WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:INTORDER WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:PROFITCENTRE WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:PROFIT_ACCOUNT WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:TIME WILL QUERY ON ALL BASE MEMBERS.
EXECUTION BADI:RUNLOGIC_PH
QUERY: OFF
WRITE: ON
Parameter DIMENSION not specified. ALL values used.
Dimension ACCOUNT not specified and doesn't exist in current context.
Error in RUNLOGIC call.
BADI EXECUTION TIME IN TOTAL :2.07 ms.
SCRIPT RUNNING TIME IN TOTAL:132.65 s.
Please advise.
individually they both work fine..meaning Try 2 and Try 3 works fine.
Try 2)
*START_BADI TRANSPROFITTOMAIN
QUERY = OFF
WRITE = OFF
*END_BADI
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
LOGIC = CALCACCOUNT.LGF
APPSET = <appset name>
APP = MAIN
DEBUG = OFF
*END_BADI
Try 3)
*START_BADI TRANSPROFITTOMAIN
QUERY = OFF
WRITE = OFF
*END_BADI
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
LOGIC = FLOW_BALANCE.LGF
APPSET = <appset name>
APP = MAIN
DEBUG = OFF
*END_BADI
Try 4) Default.lgf contains 2 include statements
*include FLOW_BALANCE.LGF
*include calcaccount.LGF
In this case it executes only the fist lgf in the sequence and ignores the other. I cant see anything in the log for the 2nd LGF.
*START_BADI TRANSPROFITTOMAIN
QUERY = OFF
WRITE = OFF
*END_BADI
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
LOGIC = Default.LGF
APPSET = <appset name>
APP = MAIN
DEBUG = OFF
*END_BADI
Thanks
Krishna

Similar Messages

  • Is it possible to call DEFAULT.LGF script From SEND and REfresh Schedules

    hello
    Usually, when user sends data from an excel input schedule, Default.LGX logic script is automatically executed.
    I'd like to have Default.LGF script executed instead.
    Is it possible ? How ?
    (I don't want users to launch DM packages).
    Thanks. R.

    As is mentioned in the other threads, the Default.LGF is the basis for the Default.LGX, which is run by each application at the point data is entered via the Excel interface. This file may call other LGX files using the *Include statement.  The logic runs in against the scope of the INPUT members sent via excel.  I don't think there is an efficient method to only run an INCLUDE statement based on a specific SCOPE sent during the data send process.  The entire logic runs during the send, regardless of the SCOPE.  If nothing in the scope is impacted by the logic, the logic doesn't "inteligently" realize this and stop; rather is proceeds with the whole logic process and writes zero records.
    If you ONLY want to run a specific logic package on a sent logic scope, the current process is via Data Manager, or include the logic in default (which still runs in its entirety)
    Hope this helps.

  • How can you transfer files from an iMac with a bad logic board?

    This is in reference to my "Nothing but a blue screen at startup!" post. He took his iMac to an Apple authorized repair shop and he was told that the logic board was shot. He has decided to get a new iMac but he's wondering about all the photos and other files he has on the old hard drive. What are the ways that he can get files from the old hard drive on to his new one when he gets it? Thanks in advance for your help with this!
    Eric

    Hi Eric!
    roam's method is a very good one!
    I don't know if this will work because of the bad Logic Board, but another way, may be to use Firewire Target Disk Mode.
    The ailing iMac would have to be Firewire enabled, and you would need access to another Firewire Mac.
    Good Luck!
    ali b

  • Can't boot G5,  bad logic board?

    G5 Dual 2.0 Ghz, 4 GB Ram
    Can't get past blue screen unless I boot in safe mode, then I can get in.
    Here's what I've tried:
    5 different boot volumes, including Tiger and Leopard and a clean install
    internal drives only, external drives only
    reseated ram
    zapped pram
    zapped nvram
    reset pmu
    booted in single user mode, gets stuck at workaround bonjour unknown error 0
    pulled out airport card, reseated airport card
    tried just about everything, always stops at the blue screen with cursor
    does this sound like a bad logic board or is there anything else I can try? thanks

    Dear Mr. Jarrett,
    Just analyzing: You're not able to boot normally from any installed system on any hard disk, but you can boot in the single user mode, are able to use AHT and the G5 even boots from the TechTool disk.
    However, you do not state you installed those five systems mentioned recently, so the question is: How stable is your computer booted from a DVD (grey install disk or the TechTool bootable disk and are you able to do a fresh system install now?
    I don't think your RAM chips are bad, but there could be a problem with (one of) the SATA cables connecting the hard drive to the logic board. Did you try both data cables (by using the second drive bay)? As you undoubtedly know a PowerMac cannot boot from an external USB drive, but having a bad internal data cable could also prevent starting up from a FireWire drive. And take a critical look at the four guide screws: are they well fitted?
    From your description I understand you own a dual processor and not the late 2005 duo core G5. These computers are very different animals indeed.
    Success and best regards,
    Robbert
    Message was edited by: Mechanic man
    Message was edited by: Mechanic man

  • Field symbol has not been assigned when validate DEFAULT.LGF in BPC 75 SP10

    Hello Experts,
    We have upgraded our BPC 7.5 SP6 to SP10 recently and we are facking issues when validating DEFAULT.LGF in the system, here is the complete content of DEFAULT.LGF , can you help on this?
    we have activated the business content using UJS_ACTIVATE_CONTENT and all dimensions are having MBR_SEQ attribute in the system.
    thanks
    Sanjeev
    Edited by: sanjeev.s on Nov 17, 2011 4:02 PM

    Hi Anton,
    It did not work . Thanks.
    Hi Srini,
    As suggested by you i have commented out few lines to see where the code was failing exactly.
    I do see we have maintained TERM_PER and START_PER in the property list of employee dimension with length 10 and 20 resp.
    *SELECT(%OPEN%, ID, TIME, PERIODSTATUS=OPEN)
    *SELECT(%ALLEMP%, ID, EMPLOYEE, CALC=N)
    //*SELECT(%TERMS%, ID, EMPLOYEE, TERM_PER<> )  //commented by S K
    //*SELECT(%NHIRES%, ID, EMPLOYEE, START_PER<> ) // commented by S K
    *SELECT(%INTERN%, ID, HCDATASRC, EMP_TYPE=INTERN)
    I am not well versed with script logic, do you think commenting these lines will have impact else where within the reports/input schedules since this is DEFAULT LOGIC for my headcount applicaiton.
    Please help me on this. Thanks.
    Regards,
    sanjeev

  • Is a bad logic board due to a bad power supply?

    Computer specs:
    iMac G5 20", 2.0 ghz, 1 GB RAM, 250 GB hard drive
    Back in October of 2008 my iMac G5 Power PC shutdown intermittently and then when I went to go to start it back up, it booted to the blue screen and hanged there forever. So, I did a hard shutdown and then waited and then booted again and it still hanged at the blue screen. I tried booting in Safe Mode, and that worked, so I had a chance to backup everything that I needed to. Then, I took the computer to my local Apple Store to speak to a "genius". They could not diagnose my computer while I was there, so they needed to take it overnight and let me know over the phone what the issue was. The next day they called to tell me that it was a Logic Board issue and that it would cost $900 to fix it. I obviously was blown away at the cost for the problem, and I could not afford that charge so I seeked out other options. I found a shop in my neighborhood that offered me a used 1.8 ghz logic board for half of what Apple was quoting me, so I went with it. Then, 9 months later (which brings us to present) my iMac completely shutdown on its own and would not start up. I ran it through some tests (LED lights on the interior) and confirmed that it was a Logic Board issue again. So, I took it back to the shop in my neighborhood and they told me that the warranty for the part they replaced had expired. So, I called Apple Customer Relations to talk to them about the issue. They confirmed, using my serial number, that I could get my issues fixed for free. They then told me about the "iMac G5 Repair Extension Program for Power Supply Issues" which was news to me. This Program ended in December of 08, meaning I would have qualified in October of 08... the time I initially brought in my computer. So, I brought my computer to the Apple Store to drop it off for repairs, and when going over the history of the machine they confirmed that because there was a used 1.8 ghz part in my machine installed from a non-authorized Apple place that they COULD NOT fix my issues now.
    My question is:
    Back in October of 2008 when I brought in my computer to the Apple Store and they diagnosed it with a bad Logic Board, could that have been because of a bad power supply? If that was the case, does a bad power supply cause a Logic Board to go bad?

    Welcome to Apple Discussions.
    The short answer is no, but it's actually more complicated than that. The original iMac G5 17 and 20 inch models were plagued by two problems: defective capacitors which affected the logic board, and an unrelated set of defective capacitors which affected the power supply. Rarely were both conditions present at the same time, but Apple decided—when they issued the repair extension authorization—that replacement of both components was a more cost effective approach. By far, the most common of the two problems involved the logic boards.
    The REA covered machines for a period of three years from first sale, and ended in December of last year. Yours likely would not have been covered due to the date of sale provision. On a case by case basis, AppleCare representatives did allow coverage for machines beyond the three year limitation, but not past the end of last year.
    It's not likely that you have both a defective logic board and power supply, though you may. The combination of these issues is actually found most frequently in the iMac G5 ALS models, none of which were covered by a repair extension authorization.
    Your issue is a difficult one, as Apple authorized dealers and service providers have every right—and, actually, a responsibility under their annual agreements—to reject warranty, AppleCare or REA coverage for parts or labor when compatible but not similar logic boards have been placed in your machine. This is because they must exchange these parts for the part they are requesting from Apple on a like-for-like basis, and that part must be associated with your machine serial number. In trying to resolve your issue, the shop in your neighborhood actually created an additional issue for you which would only be triggered in the event of component failure. I have no idea what period of coverage they typically offer, but Apple provides for 90 days or the balance of any warranty or AppleCare extension in place at the time of the repair, whichever is greater.
    Your logic board can be refurbished for $ 189.00 if it in fact exhibits the capacitor issue. That process is covered by a one-year warranty. If you are interested in exploring that option, send a message to the electronic mail address in my Public Profile and I will reply with additional information. To help determine additional information concerning your machine, please include the machine serial number if you elect to do write for more information.

  • Value check in Default.LGF

    Hi BPC People,
    I'm a newby in BPC, so I have a lot of questions....but first one:-)
    I want to calculate variable costs like "Rabat" or "Provision" and this should be progessive increase.
    I tried the following, but e.g. if the GRINCOME-Value is "150" then the second REC-Statement overwites the first account-result(15) with zero.
    So, I need something that do nothing if the result of the value check is zero.
    *WHEN P_ACCT
    *IS GRINCOME
    REC(FACTOR=((%VALUE%>99)0.1), P_ACCT=DISCONINVOICE)
    REC(FACTOR=((%VALUE%>999)0.6), P_ACCT=DISCONINVOICE)
    *ENDWHEN
    *COMMIT
    I think is a very common process, so I'm hopful that you guys can help me.
    Thank you,
    ju

    Hi Kranthi,
    I paste in default.lgf:
    *WHEN P_ACCT
    *IS GRINCOME
    *WHEN %VALUE%
    *IS > 99
    *REC(Factor=0.1,P_ACCT=DISCOFFINVOICE)
    *IS > 999
    *REC(Factor=0.2,P_ACCT=DISCOFFINVOICE)
    *ENDWHEN // Value
    *ENDWHEN // P_ACCT
    But I still get the following message (Complete version):
         Application     :     PLANNING
         Status          :     Failed
         Submitted Count     :     1
         Accepted Count     :     1
         Rejected Count     :     0
              - Error Message -
    Error running default logic (Unknown Dimension Name in Keyword: "%VALUE%:)
              - Rejected record list -
    Error converting records: The root element is missing.
    I don't know, what's going wrong.
    What's about the "Unknown Dimension Name"? Any ideas?
    ju

  • How can I call my chart in Forms6i on When Button Press Trigger?

    Hi Friends,
    I have make a chart in Graphic Builder 6i and save on path C:\graph\test.ogd
    Now I want to run this Chart from Form6i on When Button Press trigger.
    I have call my report in forms using this command on When Button Press trigger.
    Run_Product(reports,'C:\Cheema\Qdir_store\reports\pmms\sec_backlog',asynchronous,runtime,filesystem,TO_CHAR(NULL));
    So tell me How can I call my chart in Forms6i?
    Please reply me on urgent.
    Thanks,
    Shahzad

    Just to recall after a long break of couple of years..... Pls check out if not wrong.
    First of all you need to embeed the chart object on your layout window and make it visible = FALSE. This is a design time work. In the button press event, show the chart object by setting the visible property = TRUE.
    Note, i could not paste u the sample code as i don't have forms installation on my PC. The above states is a logic you can apply.

  • How can I call AM from another page

    Hi,
    I have come across a situation which I am not sure how to solve it. Here is the issue. I have a custom requirement to add another page to an already existing custom page. The first page used to hold the data and commit buttons however because of requirements, we want users to add some comments on the second page and then save the data. In other words the save button is now suppose to move to the second page.
    The dilemma I have is that the method that used to be called from the PFR CO of Page 1 was linked to page 1 AM which had that commit method.
    I still want to re-use the method from the Page 1 AM since there is a lot of logic involved. How can I call that method while I am in my second page from my CO?
    I am using setForwardURL and I am retaining AM from page 1.
    Also, if this is not feasible what are other alternatives. Any ideas would be appreciated.
    Edited by: user501998 on Jan 7, 2010 12:21 AM

    Hi,
    Can you give me an example? I mean do I just call the AM like in the example below...in my PFR...of Page 2 Controller. I thought this would be giving me an error method not found or something since it would be looking at the AM of my current page. I will try it and see but if there is another syntax can you please provide it.
    Thanks
    Partial code from PFR of Page 2
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if(eventName.equals("save"))
    if ( respName.endsWith("Admin") )
    am.invokeMethod("commitTransaction"); --- This is the AM Method in Page 1...
    } else
    throw new OAException("Shipper successfully updated.", OAException.CONFIRMATION);

  • Can I call a .htm page of view1 from another .htm page of view 2?

    Hi,
    I have a viewset QuestionnaireTabVS with a view area TABS which has two views  QuestionCondnsVS (default) and View QuestionRisksVS.
    When a variable say GV_TAB  is set as 'Questions' it navigates to the QuestionCondnsVS view and when the variable GV_TAB is set as 'Risks' it navigates to the QuestionnaireRisksVS.
    This view set QuestionnaireTabVS is contained in an overview page which  has two Radiobuttons. It works fine when  the first radiobutton is selected, i.e, when I click on the Questions it renders the QuestionCondnsVS view and when I click on the Risks it renders me the QuestionRisksVS view .
    Problem is when  I had clicked the RISK tab first and then selected the another radiobutton the rendered view QuestionRisksVS doesnt get removed
    but is present there by default which I dont want.I want the QuestionCondnsVS view to be present there by default after the second radiobutton is selected. I tried to refresh all the controllers but somehow it navigates to the  QuestionRisksVS only .
    So i thought to call the  .htm page of QuestionCondnsVS forcefully from the QuestionnaireTabVS .htm page as soon as I select the another radiobutton.
    Can I call a .htm page of QuestionCondnsVS from another .htm page of  QuestionnaireTabVS? If yes then how or any other suggestion is welcome

    Hi Dharmakasi,
    The Radiobuttons code is not added in the same HTML page but lies in a different component where the coding is on event handler.
    METHOD eh_onchecked.
      DATA: lv_option TYPE REF TO if_bol_bo_property_access,
            lv_check  TYPE char1.
      lv_option ?= typed_context->switch->collection_wrapper->get_current( ).
      lv_check = lv_option->get_property_as_string( iv_attr_name = 'OPTION'   ).
      IF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
      ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
      ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
        ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
      ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
      ENDIF.
    ENDMETHOD.
    Here the LV_CHECK = old is the first radiobutton whereas LV_CHECk = new is the second radiobutton. I have tried to set the value of gv_tab ='Question' here but again no success.
    The .HTM coding of QuestionanireTABVS is
    <%@page language="abap" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <% data: ls_line                type CRMT_THTMLB_LINK,
             lv_flag                type ABAP_BOOL.
        data: lv_xml                type string.
    if zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
       REFRESH controller->gt_navlink_tab[].
    *   if controller->gt_navlink_tab[] is initial.
         ls_line-id = 'Questions'.
         ls_line-onclick = 'QUEST'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
         insert ls_line into table controller->gt_navlink_tab.
         ls_line-id = 'Risks'.
         ls_line-onclick = 'RISK'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
         insert ls_line into table controller->gt_navlink_tab.
         %>
    <%--   endif.  %>--%>
    <thtmlb:tray id     = "HeaderExt"
                 indent = 'FALSE'
                 design = 'STANDARD'>
      <thtmlb:trayHeader>
        <thtmlb:grid cellSpacing = "0"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "1"
                 width       = "100%" >
          <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1"
                       >
            <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                    selectedLinkId = "<%= controller->gv_tab %>" />
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
          </thtmlb:gridCell>
        </thtmlb:grid>
      </thtmlb:trayHeader>
      <thtmlb:trayBody>
        <%
    *    data: lv_xml    type string.
        lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
        %>
        <chtmlb:config xml     = "<%= lv_xml %>"
                       mode    = "RUNTIME"  />
      </thtmlb:trayBody>
    </thtmlb:tray>
    <% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
       REFRESH controller->gt_navlink_tab[].
    *   if controller->gt_navlink_tab[] is initial.
         ls_line-id = 'Questions'.
         ls_line-onclick = 'QUEST'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
         insert ls_line into table controller->gt_navlink_tab.
    *     ls_line-id = 'Risks'.
    *     ls_line-onclick = 'RISK'.
    *     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
    *     insert ls_line into table controller->gt_navlink_tab.
         %>
    <%--   endif.  %>--%>
    <thtmlb:tray id     = "HeaderExt"
                 indent = 'FALSE'
                 design = 'STANDARD'>
      <thtmlb:trayHeader>
        <thtmlb:grid cellSpacing = "0"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "1"
                 width       = "100%" >
          <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1"
                       >
            <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                    selectedLinkId = "<%= controller->gv_tab %>" />
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
          </thtmlb:gridCell>
        </thtmlb:grid>
      </thtmlb:trayHeader>
      <thtmlb:trayBody>
        <%
    *    data: lv_xml    type string.
        lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
        %>
        <chtmlb:config xml     = "<%= lv_xml %>"
                       mode    = "RUNTIME"  />
      </thtmlb:trayBody>
    </thtmlb:tray>
    <% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SCAF or
              zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz  or
              zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SOW.
       REFRESH controller->gt_navlink_tab[].
    *   if controller->gt_navlink_tab[] is initial.
         ls_line-id = 'Questions'.
         ls_line-onclick = 'QUEST'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
         insert ls_line into table controller->gt_navlink_tab.
    *     ls_line-id = 'Risks'.
    *     ls_line-onclick = 'RISK'.
    *     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
    *     insert ls_line into table controller->gt_navlink_tab.
         %>
    <%--   endif.  %>--%>
    <thtmlb:tray id     = "HeaderExt"
                 indent = 'FALSE'
                 design = 'STANDARD'>
      <thtmlb:trayHeader>
        <thtmlb:grid cellSpacing = "0"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "1"
                 width       = "100%" >
          <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1"
                       >
            <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                    selectedLinkId = "<%= controller->gv_tab %>" />
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
          </thtmlb:gridCell>
        </thtmlb:grid>
      </thtmlb:trayHeader>
      <thtmlb:trayBody>
        <%
    *    data: lv_xml    type string.
        lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
        %>
        <chtmlb:config xml     = "<%= lv_xml %>"
                       mode    = "RUNTIME"  />
      </thtmlb:trayBody>
    </thtmlb:tray>
    <% endif.
    %>

  • How can i call a servlet from a servlet ?

    Hello,
    Can i call a Servlet from within a Servlet ?
    and is it "right thing" to Do ?
    Thanks

    JMO, but I wouldn't do it like this.
    Don't have a remote object like a servlet doing database queries for your app. That will mean TWO network hops for every query if the database resides on another machine. The network is the biggest bottleneck you've got.
    Write a JavaBean that does the database stuff for you and just have the first servlet instantiate it when it needs it. A Bean has a better chance of being reused, too. Write a TableGateway or DAO for your object.
    Or write an EJB to do it.
    The only time I've done a servlet-to-servlet connection like that was for one servlet running in a DMZ that would authenticate a user and then forward the request to another servlet running inside the second firewall.
    I wouldn't encapsulate database query logic in a servlet like that. JMO - MOD

  • How can I call a SAPME web service from MII such as PlaceFutureHold?

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    With Web service action block you can view all ME available services
    in I.E
    https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl  you could see your FutureHold service
    To do that in MII, you need Web Service action block. Have you work with MII transaction before?
    (saw your post in MII)

  • How to find out the calling point of a Badi

    Hi Experts,
    Say one Badi is getting called in a particular screen of a transaction.
    Can anyone please guide me how to find out the calling point for that Badi.
    I checked for transaction CC31 screen 2000, method IF_EX_ECM_EXIT~OMR_CHECK_01
    is getting called.
    But I could not find the calling point.
    Please help.
    Thanks,
    Sonali.

    Go in to the perticular method, and click on where used list.That may help.
    Or get into the method in debugging, and press F7. That will take you to the calling point.

  • Power Mac G5 DP1.8GHz - Bad Logic Board or Power Management Issue?

    I have a Power Mac G5 DP1.8GHz/1.5GB/80GB which I bought non-working. It has not yet been disassembled or examined by a certified tech. This is it's issue (which replicates): the computer powers on. It makes a single warning tone, then the LED flashed at least 15 times (too fast to count). Then the posting chord is heard. Hard drive spins up. Then nothing (no video). Won’t boot from any disk. I have changed the RAM and tested the RAM banks with known-to-be-good RAM from another DP1.8GHz G5. The warning tone stopped once or twice after this switch, but then it didn’t chime. I changed the PRAM battery, but not with as new one. However, after installing the used one and then resetting the PMU, it displayed video briefly for the first time. While installed in the other 1.8GHz G5, the hard drive was formatted, given a clean install of OS X 10.4.11, and then moved into this computer where is never mounts. The computer is not accessible through TDM.
    Do I have a bad logic board? Bad CPUs? A power managment issue? A RAM issue?

    Through my own trial and error troubleshooting, I have found the CPUs to be in good working order and the logic board passes the Apple Service Diagnostic every time. Despite the installation of numerous pairs of modules that worked in another DP1.8GHz, the computer has a RAM issue-it gives the "no good RAM" tone most of the time when it powers up (after a PMU reset it does not). Also the computer boots from disk or into Open Firmware but the disk utility can't see either hard drive so I may have a bad SATA controller.

  • Can i call a function module of SAP?

    Hi, i have a question... Can i call a function module of SAP... I need print a document from a device, can i call the function module of SAP in order that me it prints it?
    Thanks,

    Hi Victor,
    you can use the GenericSync Example of the MDK. This calls the Module to verify the user directly. Generic Sync is exactly for that purpose: call a BADI directly and no usage of SyncBO. Be aware, that you - out of the box- sync your app data as well at that moment, because a sync runs both - generic and smartsync. Even worse: even when you have nothing to sync in Generic Sync - so nothing to print - it will call the function module for generic sync as long as it is registered.
    Well,  anyway, this is the way to call a function module separate.
    If it works with you rparticular print module? I have no idea, but if this is a normal function module - well, it should be ok.
    Hope this helps.
    Regards,
    Oliver

Maybe you are looking for

  • Oracle 11g Active Data Guard help ?

    Hi Friends, I successfully setup an Active data guard environment(11g). But, I dont know when the PROD database is highly utilize , its read only tasks like reporting and backup are doing in STANDBY. How can I know which db (prod or stand by) is used

  • Evolution Outbox not sending

    I have an issue with Evolution 2.26.3. I have a filter set up to take all incoming messages sent to my school address and forward a copy to my Gmail account. When a message is received Evolution moves a copy to the outbox, as expected. If manually pr

  • Third party billing document ,''account determination error ''

    hi, i got problem, After creating the billing document, account determination error is coming. Please help, thanks

  • Toshiba AC100 - Browser doesn't open any "https pages"

    How can I resovle this problem ? http://youtu.be/-zGS-J4oxBM http://youtu.be/vQJyzbAmr3g Browser doesn't open any "https pages" and i can't add my Google account. Time is correct.

  • Payments are not updated in FM ledger 9A

    Hi, At the time of Outgoing Payment sytsem is giving following message. Payments are not updated in FM ledger 9A. But if i ignore it, i can post it the same document, But when i am going to reverse it by FB08 or FBRA, Sytems is giving following error