Fetching Supply Scenario based on Installation number ?

Hi All,
I have got an installation number. Can anyone give me the table names from which i can get the installation's supply scenario ?
Thanks,
Hrushikesh

Hi Hrushikesh,
You are talking about the Supply Scenario field in the ES32 transaction. There are following scenarios
001 -Grid Usage for Points of Delivery Supplied By Third Party
002 -Supply for Point of Delivery in External Grid (Tranmission)
003 -Supply for Point of Delivery in Own Grid (Fully Supply)
Usually we choose to keep this field as blank as it keeps on changing with each contract.
It usually tells whether the installation is currently associated with the Retailer or Distributor. You can find that through Service Provider and Invoice Service provider at contract, that in which scenario installation is. But you can choose to keep this field blank also.
Regards,
Manish Bisht

Similar Messages

  • Fetch the records based on number

    Hi experts,
        I have a req like if user give input as 5..it should fetch 5 records from database.
    for example database values are
    SERNR                MATNR
    101                                              A
    102                                              A
    103                                              A
    104                                              A
    105                                              A
    106                                              A
    107                                              A
    If user gives the input as 5 it should fetch 5 records like 101 to 105....Can any body plz help me how to write select query for this..
    Thanks in advance,
    Veena.
    Edited by: s veena on Jan 18, 2011 5:52 AM

    Hi Veena,
    You can use UPTO in your select query. For example
    SELECT MATNR FROM MARA INTO TABLE IT_MATNR UPTO P_NUMBER ROWS.
    "Here P_NUMBER is the Selection Screen Parameter
    It will fetch records based on the number in the parameter.
    Thanks & Regards,
    Faheem.

  • How to fetch MIR4 data based on MB51 refrence number

    hi Experts.
    i want to fetch MIR4 data based on MB51 refrence number.
    I want to fetch below fileds in MIR4 TCODE.
    1.  RBKP-BELNR (Invoice Document NUMBER)
    2. DRSEG-MENGE ( quantity )
    3. DRSEG-WRBTR ( Amount in document currency)
    As mentioned above DRSEG is structure.
    please help me how to fetch 3 data fileds based on my MB51 refrence.( mkpf-xblnr ).
    In MIR4 , Number of External Delivery Note( DRSEG-XBLNR ) is same as my MB51 refrence ( mkpf-xblnr).
    This is the only link avilable to fetch above 3 fields.
    kindly give any suggestions .
    thanks & regards,
    hari priya

    Hi ,
    can anybody give me suggestions .
    What is the table name for fetching above 3 fileld data  . 
    DRSEG  is structure .
    Thanks & regards,
    Hari priya

  • Details of purchasing organization based on vendor number

    Hai experts,
    i want to write a report to extract "the address of supplier and details of purchasing organization based on vendor number"
    : For Supplier Address, i can use EKAN & EKKO table
    : for details of purchase organization means ????
    please help me..

    Hi,
    Take the LIFNR field from EKKO and fetch his address details from LFA1 Table.or take ADRNR field from LFA1 and take other address data from ADRC table.
    Take the EKORG Pur Orgn field and take the details from T024E table.
    reward points if useful
    regards,
    ANJI

  • How to find Installation Number in R3 to create Technical system in XI.

    Hi,
    how to find Installation Number in R3 to create Technical system in XI. can you please help me out.
    thanks
    siva.

    Hi Siva,
    Host name you can find at same location. Not sure about message server port (Basis team shall be able to provide this information)....
    However there is a very simple way fo creating technical system..
    Check out this Michals blog...its very easy
    /people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
    Nilesh

  • Service Desk Issue in SolMan 4.0 - Installation Number differrence

    Hi all,
    I am in the process of setting up Service Desk in SolMan 4.0. When I create a message in my satellite system, the message is sent successfully and appears in my Solution Manager. However, I have red light appearing. This is because I need to provide Sold-To Party and Reported By Business Partner entries in the support message. My understanding, please correct me if I am wrong, is that these entries can be automatically filled based on iBase information. I have followed the IMG to setup the iBase.
    Upon further investigation, I noticed the following problem. My installation number in the satellite should be XXXXXXXXXX, this is reflected in the System Landscape and iBase. But, when I look at the SAP Attributes tab in the Support Message, the installation number is YYYYYYYYYY. I think that this difference is a possible cause of my problem at hand.
    This was the problem as there was an entry in table BCOS_CUST with YYYYYYYYYY in the satellite system. Can anyone tell me where this entry came from? Could this be from configuration of Service Desk?
    Thanks,
    Robert

    Thank you very much!
    The problem is solved!
    Im my case was necessary to apply SAP Note 1055630.
    I have assigned the role "SAP_SM_S_USER_GRP" to the user with RFC_READ connection, refreshed the last alert in DSWP and tha is.
    regards!
    Thom

  • Credit charges based on the number of credit days offered to the customer

    AOA,
    I have a scenario.
    We have credit charges based on the number of credit days offered to the customer. This scenario will be executed on credit sales only.
    Example of pricing, a product mobile is offered to customer A on 20 Days credit
    Mobile   $1000
    10 Days $1000
    20 Days $2500
    Total      $4500 (Invoice Amount)
    Any idea how can I acheive this in SAP.

    Customer A wants to buy product " Mobile "
    Scenario is of Credit sales. Pricing is as follows:
    Price                       $1000
    10 Days                  $1000
    Total After 10 days $2000
    20 Days                    $2500
    Total After 20 days $4500
    Gross Amount         $4500
    The amount of invoice will be $4500.
    If customer pays the amount with in 10 days, then customer only pays $1000.
    If customer pays the amount with in 20 days, then customer only pays $2000.
    If customer pays the amount after 20 days, then customer pays $4500.

  • How to split the IDOCS based on document number change whit out BPM

    Hi all,
    Thanks,for giving the responce..
    Scenario:File to IDoc.
    Problum1 : How to Split the IDocs based on document number change in the source file with out BPM.My file contains document numbers like
    20000092
    20000092
    20000092
    50000050
    50000050
    50000065
    I want 3 IDocs in target system.i.e 1 for 20000092,20000092,20000092
                                                       2 for 50000050,50000050
                                                       3 for 5000006
    By using external definations i am getting 6 IDOCs insted of 3.
    Problum 2:Is there any chnges/modifications in Directory when we are using external definations.
    Could u plz provide me the step by step process(Repository/Directory) with using of external definations.
    Thanks in advance.
    Regards,
    KP

    HI,
    for this no need of BPM.
    You can think of Idoc bundling concept to acheive this-just you need to do the external definition to change the idoc occurence
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    to achieve for each document no, one idoc, you can write small user defined function in the mapping with context handling you an achieve this.
    For this e.g
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • GL account number based on plant number

    Dear All,
    Please let me know how can we find the GL Account assigned for a plant.
    I fetch some data(say A) based on WERKS(plant 101) in ITAB1 and some data(say B) based on GL account number( 0001130101   Estoque Loja Matriz).
    A = 100
    B = 200
    Now , i need to add A and B comparing WERKS and GL account number.
    Is there any way i can relate these two fields ??
    I can explain it clearly if i am not clear .
    Thanks in Advance
    SSK

    Hello,
    To make all things clear. The issue regards regular sale process in ERP, I mean we have sale order, delivery and invoice. There are two financial documents related to it. One of them is a reference to sale invoice and the other one to goods issue material document. In case first of those documents the case is easy, proper financial accounts for posting can be done by settings account numbers in transaction VKOA (Assign G/L account) where among the others I can set account based on customer number. The same thing I need to for my financial document related to MM document. I know I can achieve it by setting additional movement type and assigning to it account number using OBYC general modifications and so on. The point is that I donu2019t like this idea. As a result Iu2019ll get a bunch of movement types created only for FI purposes but I have no slightest idea how to do it any other way.
    Iu2019ll be grateful help and advice.
    Regards
    Pawel Kobylinski

  • LOAD BALANCE (CSS) and Portal Port Number based on Instance Number

    Hi,
    My doubt is about LOAD BALANCE (CSS) and Portal Port Number based on Instance Number.
    I have to install 3 servers machines and 2 servers databases cluster. There will be a HIGH AVAILABILITY environment. There will be a MIGRATION and UPGRADE.
    Today there are 2 servers machines in Windows NLB. Today my production Portal is 6 6.20.
    Once, I did something for LABORATORY TEST. Migration (6 6.40) and Upgrade (7.0)in two other machines. But they were with Windows NLB. When I did the installation, for each server machine and during the instalation I had to give one Instance Number for each and in result there was a different Port Number for each.
    But I accessed both machines throught a virtual url(dns) with a specific port number. And it works!
    NOW, with a HARDWARE LOAD BALANCE _ CSS I don't know how to do.
    A guy who works with it  tell us that couldn't redirect one Port Number for different port numbers. He couldn't configure the CSS like this.
    My question is: Is he write? And if he is, there is a  way to give the same instance number for my 3 new Portal servers machines? Example: 5(02)00.
    Could you understand?
    I need help.
    Regards,
    cheers,
    Nivia

    Nivia,
    I have used F5 for load balancing, I am sure you can do the same with CSS. Yes, you can configure a virtual IP on the load balancer with standard ports (80 or 443) and load balancing the traffic to multiple servers with different ports. You can have different ports for each instance.
    -Regards
    RK

  • Installation number Of Xi is INITIAL

    Hi all
    Installation number of XI is initial in XI server so is it make any diffrance while creating Technical system and Business system. Cuase while I am running one IDOC to File scenario it shows mw that PARTY_SERVICE is not avaiable so is there any relation of Installation number with PARTY_SERVICE.
    Please guide me
    Regards,
    Hiren Patel

    HI
    Thrad was not closed that's answare is in the  response of questation ask by <b>Daniel La Rista</b>
    Reg,
    Hiren Patel

  • Having Two GR/IR  account based on Vendor Number Ranges.

    Dears,
    Requirement of our client is to maintain Two GR/IR accounts based on Vendor number Ranges. I explained, as per standard functionality of SAP we can not have 2 GR/IR accounts based on vendor number ranges since system is checking the valuation class of Material but we can have 2 GR/IR accounts based on the Materials.
    Please suggest me if there is any possiblity  of having the above scenario so that I can add more points.
    Thanks,
    Omprakash

    Hi Shahin,
    You can do this using,
    Material master QM view : Set the control for inspection lot creation as each material document,batch, storage location.
    Inspection plan: Use the dynamic modification at characteristics level.
    DMR: Create a DMR(lets say every 5 deliveries, assuming PO delivered in 5 delieveries) and assign it to each and every characteristics which you want to skip.
    Please let me know whether it helps.
    WR,
    Sanjeev

  • Fetch cursor with a variable column number

    Hello guys,
    this is the first time I write to this forum, as far as I remember. hence, if this is not the right place to ask this question, please point me to the right resource.
    I have the following Procedure (the function split splits a string into an array):
    BEGIN
    /* SPLIT IN GROUPS AND BUILD THE PARAMETER STRINGS */
    tokens_in := string_fnc.split(in_groups, '.');
    for i in 1..tokens_in.count loop
    IDX_REM := i;
    sql_par1 := sql_par1 || ', GRP' || i || '.NAME "GROUP_' || i || '"';
    sql_par2 := sql_par2 || ', DEV_XCSA.WFA_GROUP GRP' || i;
    IF i = 1 THEN
    sql_par3 := sql_par3 || ' AND S.ID = GRP1.FK_PARENT_SEC_ID ';
    ELSE
    sql_par3 := sql_par3 || ' AND GRP' || i || '.FK_PARENT_GROUP_ID ( + ) = GRP' || (i-1) || '.ID';
    END IF;
    end loop;
    sql_par3 := sql_par3 || ' AND SGQ.FK_GROUP_ID ( + ) = GRP' || IDX_REM || '.ID';
    /* BUILD THE QUERY STRING */
    sql_stmt := 'SELECT A.NAME "APPRAISAL" , AQ.NAME "PROJECT" , S.NAME "SECTION"';
    sql_stmt := sql_stmt || sql_par1;
    sql_stmt := sql_stmt || ', SGQ.NAME "QUESTION" , SGQ.VALUE "ANSWER"     FROM DEV_XCSA.WFA_APPRAISAL A, DEV_XCSA.WFA_QUESTIONNAIRE AQ, DEV_XCSA.WFA_SECTION S';
    sql_stmt := sql_stmt || sql_par2;                                             
    sql_stmt := sql_stmt || ', DEV_XCSA.WFA_QUESTION SGQ WHERE A.CPHID = ''' ||USER_NAME || ''' AND A.ID = AQ.FK_APPRAISAL_ID     AND AQ.ID = S.FK_QUESTIONNAIRE_ID';
    sql_stmt := sql_stmt || sql_par3;                                             
    /* RUN THE QUERY */
    OPEN QUEST_CUR FOR sql_stmt;
    You can see that now the select statement has a variable number of return columns.
    I would like to fetch the result of the query in a loop assigning the records to variables or to a record variable.
    But after reading the documentation it looks that I can only declare record variables before the query string is built and there is not an easy way to fetch a cursor into a variable number of variables.
    Is it possible to do what I am trying to do? Can you suggest a better approach?
    Please help me,
    TN

    Tremal Naik wrote:
    Ok, thanks to you both.
    Please, bear in mind that I am really a PL/SQL novice and I may have misunderstood BluShadow's hints.
    I will have a closer look at it and let you know my thoughts.Here's a cleaner commented example that should help you to understand what it's doing...
    SQL> CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2) IS
      2    v_v_val     VARCHAR2(4000);
      3    v_n_val     NUMBER;
      4    v_d_val     DATE;
      5    v_ret       NUMBER;
      6    c           NUMBER;
      7    d           NUMBER;
      8    col_cnt     INTEGER;
      9    f           BOOLEAN;
    10    rec_tab     DBMS_SQL.DESC_TAB;
    11    col_num     NUMBER;
    12    v_rowcount  NUMBER := 0;
    13  BEGIN
    14    -- create a cursor
    15    c := DBMS_SQL.OPEN_CURSOR;
    16    -- parse the SQL statement into the cursor
    17    DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
    18    -- execute the cursor
    19    d := DBMS_SQL.EXECUTE(c);
    20    --
    21    -- Describe the columns returned by the SQL statement
    22    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
    23    --
    24    -- Bind local return variables to the various columns based on their types
    25    FOR j in 1..col_cnt
    26    LOOP
    27      CASE rec_tab(j).col_type
    28        WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); -- Varchar2
    29        WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);      -- Number
    30        WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);     -- Date
    31      ELSE
    32        DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);  -- Any other type return as varchar2
    33      END CASE;
    34    END LOOP;
    35    --
    36    -- Display what columns are being returned...
    37    FOR j in 1..col_cnt
    38    LOOP
    39      DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' - '||case rec_tab(j).col_type when 1 then 'VARCHAR2'
    40                                                                                when 2 then 'NUMBER'
    41                                                                                when 12 then 'DATE'
    42                                                       else 'Other' end);
    43    END LOOP;
    44    --
    45    -- This part outputs the DATA
    46    LOOP
    47      -- Fetch a row of data through the cursor
    48      v_ret := DBMS_SQL.FETCH_ROWS(c);
    49      -- Exit when no more rows
    50      EXIT WHEN v_ret = 0;
    51      v_rowcount := v_rowcount + 1;
    52      DBMS_OUTPUT.PUT_LINE('Row: '||v_rowcount);
    53      DBMS_OUTPUT.PUT_LINE('--------------');
    54      -- Fetch the value of each column from the row
    55      FOR j in 1..col_cnt
    56      LOOP
    57        -- Fetch each column into the correct data type based on the description of the column
    58        CASE rec_tab(j).col_type
    59          WHEN 1  THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
    60                       DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_v_val);
    61          WHEN 2  THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
    62                       DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_n_val);
    63          WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
    64                       DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'));
    65        ELSE
    66          DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
    67          DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_v_val);
    68        END CASE;
    69      END LOOP;
    70      DBMS_OUTPUT.PUT_LINE('--------------');
    71    END LOOP;
    72    --
    73    -- Close the cursor now we have finished with it
    74    DBMS_SQL.CLOSE_CURSOR(c);
    75  END;
    76  /
    Procedure created.
    SQL> exec run_query('select empno, ename, deptno from emp where deptno = 10');
    EMPNO - NUMBER
    ENAME - VARCHAR2
    DEPTNO - NUMBER
    Row: 1
    EMPNO : 7782
    ENAME : CLARK
    DEPTNO : 10
    Row: 2
    EMPNO : 7839
    ENAME : KING
    DEPTNO : 10
    Row: 3
    EMPNO : 7934
    ENAME : MILLER
    DEPTNO : 10
    PL/SQL procedure successfully completed.
    SQL> exec run_query('select * from emp where deptno = 10');
    EMPNO - NUMBER
    ENAME - VARCHAR2
    JOB - VARCHAR2
    MGR - NUMBER
    HIREDATE - DATE
    SAL - NUMBER
    COMM - NUMBER
    DEPTNO - NUMBER
    Row: 1
    EMPNO : 7782
    ENAME : CLARK
    JOB : MANAGER
    MGR : 7839
    HIREDATE : 09/06/1981 00:00:00
    SAL : 2450
    COMM :
    DEPTNO : 10
    Row: 2
    EMPNO : 7839
    ENAME : KING
    JOB : PRESIDENT
    MGR :
    HIREDATE : 17/11/1981 00:00:00
    SAL : 5000
    COMM :
    DEPTNO : 10
    Row: 3
    EMPNO : 7934
    ENAME : MILLER
    JOB : CLERK
    MGR : 7782
    HIREDATE : 23/01/1982 00:00:00
    SAL : 1300
    COMM :
    DEPTNO : 10
    PL/SQL procedure successfully completed.
    SQL> exec run_query('select * from dept where deptno = 10');
    DEPTNO - NUMBER
    DNAME - VARCHAR2
    LOC - VARCHAR2
    Row: 1
    DEPTNO : 10
    DNAME : ACCOUNTING
    LOC : NEW YORK
    PL/SQL procedure successfully completed.
    SQL>As you can see, you can use DBMS_SQL to query any SQL string you like, regardless of the number of returned columns and their datatypes and the DBMS_SQL package can tell your code all the information it needs to know so that it can read the names, datatypes and data from that query.

  • Supply scenario for single contract model

    Hi together,
    in normal case, a differnentiation in the supply of a point of delivery is made, using the supply scenario.
    There it is defined, if it is only a grid usage, supply or any other kind of business scenario.
    Now my question is:
    does it make sence, to implement the functionality of the supply scenario, when I have a company in a country, that still has a single-contract-model (grid-usage and supply in one contract) ?
    Where the differentation is made in the rate category on installation level and via the billing master data ?
    And where only big customers ( > 100.000 kwh) are allowed to swich suppliers as they want to.
    I have searched for information in this case, but did not really found any that is telling, that it is worth implementing it or stating, no, better not, because using the supply scenario functionality does only make sence, when implementing a two-contract-model (even in one SAP IS-U client) ?
    What do you recommend / suggest / think ?
    Thank you for your help and effort.
    Kind regards,
    Manuel

    Manuel:
    The supply scenario is used to define the service providers at the POD and contract – it was designed to provide the ability to automatically assign service providers to the POD and contract. It was designed to enable customers to implement using the single contract model; it can be used for a multiple contract model as well.
    Supply scenario uses MDT to assign service providers and update master data (e.g. rate category). It is possible to copy the standard MDT and provide rules on how the master data is updated when there is a supply scenario change. 
    regards,
    bill.

  • How to increment a value in a textfield based on page number

    Hi,
    I am doing PDF based print forms which is non interactive, i got a requirment where i have to increment the binded value of a text field based on page number.
    presently i am using this code in initialize event of that textfield.
    var curpage = $layout.page ( ref ( $ ) )
    var totpages = $layout.pageCount()
    $.rawValue = $.rawValue - totpages
    $.rawValue = $.rawValue + curpage
    but this is not helping me, can anyone help me regarding this

    Thanks for yor reply.please you can tellme clearly how to set use 'NQ_SESSION.USER' to set the value to logged in User.i.e i have circle table in that users and circle names will be there.it is teradata database.so how can i set that in to the dashboard prompt and one thing along with that prompt the follwing prompts will be there
    mobile no<>
    date<>
    circle name<"user">
    this is my requirement so please help me step by step what to do for achiving this.
    thanking oyu

Maybe you are looking for