No values in KSII

While running the Actual Activity Price calculation through KSII, I am not getting the values. Everyhting is coming Zero.
What are the settings I should Look for. Is it related to Cost component split.?
Regards
Kamlesh

KBK6 is to input the cost.
I think it is because of Iterative price calculation . Can u pl. tell me where u2018Purely Iterative Priceu2019 in customization for Plan Version u20180u2019 is maintained.
Regards
Kamlesh

Similar Messages

  • Actual Price Calculation (KSII)

    hi,
    I am not able to get the actual prices for my production order.
    I maintained certain settings for actual price calculation in OKEQ.
    Does it is mandatory to run the MFN1 (Revaluation of actual prices) before the KSII.
    Srinivas

    Hi Sateesh,
    Please find below the process for calculation of Actual Activity Prices:
    1. Define Splitting structure, rules (method). I am sure you would have done this
    2. Assign the splitting structure to Cost Centers. I hope you would be done this as well
    3. Actual values (Costs and quantitative details) will get collected to cost centers in the following way:
         - Quantities will get collected to Cost Centers once the confirmation of activities are done for the        production order.  Please make sure that "Record Quantity" check box is selected for the relevant secondary cost elements. 
         - Values will get collected from FI to the primary cost elements
    you may check whether the values have been properly collected to the cost center using the cost center reports
    4. Execute cost Split using - KSS2
    5. Then calculate Actual activity unit price - KSII
    6. Once the prices are successfully calculated, you can check the prices in KP26
    7. after this process is completed then you can revaluate you production orders using the actual activity prices
    I hope i made is clear.
    Let me know if you need further details in this regard
    Surya

  • Activity prices maintained manually..Is KSII/MFN1 possible?

    Hi Experts,
    We have this scenario:
    1. Activity prices are entered manually in KP26.
    2. All Costs are maintained as Activity independent costs.
    3. For Production Cost centers, some costs (primary costs) are Activity relevant and others not relevant at all for Activity.
    4. No Splitting structure maintained so far.
    Now, we are considering calculating Actual Activity prices through KSII and then MFN1 for revaluating Process orders.
    I tried KSII in our test system, where I got the following error message # KP211. I even tried by maintaining the Actual Activity type category '01' and Actual price indicator '05' in AT master, but no luck.
    Short Text
    All activity prices are manually entered
    Diagnosis
    All activity prices in controlling area , fiscal year , and version were determined and set as manually entered prices.
    In actual price calculation, all plan activity prices, meaning those calculated automatically (activity price indicator 1 and 2) and those set manually (activity price indicator 3), are treated as if they have been set manually.
    System Response
    The SAP System cannot calculate activity prices automatically.
    Processing is cancelled.
    Procedure
    Check your activity type planning. To calculate the activity price automatically, you must set the activity price indicator accordingly.
    Proceed
    Questions:
    1.Given our case, is it possible to do KSII/MFN1? If yes, what configuration and master setup is required?
    2. What accounting/CO entry posted MFN1. Especially, want to know if value also posted to CO-PA?
    Thanks much for your time.
    SC

    Hi SC,<br>
    <br>
    sorry for my delay.<br>
    <br>
    Yes, you can process KSII even if you maintained planned activity prices manually. For this, the Activity type master should be activity price indicator "5" for Actual, hoever it's defalt value for planning (KP26).<br>
    Could you check activity planning value in your period as follows;<br>
    <br>
    1. Go to transaction KP26<br>
    2. Selection screen;<br>
        Set  your version and year/period and also cost center/activity types in problem.<br>
        Push Next Layout button (Ctrl + F8) and set layout 1-204 (named "Control indicators").<br>
    3. Push "Overview screen" (F5)<br>
    <br>
    You can see plan price indicator and also ACTUAL price indicator, so you have to check if actual price indicator is not "7" or "Blank". If not, please set it with value "5" or "6".<br>
    Hope you can understand what I wrote above, but if you have any queries, please feel free to ask me.<br>
    <br><br>
    Additonaly about your question regarding "activity independent" cost planning<br><br>
    In F1 help document for field "Equivalence Numbers", there're useful description how activity-independent costs allocates activity type and activity prices calculates. If you do not use cost split or activity-depend planning, you can process activity price calculation by "Equivalence Numbers". it's easy-way to allocate cost to each activity type. you can see this field also in KP26 with layout 1-201 (sample)<br><br>
    the following passage from field "Equivalence Numbers" F1 document.<br>
    <br><br>
    - Equivalence Numbers<br>
    Weighting factor for distribution of activity-independent plan costs of a cost center onto the available activity types.<br><br>
    - Use<br>
    This field group serves to weight the activity types created in a cost center. After weighting, the activity-independent plan costs of a cost center are distributed onto the available activity types.<br><br>
    -Procedure<br>
    If you want to change or create equivalence numbers in planning, this field must be defined in the planning layout. If this field is not defined, any existing equivalence numbers will be displayed, but they cannot be changed.<br><br>
    Examples<br>
    You have planned the following activity types for cost center 4420:<br>
      Activ. type    Plan quantity   Equiv. nr.<br>
    <br>
      FST            400 hrs            3<br>
      REP              50  hrs            1<br>
      RST              20  hrs            1<br>
    <br>
                                Total:    5<br><br>
    This cost center has planned activity-independent costs worth $20,000 . These costs are distributed according to activity price calculation onto the iteratively calculated activity prices (cost rates) of the activity types:<br>
    ATyp       Fixed costs           Fixed portion of activ. price<br>
    <br>
    FST    20,000 X 3/5 = 12,000     $12,000 / 400 hrs =   30 $/hr<br>
    REP    20,000 X 1/5 =  4,000      $4,000 /  50 hrs =   80 $/hr<br>
    RST    20,000 X 1/5 =  4,000      $4,000 /  20 hrs =  200 $/hr<br><br>
    Edited by: Takashi Kotani on Feb 9, 2010 7:55 PM

  • How to delete a activity type from KP26 which has executed KSS2 and KSII?

    Hi experts,
    I maintain three activity type to one cost center by KP26
    cost center 1:
       activity type 1
       activity type 2
       activity type 3
    last month I run KSS2 to split the price and also run KSII, so these three activity already have actual cost.
    This month I find activity type 3 should not be assigned to cost center 1, so I want to delete it from KP26 , but the system didn't let me to delete it , how to resolve this problem??
    error message:
    Costs already posted under cost element 6100016. No deletion possible   Message no. K8098
    Under cost element 6100016 there is a splitting record. No deletion p          Message no. K8082
    Plan values exist in other periods. No deletion possible.                                  Message no. K8085
    Actual price for P111CN33/PMT001 already entered; Deletion not possib    Message no. K8184
    thanks very much
    lance

    Hi,
    Please check the long text of these messages, it explains clearly. There are plan/actual dependent data existing for related cost elements, before deleting the records for cost center/activity type, all the dependent data must be deleted first.
    1. Run RKACSHOW to check on those entries!! Please first ensure   COKA entries deleted. You may delete the COKA entries by
       executing the program RKPLNC18.
    2. Subsequently, CSSL entries for cost centre and activity type,   use RKPLNC29 and then the actual CSSL entries with RKPLNC13.
    3. You may use RKPLNC39 to delete a COKP records once the   no corresponding COKA exists.
    4. COSS, COKS, COKP and COKL records could be deleted via KP06.
    Please notice, that even if you reverse all postings for the relevant object, the records in the CO tables still exist even
    if the balance value is 0.
    These records prevent the deletion.
    regards
    Waman

  • KSII actual activity price issue

    Hi All
    I want system to calculate the activity price automatically after running KSII and should update it in KBK6 so that i can revaluate production order with actuals by running MFN1. Now i have done all the configuration required and my plan cost are getting updated after i run KSPI and same is getting update in KP26 and are also showing in KBK6 under plan cost nd can be seen in Cost center reports under plan cost. Problem is with actuals
    I have been reading the forum regarding this issue and all the inputs given by experts is been checked but i think iam missing something either a step in calculating the actuals or may be some tick in configurations
    Kindly let me know the solution for an  issue iam facing .
    Thanks in advance
    Invin

    Hi Surya
    I had already done the setting in OKEW and all splitting structure configuration. Base on that my plan cost is been distrbuted in two different activities. Planning has been done in KP06 and after doing that only i ran the transaction KSPI.
    But ya you got a point thats what iam feeling that there is some thing missing in my config settings which i already mentioned in my earlier posts.
    What is the prb iam not able to recoganize kindly if you can give me some detailed information what could be the reason?
    For your information i would like to tell briefly what i did so far:
    1. IN configuration i defined splitting structure Say T1
    2. then by selecting T1 i cllicked in assignment and  assigned splitting rule say T10
    3. then by selecting T10 i clicked on "Selection for assingment" in this screen i mentioned only one cost element say  55000000 in   "from value"  "to value" and in activity type i mentioned "from" 106010 "to" 106030
    4. then i clicked back icon and selected "Splitting rules" which is T10 in my case and method i mentioned is "12- Activiy quanitity" and checkd the box called "Wt- Weighting Indicator"
    5. then i selected my rule T10 and clicked on "Selection for rules" and here i mentioned my version that is 0
    6. then i did config setting "Assign Splitting Structure to Cost Centers" over here i assined this rule to only one cost center say 31010401 in parameters i selected version radio box and entered 0 there
                  These all what i did in configuration settings
    Now after this i did planning KP06 entered my cost center that is 31010401 and only mentioned my cost element which is 55000000 with my activity type 106010 and 106030 here i didn't took 106020  in consideration. Now these values are coming in my cost center plan report on debit side and then i ran KSPI cost got splitted in both the activiy types in credit side in planning section of cost center but the prb is the same which you know Actuals are not coming
    Kindly put a light what could be the reason?
    Thanks
    Invin

  • KSII doesn't recalculate activity rates

    Hi,
    I've taken the following steps in order to configure cost splitting through activity types:
    Configured transactions OKEQ and OKET
    Created an activity type in KL01
    Created a splitting structure in OKES, defining cost splitting to a certain group of cost element and an activity type
    Associated the cost centers to the splitting structure in OKEW
    Planned activity rates in t-code KP26
    and, after real expenses posts...
    executed transaction KSS2 (and it seems to be ok. The activity type appears on the details screen, etc.)
    executed transaction KSII (as a test)
    But, the real price isn't recalculated. The activity price planned (KP26) was:
    Capacity: 176h - Unit.P $ 200,00.
    Real posts were:
    5h of activity (that generated posts of $ 1.000,00), and $ 5.500,00 of fixed costs in the period.
    So, I'm trying to recalculate the activity rates in order to split the other $ 4.500,00 not alocated.
    But, KSII doesn't update the activity rates. It keeps the planned values.
    Is there any other configuration I'm forgetting?

    All the relevant screens...
    KL02
    OKES
    REPORT
    KSPI
    KSS2
    And after KSII...
    KBK6
    KSTB

  • Error actual price (T-CODE KSII)

    Hi,
    I'm calculating the actual price (T-CODE KSII), when I Go to / components, the values ​​per element not close to the values ​​that are in Class Cost T-CODE S_ALR_87013611 the report.
    OKTZ the already checked and all classes are included cost.
    What can be?
    hugs,
    Cristiane

    It shows that you have not posted any Activities in that period , for which you want to do the price calculation. Please check your cost center line item (KSB1)report and check whether system has any Qty data for these activtiy type in that period.
    regards
    Ranjan

  • CALCULATION OF ACTUAL PRICE CALCULATION  - KSII

    Dear Friends,
    We are using Make to Order scenario and NOT USING Sales order based costing, I would like to calculate Automatic activity price calculation and revaluate my production order with actual prices (MFN1), for this I need to create & assign splitting rules to cost centers & follow the t.codes KSS2, KSII, KBK7 (DISPLAY) and finally MFN1.
    For Calculation of KSS2, how Plan Quantity has to be decided, this because for calculating Operating rate system take the formula as below, whether the below formula is correct?
    Actual quantity/ Planned quantity * variable price
    If for a cost center, postings are happened in FI for 10000/- then how system calculate & segregate this?
    if possible with an small example, when checked in KSS2 it shows the amount of postings from FI with cost elements.
    But when we checked t.code KSII it was showing the some different Actual Activity and variable price. How system takes the Actual activity and Variable Price and is there any report to check this?
    please guide me
    Regards,
    Sandeep
    Edited by: sandeep jain jain on Nov 2, 2009 4:15 PM

    Hi Paolo,
    You were exactly right that it was rounding off.
    But still am not able to get the calculation working for me.
    In Cost Center Report Actual/ Plan it shows
    Debit Assessment Cost Element 10000
    Credit Machine Hour 458.16-
    Credit labour Hour 124.96-
    over/under Absorption 9,416.88
    This are all actual cost.
    When i run KSII the result is as below
    Oty  Object                        Name                    AUn              Activity Qty Total Price     Price(Fixed) PUnit
    ATY MBX273/L1                Testing CCTR         H                 1.666         3,001.20         3,001.20      1
    ATY MBX273/M1                Testing CCTR         H                 1.666         3,001.20         3,001.20      1
    I am not getting how this value  3,001.20  is calculating.
    Kindly help me to under stand this
    Edited by: lolu jo on Oct 28, 2011 3:57 PM

  • Get all values from request.getParameter

    In ASP, I can do something like that...
    For each item in Request.Form
    Response.write "Name is:" & item & " value is:" & Request(item)
    Next
    How about in JSP? How do i get the names and values of the form using a loop?

    You can use request.getParameterNames() which will return an enumeration, then you can iterate through the enumeration and use request.getParameterValue(String paramName) method to get the values.

  • Error while assigning a character value to a numeric variable.

    I fire a sql statement and check the number of rows returned by the sql.
    I check this result with the application logs.
    The application logs keeps the sqls fired by the application and the no of rows returned, in the example below the sql returned 8454 rows.
    My script compares the two results.
    ***********Application Log***********
    4/14/2008 11:15:01 AM: 0059 SQL SELECT "CLUSTER_CD",
    4/14/2008 11:15:01 AM: 0060 "PRODUCT_DESC",
    4/14/2008 11:15:01 AM: 0061 "TEAM_CD"
    4/14/2008 11:15:01 AM: 0062 FROM "OPS$TMS"."MAP_CLUSTER_TEAM_PROD"
    4/14/2008 11:15:01 AM:      3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD, 8,454 lines fetched
    ***********Application Log***********
    My script:
    #!/bin/ksh
    typeset -i resA
    typeset -i resB
    opstms_conn_string="abc/[email protected]"
    set `sqlplus -s $opstms_conn_string << EOF
    set pages 0
    WHENEVER SQLERROR CONTINUE
    SELECT count(*)
    FROM MAP_CLUSTER_TEAM_PROD;
    exit
    EOF`
    resA=$1 ##returns 8454
    resB=`grep '3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD,' BCVP_Main_Loader.qvw.log | awk '{print $10}'`
    ##resB returns 8,454
    ## here i get syntax error
    if [ $resA -eq $resB ]; then
    echo "QA passed for sql1"
    else
    echo "QA failed for sql1"
    fi
    The problem is as resB is integer variable it does not accept character value: 8,454 so returns a syntax error:
    How do I change the value assigned to resB into a numeric variable?
    error:
    + grep 3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD, BCVP_Main_Loader.qvw.log
    run.ksh[52]: 8,454: syntax error

    Change:
    resB=`grep '3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD,' BCVP_Main_Loader.qvw.log | awk '{print $10}'`
    to this:
    resB=`grep '3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD,' BCVP_Main_Loader.qvw.log | awk '{print $10}' | tr -d ,`
    to drop the comma. Or you could do it in awk(1):
    resB=`grep '3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD,' BCVP_Main_Loader.qvw.log | awk '{ gsub( /,/, "", $10 ); print $10}'`
    Or you could to it all in awk(1):
    resB=`awk '
    /3 fields found: CLUSTER_CD, PRODUCT_DESC, TEAM_CD/ {
    gsub( /,/, "", $10 )
    print $10
    ' BCVP_Main_Loader.qvw.log`
    (This example was not tested, it's just for a model.)
    Someone more of an SQL guru than I can probably tell you how to change your numeric locale to avoid presenting those commas in the first place and avoid the problem.
    HTH

  • Issue in Creation of new Value Field in CO-PA

    Hi,
    I have a query in CO-PA Value Field Linking.
    In my Development Client,
    1. Created a New Value Field (No Transport Request Generated)
    2. Linked to the above to new Conditon type created in SD. (Tranport request was generated) i.e. in Flow of Actual Values->Transfer of Billing Documents->Assign Value Fields
    However then i try creating a new Value Field in my Production Client it throws a message 'You have no authorization to change Fields".
    Is this an issue with authorization or i need to transport the Value field too from Development to Production client.
    Please Advise.
    Thanks in Advance,
    Safi

    Thanks Phaneendra for the response.
    The creation of Value field did not create any tranportation request. Will this too be transported if i transport the Operating Concern.
    Please Advise.
    Thanks,
    Safi

  • Query help : Query to get values SYSDATE-1 18:00 hrs to SYSDATE 08:00 hrs

    Hi Team
    I want the SQl query to get the data for the following comparison : -
    Order Created is a Date Column , and i want to find out all the values from (SYSDATE-1) 18:00 hours to SYSDATE 08:00 hours
    i.e.
    (SYSDATE-1) 18:00:00 < Order.Created < SYSDATE 08:00:00.
    Regards

    Hi, Rohit,
    942281 wrote:
    If i want the data in the below way i.e.
    from (SYSDATE-1) 18:00 hours to SYSDATE 17:59 hours ---> (SYSDATE-1) 18:00:00 < Order.Created < SYSDATE 07:59:00.If you want to include rows from exactly 18:00:00 yesterday (but no earlier), and exclude rows from exatly 08:00:00 today (or later), then use:
    WHERE   ord_dtl.submit_dt  >= TRUNC (SYSDATE) - (6 / 24)
    AND     ord_dtl.submit_dt  <  TRUNC (SYSDATE) + (8 / 24)
    So can i use the below format : -
    ord_dtl.submit_dt BETWEEN trunc(sysdate)-(6/24) and trunc(sysdate)+(7.59/24) . Please suggest . .59 hours is .59 * 60 * 60 = 2124 seconds (or .59 * 60 = 35.4 minutes), so the last time included in the range above is 07:35:24, not 07:59:59.
    If you really, really want to use BETWEEN (which includes both end points), then you could do it with date arithmentic:
    WHERE   ord_dtl.submit_dt  BETWEEN  TRUNC (SYSDATE) - (6 / 24)
                      AND         TRUNC (SYSDATE) + (8 / 24)
                                               - (1 / (24 * 60 * 60))but it would be simpler and less error prone to use INTERVALs, as Karthick suggested earlier:
    WHERE   ord_dtl.submit_dt  BETWEEN  TRUNC (SYSDATE) - INTERVAL '6' HOUR
                      AND         TRUNC (SYSDATE) + INTERVAL '8' HOUR
                                               - INTERVAL '1' SECONDEdited by: Frank Kulash on Apr 17, 2013 9:36 AM
    Edited by: Frank Kulash on Apr 17, 2013 11:56 AM
    Changed "- (8 /24)" to "+ (8 /24)" in first code fragment (after Blushadown, below)

  • Unable to capture return values in web services api

    At the time of login to web services if my server is down ,
    it returns following error :
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
            at java.lang.String.substring(String.java:1438)
            at java.lang.String.substring(String.java:1411)
    I want to capture this error so that i can try another server to login. how do i capture this error
    Another place where i want to capture the return Value is when i look for a report on the server
    rh = boBIPlatform.get("path://InfoObjects/Root Folder/"src_folder"/" + reportName +
                               "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    oInfoObjects = rh.getInfoObjects();
    CrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    Here if the report is not there on the server , it returns a null handler exception.
    but if i try catching it by checking my responsehandler is null  like rh == null  it does not catch it.
    Any help will be appreciated
    thanks
    Rakesh Gupta

    Ted : i have two cases
    1)   server = server_st.nextToken();
        providerURL = "http://"server"/dswsbobje/services";
        sessConnURL = new URL(providerURL + "/session");
       Connection boConnection = new Connection(sessConnURL);
       Session boSession = new Session(boConnection);
      EnterpriseCredential boEnterpriseCredential = new    EnterpriseCredential();
                  boEnterpriseCredential.setLogin(userid);
      boEnterpriseCredential.setPassword(pwd);
      boEnterpriseCredential.setAuthType(auth);
    SessionInfo boSI = boSession.login(boEnterpriseCredential);
    I have got a list of servers running web servcies stored in my tokens. when i pass the first server name say " test:8080" and that server is down , i want to catch somewhere in the code above that it did not get the connection so that i can loop back and try with the second server say test1:8080
    This is for failover purposes.
    at present when i was trying to capture return value of boSI it  breaks giving the error
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1438)
    at java.lang.String.substring(String.java:1411)
    2nd case :
    I am geeting reports from the server and scheduling them:
    i run the following code which works fine if reports is there
    rh = boBIPlatform.get("path://InfoObjects/Root Folder/"src_folder"/" + reportName +
    "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    oInfoObjects = rh.getInfoObjects();
    CrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    Here if  the  report  is not there on the server  then i should be able to catch from the response handle rh that it has got a null value.
    but rh does not return a null value 
    the code ultimately throws a null handle at the following line
    CrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    i am not able to catch the null value there also.
    hope you got my issue.

  • Unable to capture the parameter values from a PL/SQL procedure

    hi.
    i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
    Please help me regarding.
    i'm using following block for calling the procedure.
    declare
    err_cd varchar2(1000);
    err_txt VARCHAR2(5000);
    no_of_recs number;
    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
    cntr_var number:=0;
    begin
         rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
         dbms_output.put_line('The error is ' ||err_cd);
         dbms_output.put_line('The error is ' ||err_txt);
         dbms_output.put_line('The cntr is ' ||cntr_var);
         for incr in 1 .. OUT_SIGN_TAB.count
         loop
         cntr_var := cntr_var + 1 ;
    Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
    end loop;
    end;
    Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
    Following is some related information.
    the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
    TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
    TYPE "SEARCH_SIGN_TYPE" AS OBJECT
    (ref_no VARCHAR2(22),
    ciref_no VARCHAR2(352),
    ac_no VARCHAR2(22),
    txn_type VARCHAR2(301),
    objid VARCHAR2(1024))............

    We don't have your rt843pq procedure, but when commenting that line out, everything works:
    SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
      2  (ref_no VARCHAR2(22),
      3  ciref_no VARCHAR2(352),
      4  ac_no VARCHAR2(22),
      5  txn_type VARCHAR2(301),
      6  objid VARCHAR2(1024))
      7  /
    Type is aangemaakt.
    SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
      2  /
    Type is aangemaakt.
    SQL> declare
      2    err_cd varchar2(1000);
      3    err_txt VARCHAR2(5000);
      4    no_of_recs number;
      5    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
      6    cntr_var number:=0;
      7  begin
      8    -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
      9    dbms_output.put_line('The error is ' ||err_cd);
    10    dbms_output.put_line('The error is ' ||err_txt);
    11    dbms_output.put_line('The cntr is ' ||cntr_var);
    12    for incr in 1 .. OUT_SIGN_TAB.count
    13    loop
    14      cntr_var := cntr_var + 1 ;
    15      Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
    TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
    16    end loop;
    17  end;
    18  /
    The error is
    The error is
    The cntr is 0
    PL/SQL-procedure is geslaagd.Regards,
    Rob.

  • Unable to capture field values in Master agreement  Line Items

    I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
    agreementBean = doc.getRootParentIBean();
    lineItemCollection = agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    for(i=0;i<collectionsize;i++){
         collectionbean = lineItemCollection.get(i);
         partNum = ""+collectionbean.getPartNumber() ;
         Quantity = ""+collectionbean.getQuantity();     
         throw doc.createApplicationException(null,partNum + " , " + Quantity );
    Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
    1. Price Unit
    2. Unit Price
    3. Product Category
    4. Plant
    Please help me to find the values.
    Thankx in Advance.
    Su
    Edited by: subrataindra on Aug 10, 2010 11:11 AM

    This will return the name of the plant.
    .getExtensionField("PLANT").get().getDisplayName(session);
    Check if this returns the product category
    collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
    This will Return the Price
    collectionbean.getExtensionField("PRICE").get().getPrice();
    (return type :BigDecimal)
    This will return the currency
    collectionbean.getExtensionField("PRICE").get().getCurrency;
    (Return type:String)
    Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
    Hope this helps
    Regards,
    Immanuel

Maybe you are looking for

  • Merge Lync 2013 Edge servers in same pool

    Hi guys. - We had Lync 2013 FE STD version. - We have added one more Lync 2013 FE STD and done front end pool pairing. - We had single Edge Pool, soo only 1 EDGE server being in 1 POOL. We wish to add another Edge server and put previous and this new

  • My ZTE OPEN C reboot randomly

    My phone is OPEN ZTE C (bougth in France) My OS version is 1.3 Sometimes, firefox OS restart when hit was in stand by. I don't know why. No application are opened when the problem came.. I have the model since 1 month and it reboot 5 times.

  • Editing PDf docs

    to edit an existing pdf document, which adobe product do I need to complete this task?

  • Um... where'd the ID3 tag option go?!?

    What happened?! When did this disappear!?? ...I've read the other posts on this issue, but there's been NO SOLUTION. And, NO, it's not in the contextual menu. Seriously. This is crazy... WHERE IS IT!?

  • Can not eject CD after playing

    After installing 7.7 (43) I lost the capability to eject a CD without quitting ITunes. I open I Tunes and using the lower right button to eject will not eject. Screen indicates the itunes is being used by another program. I have to get out of itunes