Modify Plant Code on Contract Plant Condition

Hello Everybody,
I have a doubt on contract, during the definition of a plant condition.
The user creates a contract (ME31K) and defines a plant for it, but if he need to change the plant code (by a mistake or doesn't need to be in the conditions anymore), he can't remove or modify.
There is a way to do something like that?
Thank You!
Raphael Palmieri

Hi,
Do refer the below OSS Notes it may help you..
68378 - Plant conditions in the case of contract items with plant?
121553 - ME31, ME32: Plant conditions with plant " "

Similar Messages

  • Contract - Plant Conditions - Different delivery times for plant

    Hi people,
    I have a question about contracts , in transaction ME32K.
    I enter a Contract number
    Edit -> Plant Conditions menu.
    Select a plant and I can enter a different Net Price for each item for this plant. How can I enter "Planned Delivery Time" for each item for this plant?
    In this case, the vendor has different delivery times for each plant and I cannot enter this information.
    Do you know if it is possible?
    Thanks a lot!

    Hi,
        The basic requirement is for the trading of material which is imported  and for the material which are purchase locally there should be different invoice for such materials,  but while creating the sales order we have only one sales order including all types of materials so in such case we want to create different delivery challans  so that different invoice can be made easily  or only twi invoice for one delivery challan.
    regards,
    zafar

  • Why can't plant condition price modification transfer to ecc

    Why can't plant condition price modification transfer to ecc
    the modification is delete.
    please help fix,
    thank you in advance

    Hi there,
    1241529  Percentage discount condition transferred to backend as 0
    If you are on SRM 4 maybe try these.
    1168896 Plant specific price not passed to the item price
    1171460 GOA: Plant passed at item level in plant-specific conditions
    Hope this helps,
    Kind Regards,
    Matthew

  • Modify target value in contract to be more than 1 000 000 000 LE

    I am working in ECC6, MM module,
    i want ask some quistions,
    1-modify target value in contract to be more than 1 000 000 000 LE.
    2-printing all un released documents.
    3-all available reports detailed in MM.
    4-modify percentage in fields to be 3 digits instead of 2 digits.
    BR,
    Amr Awad

    Hi,
    if you need to create an appropriate content structure, you have to consider many aspects. If the amount of content is small, many of these aspects are not that important, but if the number of elements/pages are getting larger, they will get important.
    One aspect to know is the way how this content is accessed. Is your primary access pattern search or browse? In the search case the location of an element can be quite random, but when you browse you will follow an (intuitive) pattern.
    Another aspect is the the kind of access. Do you have many create/delete operations? Only read?
    Then: Are these content elements maintained by the system itself (for example by an automatic importer) or are editors required to work on these elements?
    The better you can answer such questions, the better it's possible to model a content structure. In practice of CQ5/CRX a few patterns have established like
    Natural Hierarchy (like: continent/country/state or brand/branch/product/)
    A total ordering of all elements can be established (like postal codes: There you can structure by the orders of the numbers: 5368 could become /5/3/6/8)
    A total ordering of elements is being created artificially by hashing methods. This approach cannot/should not be used for content which is maintained by humans.
    (and probably more)
    In any way I would recommend you to check David's model at http://wiki.apache.org/jackrabbit/DavidsModel
    kind regards,
    Jörg

  • Help for Modifying the Code for display a 7 column table

    Hi,
    Is someone can help me to modify that code I have a 7 colomn table and as many row as their is results?
    Right now, All my result are in a 1 colomn table and and 1 row,
    thanks,
    Roseline
    DECLARE
      vtemp  varchar2(4000) DEFAULT ' ';
    BEGIN
      htp.p('<HTML>');
      htp.p('<HEAD>');
      htp.p('<TITLE>DISQUES C</TITLE>');
      htp.p('</HEAD>');
      htp.p('<BODY>');
    FOR idx IN
        SELECT DVD_ID, NomFichier,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier  ASC) AS rna,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
          FROM elements
         WHERE PROJET_ID = 1
      ORDER BY DVD_ID ASC, rna ASC
          loop
            IF idx.rna = 1
            then
              htp.p('<TABLE>');
              htp.p('<TR>');
              htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
              htp.p('</TR>');
              htp.p('<TR>');
            end IF;
            vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
            IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
            then
              htp.p(vtemp);
              vtemp := ' ';
            end IF;
            IF idx.rnd = 1
            then
              htp.p('</TR>');
              htp.p('</TABLE>');
            end IF;
          end loop;
    htp.p('</BODY>');
    htp.p('</HTML>');
    end;

    Sorry:
    I have a table contening PROJECT ID, DVD ID and FILES NAME (NomFIchier) that are on the DVD.
    In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
    1 DVD can contain from 5000 files
    ex:
    Ex:
    select DVDNAME, NomFichier  fromTABLE where project = 2
    *85*
    2635080     2636608     2637084     2637091     2637092      2637093     2637147  
    2637152     2637153     2637154     2637155     2637156      2637157     2637164      
    *86*
    2639497     2639498     2639502     2639504     2639505     2639506     2639507  
    2639508     2639509     2639511     2639512     2639519     2639521     2639522        
    *******     *******     *******     ********    *********    ********    ******** With this code following code,
    DECLARE
      vtemp  varchar2(4000) DEFAULT ' ';
    BEGIN
      htp.p('<HTML>');
      htp.p('<HEAD>');
      htp.p('<TITLE>DISQUES C</TITLE>');
      htp.p('</HEAD>');
      htp.p('<BODY>');
    FOR idx IN
        SELECT DVD_ID, NomFichier,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier  ASC) AS rna,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
          FROM elements
         WHERE PROJET_ID = 1
      ORDER BY DVD_ID ASC, rna ASC
          loop
            IF idx.rna = 1
            then
              htp.p('<TABLE>');
              htp.p('<TR>');
              htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
              htp.p('</TR>');
              htp.p('<TR>');
            end IF;
            vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
            IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
            then
              htp.p(vtemp);
              vtemp := ' ';
            end IF;
            IF idx.rnd = 1
            then
              htp.p('</TR>');
              htp.p('</TABLE>');
            end IF;
          end loop;
    htp.p('</BODY>');
    htp.p('</HTML>');
    end;I have the following result
    85
    2635080      2636608      2637084      2637091      2637092      2637093      2637147      2637152      2637153      2637154      2637155      2637156      2637157      2637164      2637169      2637170      2637172      2637173      2637202      2637203      2637213      2637214      2637215      2637216      2637217      2637218      2637219      2637220      2637234      2637235      2637236      2637237      2637239      2637240      2637241      2637242      2637244      2637246      2637247      2637249      2637250      2637251      2637252      2637253      2637257      2637263      2637266      2637269      2637270      2637274      2637276      2637279      2637284      2637290      2637291      2637292      2637293      2637294      2637295      2637296      2637301      2637303      2637304      2637305      2637306      2637311      2637320      2637322      2637324      2637331      2637333      2637336      2637352      2637353      2637354      2637358      2637359      2637360      2637361      2637362      2637363      2637364      2637371      2637378      2637383      2637384      2637385      2637386      2637387      2637388      2637391      2637392      2637395      2637400      2637405      2637412      2637418      2637419      2637423      2637443      2637446      2637453      2637461      2637470      2637483      2637484      2637485      2637494      2637502      2637506      2637507      2637519      2637532      2637536      2637537      2637539      2637540      2637541      2637544      2637553      2637554      2637555      2637557      2637575      2637578      2637579      2637580      2637581      2637582      2637583      2637587      2637588      2637589      2637590      2637591      2637592      2637593      2637594      2637595      2637597      2637604      2637605      2637606      2637611      2637619      2637628      2637629      2637630      2637631      2637632      2637633      2637637      2637645      2637647      2637648      2637650      2637651      2637657      2637658      2637659      2637661      2637662      2637668      2637674      2637676      2637677      2637679      2637680      2637681      2637684      2637685      2637686      2637688      2637689      2637691      2637692      2637694      2637696      2637700      2637701      2637702      2637703      2637704      2637705      2637706      2637707      2637722      2637725      2637741      2637749      2637751      2637752      2637753      2637762      2637764      2637771      2637777      2637779      2637781      2637783      2637785      2637789      2637793      2637809      2637810      2637811      2637812      2637823      2637827      2637836      2637837      2637838      2637845      2637850      2637854      2637855      2637857      2637858      2637859      2637860      2637861      2637866      2637867      2637870      2637874      2637875      2637876      2637877      2637878      2637879      2637880      2637881      2637884      2637885      2637886      2637887      2637891      2637892      2637893      2637894      2637895      2637897      2637898      2637899      2637900      2637901      2637902      2637904      2637906      2637907      2637908      2637909      2637913      2637914      2637916      2637917      2637918      2637919      2637920      2637921      2637923      2637926      2637928      2637929      2637930      2637933      2637935      2637936      2637937      2637939      2637940      2637941      2637942      2637943      2637949      2637950      2637951      2637952      2637954      2637955      2637958      2637965      2637967      2637969      2637970      2637971      2637973      2637978      2637985      2637986      2637987      2637990      2637991      2637992      2637993      2638001      2638002      2638005      2638007      2638009      2638016      2638018      2638020      2638023      2638027      2638029      2638033      2638034      2638035      2638036      2638039      2638043      2638044      2638045      2638046      2638048      2638049      2638052      2638053      2638055      2638057      2638058      2638063      2638064      2638065      2638067      2638068      2638069      2638072      2638076      2638080      2638081      2638082      2638083      2638084      2638087      2638089      2638096      2638097      2638098      2638099      2638100      2638101      2638102      2638103      2638105      2638106      2638108      2638110      2638113      2638117      2638118      2638120      2638121      2638122      2638124      2638126      2638128      2638134      2638135      2638136      2638137      2638139      2638140      2638141      2638143      2638146      2638147      2638148      2638149      2638150      2638151      2638152      2638153      2638154      2638155      2638157      2638159      2638167      2638168      2638172      2638173      2638174      2638175      2638181      2638184      2638185      2638187      2638192      2638193      2638198      2638199      2638200      2638202      2638203      2638205      2638207      2638208      2638209      2638210      2638211      2638212      2638214      2638218      2638219      2638220      2638221      2638223      2638230      2638232      2638236      2638243      2638245      2638246      2638247      2638248      2638258      2638264      2638265      2638268      2638279      2638280      2638281      2638283      2638284      2638287      2638305      2638309      2638310      2638311      2638312      2638316      2638317      2638318      2638319      2638321      2638324      2638330      2638331      2638332      2638333      2638334      2638335      2638336      2638337      2638338      2638339      2638340      2638341      2638342      2638344      2638347      2638349      2638352      2638353      2638364      2638372      2638374      2638376      2638379      2638390      2638391      2638392      2638393      2638394      2638395      2638402      2638405      2638407      2638414      2638421      2638422      2638429      2638430      2638432      2638434      2638438      2638442      2638444      2638457      2638467      2638469      2638474      2638478      2638479      2638480      2638484      2638486      2638488      2638489      2638491      2638506      2638507      2638508      2638510      2638511      2638512      2638513      2638514      2638515      2638516      2638517      2638518      2638519      2638520      2638521      2638522      2638523      2638525      2638527      2638529      2638530      2638531      2638532      2638536      2638537      2638563      2638564      2638567      2638568      2638569      2638618      2638628      2638629      2638634      2638644      2638647      2638649      2638653      2638658      2638666      2638671      2638675      2638677      2638679      2638680      2638685      2638687      2638689      2638691      2638692      2638693      2638694      2638695      2638696      2638697      2638699      2638701      2638702      2638703      2638704      2638705      2638706      2638707      2638709      2638710      2638711      2638712      2638713      2638714      2638720      2638721      2638725      2638726      2638728      2638731      2638732      2638736      2638737      2638739      2638740      2638741      2638744      2638745      2638747      2638748      2638753      2638754      2638755      2638756      2638757      2638760      2638763      2638764      2638768      2638777      2638781      2638782      2638783      2638791      2638793      2638795      2638796      2638798      2638799      2638801      2638810      2638811      2638813      2638814      2638815      2638816      2638817      2638818      2638832      2638833      2638834      2638835      2638836      2638846      2638847      2638848      2638849      2638850      2638851      2638852      2638854      2638855      2638857      2638858      2638859      2638860      2638861      2638862      2638864      2638866      2638867      2638868      2638869      2638870      2638872      2638873      2638874      2638876      2638883      2638884      2638885      2638893      2638895      2638900      2638923      2638927      2638928      2638929      2638931      2638932      2638935      2638936      2638937      2638939      2638942      2638943      2638949      2638952      2638954      2638955      2638956      2638957      2638958      2638959      2638960      2638961      2638962      2638968      2638976      2638978      2638979      2638980      2638983      2638984      2638986      2638988      2638994      2638995      2638998      2638999      2639001      2639002      2639003      2639006      2639011      2639012      2639013      2639014      2639016      2639017      2639018      2639024      2639025      2639030      2639036      2639038      2639039      2639043      2639045      2639046      2639049      2639055      2639057      2639064      2639066      2639067      2639068      2639069      2639072      2639074      2639076      2639079      2639080      2639081      2639085      2639086      2639092      2639098      2639099      2639100      2639101      2639103      2639104      2639105      2639106      2639107      2639109      2639110      2639111      2639112      2639125      2639128      2639129      2639131      2639132      2639133      2639134      2639137      2639138      2639139      2639144      2639146      2639148      2639149      2639159      2639162      2639164      2639165      2639167      2639177      2639179      2639186      2639187      2639188      2639191      2639196      2639197      2639204      2639205      2639208      2639214      2639217      2639218      2639220      2639221      2639223      2639224      2639225      2639226      2639227      2639230      2639236      2639237      2639238      2639239      2639241      2639242      2639246      2639248      2639260      2639262      2639263      2639264      2639270      2639271      2639292      2639293      2639296      2639298      2639299      2639300      2639302      2639303      2639304      2639305      2639306      2639307      2639308      2639309      2639311      2639315      2639316      2639317      2639319      2639321      2639322      2639323      2639324      2639325      2639326      2639327      2639328      2639329      2639330      2639331      2639333      2639336      2639338      2639339      2639341      2639342      2639343      2639344      2639345      2639346      2639348      2639349      2639350      2639356      2639358      2639359      2639360      2639361      2639362      2639364      2639365      2639367      2639368      2639369      2639370      2639373      2639374      2639376      2639378      2639379      2639381      2639386      2639387      2639388      2639389      2639391      2639394      2639396      2639397      2639398      2639400      2639401      2639404      2639405      2639406      2639409      2639410      2639411      2639412      2639419      2639423      2639426      2639427      2639429      2639434      2639437      2639440      2639446      2639448      2639450      2639457      2639465      2639466      2639467      2639468      2639469      2639472      2639473      2639474      2639475      2639478      2639485      2639486      2639487      2639488      2639489      2639491      2639492      2639495
    86
    2639497      2639498      2639502      2639504      2639505      2639506      2639507      2639508      2639509      2639511      2639512      2639519      2639521      2639522      2639523      2639525      2639527      2639530      2639542      2639543      2639552      2639553      2639554      2639555      2639559      2639560      2639561      2639563      2639564      2639565      2639567      2639574      2639575      2639578      2639579      2639581      2639582      2639584      2639585      2639586      2639587      2639588      2639589      2639591      2639595      2639596      2639597      2639598      2639599      2639605      2639618      2639621      2639623      2639624      2639627      2639628      2639637      2639638      2639639      2639644      2639647      2639648      2639649      2639650      2639654      2639658      2639662      2639665      2639669 I have some sample date here:
    http://www.developpez.net/forums/attachments/p57656d1263922095/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/testcase.zip/
    I want to know if it's possible to achieve what I want based on the code here.
    I'm working on Application Express 3.1.2.00.02
    thanks!!
    Roseline

  • Return Current month Data:Help needed in modifying this code of a Procedure

    Hello Folks i have this scenario where i need to modify this code so that it has to return data from the Current month First Day to the previous Day if its a daily report and previous month data if its a monthly report.
    I have no clue how to modify this code below. Currently the code is returning data for Monthly reports for the previous month. Does anyone have any idea how to modify so that the code meets the requirements of both daily and monthly reprts.
    BEGIN
    if v_lowdate is null or v_highdate is null then
    select to_number(to_char(sysdate, 'DD')) into v_cur_day from dual;
    if v_cur_day < 25 then
    -- this is for the previous month run
    Select Add_Months(trunc(sysdate, 'MONTH'), -1)
    INTO V_LOWDATE
    FROM DUAL;
    SELECT Last_Day(ADD_Months(Sysdate, -1)) INTO V_Highdate From Dual;
    else
    -- this is for the current month run
    Select trunc(sysdate, 'MONTH') INTO V_LOWDATE FROM DUAL;
    SELECT Last_Day(Sysdate) INTO V_Highdate From Dual;
    end if;
    end if;
    Thanks
    Edited by: user11961230 on Sep 30, 2009 8:34 PM

    Hi Frank, This is code till the "modifying Code" which we were working. I will post the code after the "modifying Code" in the next reply. Thanks
    CREATE OR REPLACE PROCEDURE "POPULATE_RECOVERY_ACTIVITYHN"(p_lowdate date,
    p_highdate date) IS
    v_lowdate date := p_lowdate;
    v_highdate date := p_highdate;
    v_error_code NUMBER(20);
    v_error_text VARCHAR2(300);
    v_recovery_id Recovery.Recovery_ID%type;
    v_loop_control Number(20);
    v_settlement_id recovery.settlement_id%type;
    V_Event_ID Event.Event_ID%Type;
    V_Event_Case_ID Event_Case.Event_Case_ID%Type;
    V_Recovery_Month Varchar2(100);
    V_Major_Company Major_Client.Major_Client_Name%Type;
    V_Company Client.Client_Name%Type;
    V_Client_Policy_Identifier Varchar2(100);
    V_Lan_ID Varchar2(10) := 'TROVERIS';
    V_Recovery_Account Client.Account_Number%Type;
    V_AccountA Number(2) := 0;
    V_AccountB Number(2) := 0;
    V_Unit Event_Client_Field.Client_Field_Data%Type;
    V_Market Event_Client_Field.Client_Field_Data%Type;
    V_case_open_date Event_case.Open_Date%type;
    V_Employer_Group_Code Employer_Group.Employer_Group_Code%Type;
    V_Unknown1 Number(2) := 0;
    V_Fee_Schedule_Code Event_Case.Fee_Schedule_Code%Type;
    V_Total_Fee_Percent Number(20, 2) := 0.00;
    V_Subrogation_Fee_Percent Number(20, 2) := 0.00;
    V_Unknown2 Number(2) := NULL;
    V_Unknown3 Number(2) := NULL;
    V_TOTAL_MEDICAL Number(20, 2) := 0.00;
    V_Recovery_Amount Number(20, 2) := 0.00;
    V_Total_Tax Number(20, 2) := 0.00;
    V_Administrative_Tax Number(20, 2) := 0.00;
    V_Total_NonCash_Fee Number(20, 2) := 0.00;
    V_Total_NonCash_Positive Number(20, 2) := 0.00;
    V_Total_NonCash_Negative Number(20, 2) := 0.00;
    V_Total_Recovery Number(20, 2) := 0.00;
    V_Total_NonCash_Fee_Positive Number(20, 2) := 0.00;
    V_Total_NonCash_Fee_Negative Number(20, 2) := 0.00;
    V_Total_Admin_Fee Number(20, 2) := 0.00;
    V_Total_Fee Number(20, 2) := 0.00;
    V_Total_NonCash_Tax_Positive Number(20, 2) := 0.00;
    V_Total_NonCash_Tax_Negative Number(20, 2) := 0.00;
    report_type                  Varchar2(2);
    v_gl_num client.gl_num%type; -- *002*
    v_net_billable client.net_billable%type; -- *003*
    vevent_id event.event_id%type; -- *006*
    v_prev_event event.event_id%type; -- *006*
    v_prev_case event_case.event_case_id%type; -- *006*
    v_tot_recovery recovery.amount%type; -- *006*
    v_rec_amount recovery.amount%type; -- *006*
    v_prev_rec_amt recovery.amount%type; -- *006*
    v_prev_rec_month recovery_activity.recovery_month%type; -- *006*
    v_tot_fee recovery_activity.total_fee%type; --*006*
    v_mth_rev unbundled_recoveries.monthly_revenue%type; -- *006*
    v_diff number(18, 2); -- *006*
    v_nc_count number := 0; -- *006*
    v_c_count number := 0; -- *006*
    v_nc_tot recovery.amount%type; -- *006*
    v_used_rev recovery_activity.total_fee%type; -- *006*
    v_use_mth_rev unbundled_recoveries.monthly_revenue%type := 0; -- *006*
    v_use_nc_mth_rev unbundled_recoveries.monthly_revenue%type := 0; -- *006*
    v_prev_netbill client.net_billable%type; -- *006*
    v_event_type event.event_type_code%type;
    v_date_typed event.date_typed%type;
    v_acc_client_id client.acc_client_id%Type;
    v_Recovery_Revenue_GL_Num client.recovery_revenue_gl_num%Type;
    v_Funds_Due_GL_num client.funds_due_gl_num%Type;
    v_lob Varchar2(20);
    v_nc_recovery_id recovery.recovery_id%Type;
    /*Changed the Client_Policy_Identifier to concatenate the Retlation to insured code instead of the description
    which was exceeding the column size in the table. SWL 09/03/02. Checked with the Design Doc.*/
    CURSOR RECOVERY_INFO IS
    SELECT Event.Event_ID,
    Event_Case.Event_Case_ID,
    TO_CHAR(Recovery.Recovery_Date, 'FMMONTHYYYY') As Recovery_Month,
    Major_Client.Major_Client_Name AS Major_Company,
    -- Client.Client_Name AS Company,
    -- nvl(client.legacy_client_id,'DC')||'-'||substr(Client.Client_Name,1,55) AS Company, -- SWL 04/01/04 52653
    substr(nvl(client.legacy_client_id,
    decode(client.client_id, 1, 'DC', client.client_code)) || '-' ||
    Client.Client_Name,
    1,
    60) AS Company,
    Event.Client_Policy_Identifier ||
    Event_Case.Relation_To_Insured_code as Client_Policy_Identifier,
    Client.Account_Number as Recovery_Account,
    Employer_Group.Employer_Group_Code,
    Event_Case.Fee_Schedule_Code,
    Recovery_ID,
    Event_case.Open_Date,
    '(' || recovery.recovery_transaction_internal || ')' ||
    l.recovery_transaction_descripti, --fml 110276
    recovery.settlement_id,
    trim(client.gl_num), -- *002*
    nvl(trim(client.net_billable), 'N'), -- *003*
    recovery.amount, -- *006*,
    event.event_type_code,
    event.date_typed,
    recovery_id,
    Client.ACC_CLIENT_ID,
    Recovery_Revenue_GL_Num,
    Funds_Due_GL_num
    FROM Recovery,
    Settlement,
    Event_Case,
    Event,
    Employer_Group,
    Client,
    Major_Client,
    recovery_transaction_lookup l
    Where to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    AND Settlement.Settlement_id = Recovery.Settlement_id
    AND Settlement.Event_Case_ID = Event_Case.Event_Case_id
    AND Event_Case.Event_ID = Event.Event_ID
    AND Event.Employer_Group_ID = Employer_Group.Employer_Group_ID(+)
    AND Event.Client_ID = Client.Client_ID
    AND Client.Major_Client_id = Major_Client.Major_Client_ID(+)
    and recovery.settlement_id not in
    (select settlement_id
    from recovery
    where to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    AND recovery_transaction_internal in
    ('05', '50', '52', '51'))
    --001
    and    client.invoice_flag = 'N'            *005* commenting
    -- SWL 05/03/05 #71231
    and event.event_id in
    (select event_id
    from event_end_user eeu
    where eeu.active_flag = 'Y'
    and eeu.owner_flag = 'Y'
    and eeu.end_user_id in
    (select end_user_id
    from end_user
    where end_user.research_internal_user = 'Y'))
    and recovery.recovery_transaction_internal =
    l.recovery_transaction_internal --fml 110276
    order by event.event_id, recovery.amount; -- *006*
    -- SWL 05/03/05 #71231
    -- end of 001
    -- SWL 11/10/03 # 52743
    -- *006*
    CURSOR get_recovery(vevent_id event.event_id%type) IS
    SELECT sum(r.amount)
    FROM Recovery r
    Where to_date(r.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    and r.event_id = vevent_id
    and r.settlement_id not in
    (select settlement_id
    from recovery
    where to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    AND recovery_transaction_internal in
    ('05', '50', '52', '51'))
    and r.event_id in
    (select event_id
    from event_end_user eeu
    where eeu.active_flag = 'Y'
    and eeu.owner_flag = 'Y'
    and eeu.end_user_id in
    (select end_user_id
    from end_user
    where end_user.research_internal_user = 'Y'));
    CURSOR RECOVERY_INFO_NC IS
    SELECT distinct Event.Event_ID,
    Event_Case.Event_Case_ID,
    TO_CHAR(Recovery.Recovery_Date, 'FMMONTHYYYY') As Recovery_Month,
    Major_Client.Major_Client_Name AS Major_Company,
    -- Client.Client_Name AS Company,
    -- nvl(client.legacy_client_id,'DC')||'-'||substr(Client.Client_Name,1,55) AS Company, /* SWL 04/01/04 52653 */
    substr(nvl(client.legacy_client_id,
    decode(client.client_id,
    1,
    'DC',
    client.client_code)) || '-' ||
    Client.Client_Name,
    1,
    60) AS Company,
    Event.Client_Policy_Identifier ||
    Event_Case.Relation_To_Insured_code as Client_Policy_Identifier,
    Client.Account_Number as Recovery_Account,
    Employer_Group.Employer_Group_Code,
    Event_Case.Fee_Schedule_Code,
    '(' || recovery.recovery_transaction_internal || ')' ||
    l.recovery_transaction_descripti, --fml 110276
    recovery.settlement_id,
    trim(client.gl_num), -- *002*
    nvl(trim(client.net_billable), 'N'), -- *003*
    recovery.amount,-- *006*
    recovery.recovery_id,
    event.event_type_code,
    event.date_typed,
    Client.ACC_CLIENT_ID,
    Recovery_Revenue_GL_Num,
    Funds_Due_GL_num
    FROM Recovery,
    Settlement,
    Event_Case,
    Event,
    Employer_Group,
    Client,
    Major_Client,
    recovery_transaction_lookup l
    Where to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    AND Settlement.Settlement_id = Recovery.Settlement_id
    AND Settlement.Event_Case_ID = Event_Case.Event_Case_id
    AND Event_Case.Event_ID = Event.Event_ID
    AND Event.Employer_Group_ID = Employer_Group.Employer_Group_ID(+)
    AND Event.Client_ID = Client.Client_ID
    AND Client.Major_Client_id = Major_Client.Major_Client_ID(+)
    and recovery.settlement_id in
    (select settlement_id
    from recovery
    where to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    --001
    AND recovery.recovery_transaction_internal in
    ('05', '50', '52', '51')
    and    client.invoice_flag = 'N'   *005* commenting
    /* SWL 05/03/05 #71231 */
    and event.event_id in
    (select event_id
    from event_end_user eeu
    where eeu.active_flag = 'Y'
    and eeu.owner_flag = 'Y'
    and eeu.end_user_id in
    (select end_user_id
    from end_user
    where end_user.research_internal_user = 'Y'))
    and recovery.recovery_transaction_internal =
    l.recovery_transaction_internal --fml 110276
    order by event.event_id, recovery.amount; -- *006*
    /* SWL 05/03/05 #71231 */
    --end of 001
    -- *006*
    CURSOR get_recovery_nc(vevent_id event.event_id%type) IS
    SELECT sum(r.amount)
    FROM Recovery r
    Where to_date(r.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR')
    AND r.event_id = vevent_id
    and r.settlement_id in
    (select settlement_id
    from recovery
    where to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR'))
    AND recovery_transaction_internal in ('05', '50', '52', '51')
    and r.event_id in
    (select event_id
    from event_end_user eeu
    where eeu.active_flag = 'Y'
    and eeu.owner_flag = 'Y'
    and eeu.end_user_id in
    (select end_user_id
    from end_user
    where end_user.research_internal_user = 'Y'));
    CURSOR Recovery_Totals_Nc IS
    Select Recovery_Detail.Recovery_Id, /* SWL 07/01/04 59016 */
    max(NVL(Recovery_Detail.Fees_Percent, 0) +
    NVL(Recovery_Detail.Admin_Percent, 0)) as Total_Fee_Percent,
    max(NVL(Recovery_Detail.Fees_Percent, 0)) as Subrogation_Fee_Percent,
    max(NVL(Recovery.Amount, 0)) as Recovery_Amount, /* SWL 04/01/04 52653 */
    Sum(NVL(Recovery_detail.Fees, 0) + NVL(Recovery_Detail.Admin, 0)) as Total_Fee,
    Sum(NVL(Recovery_Detail.Fees_Taxes, 0) +
    NVL(Recovery_Detail.Admin_Taxes, 0)) as Total_Tax,
    Sum(NVL(Recovery_Detail.Admin_Taxes, 0)) as Administrative_tax,
    Sum(NVL(Recovery_Detail.Admin, 0)) as Total_Admin_Fee,
    sum(recovery.retained_by_client) as Non_cash_fee, --fml 110276
    sum(recovery.allocation_check_amount) as cash --fml 110276
    From Settlement, Recovery, Recovery_Detail
    Where Recovery.settlement_id = v_settlement_id
    And recovery.recovery_id = v_recovery_id
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    and to_date(Recovery.Recovery_Date, 'DD-MON-RR') between
    TO_DATE(v_lowdate, 'DD-MON-RR') and
    TO_DATE(v_highdate, 'DD-MON-RR') /*SWL 12/03/04 */
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    Group by Recovery_Detail.recovery_id;
    v_cash_recovery recovery_activity.cash_recovery%type;
    CURSOR Recovery_Totals_Positive_Nc IS
    -- Select Sum(Recovery.Amount) as Total_NonCash_Positive, /* SWL 04/01/04 52653 */
    Select max(Recovery.Amount) as Total_NonCash_Positive,
    Sum(NVL(Recovery_Detail.Fees_Taxes, 0) +
    NVL(Recovery_Detail.Admin_Taxes, 0)) as Total_NonCash_Tax_Positive
    From Settlement, Recovery, Recovery_detail
    Where Recovery.settlement_id = v_settlement_id
    And Settlement.Settlement_id = Recovery.Settlement_id
    and recovery.recovery_id = v_recovery_id /* SWL 07/01/04 59016 */
    And Recovery.Amount >= 0
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    And Recovery.Recovery_Transaction_Internal in
    ('05', '50', '52', '51')
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    Group by Recovery_Detail.recovery_id;
    CURSOR Recovery_Totals_Negative_Nc IS
    -- Select Sum(Recovery.Amount) as Total_NonCash_Negative, /* SWL 04/01/04 52653 */
    Select max(Recovery.Amount) as Total_NonCash_Negative,
    Sum(NVL(Recovery_Detail.Fees_Taxes, 0) +
    NVL(Recovery_Detail.Admin_Taxes, 0)) as Total_NonCash_Tax_Negative
    From Settlement, Recovery, Recovery_Detail
    Where Recovery.settlement_id = v_settlement_id
    And Settlement.Settlement_id = Recovery.Settlement_id
    and recovery.recovery_id = v_recovery_id /* SWL 07/01/04 59016 */
    And Recovery.Amount < 0
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    And Recovery.Recovery_Transaction_Internal in
    ('05', '50', '52', '51')
    Group by Recovery_Detail.recovery_id;
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    /* SWL 11/10/03 # 52743 */
    CURSOR Event_Client_Unit IS
    Select e.Client_Field_Data as Unit
    From Event_Client_Field e, recovery r
    Where r.Event_ID = e.Event_ID
    AND r.Recovery_ID = V_Recovery_ID
    AND e.Client_Field_Name = 'UNIT';
    CURSOR Bill_totals IS
    Select mv_billdetail_case_sum.sum_paid as TOTAL_MEDICAL
    From mv_billdetail_case_sum
    where mv_billdetail_case_sum.event_id = V_Event_ID;
    CURSOR NonCash_Fee IS
    Select NVL(Sum(Recovery.Amount), 0) as Total_NonCash_Fee
    From Settlement, Recovery
    Where Recovery.Recovery_ID = V_Recovery_ID
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.
    Recovery_Transaction_Internal in ('05', '50', '52', '51');
    /* SWL 04/01/04 52653 */
    CURSOR Recovery_Totals IS
    Select round(avg(NVL(Recovery_Detail.Fees_Percent, 0) +
    NVL(Recovery_Detail.Admin_Percent, 0)),
    2) as Total_Fee_Percent,
    round(avg(NVL(Recovery_Detail.Fees_Percent, 0)), 2) as Subrogation_Fee_Percent,
    max(NVL(Recovery.Amount, 0)) as Recovery_Amount,
    Sum(NVL(Recovery_detail.Fees, 0) + NVL(Recovery_Detail.Admin, 0)) as Total_Fee,
    Sum(NVL(Recovery_Detail.Fees_Taxes, 0) +
    NVL(Recovery_Detail.Admin_Taxes, 0)) as Total_Tax,
    Sum(NVL(Recovery_Detail.Admin_Taxes, 0)) as Administrative_tax,
    Sum(NVL(Recovery_Detail.Admin, 0)) as Total_Admin_Fee
    From Settlement, Recovery, Recovery_Detail
    Where Recovery.Recovery_ID = V_Recovery_ID
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    Group by Recovery_Detail.recovery_id;
    CURSOR Recovery_Totals_Positive IS
    /* Select Sum(Recovery.Amount) as Total_NonCash_Positive,
    Sum(NVL(Recovery_Detail.Fees_Taxes,0)+ NVL(Recovery_Detail.Admin_Taxes,0)) as Total_NonCash_Tax_Positive
    */ /* SWL 04/01/04 52653 */
    Select max(Recovery.Amount) as Total_NonCash_Positive,
    Sum(NVL(Recovery_Detail.Fees_Taxes, 0) +
    NVL(Recovery_Detail.Admin_Taxes, 0)) as Total_NonCash_Tax_Positive
    From Settlement, Recovery, Recovery_detail
    Where Recovery.Recovery_ID = V_Recovery_ID
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.Amount >= 0
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    And Recovery.Recovery_Transaction_Internal in ('04', '17', '15') /*SWL 10/05/04 #63919*/--*009* added 15
    Group by Recovery_Detail.recovery_id;
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    CURSOR Recovery_NonFEE_Positive IS
    Select Sum(NVL(Recovery_Detail.Fees, 0) + NVL(Recovery_Detail.Admin, 0)) as Total_NonCash_Fee_Positive
    From Settlement, Recovery, Recovery_detail
    Where Recovery.Recovery_ID = V_Recovery_ID
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.Amount >= 0
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    And Recovery.Recovery_Transaction_Internal in
    ('05', '50', '52', '51')
    Group by Recovery_Detail.recovery_id;
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    CURSOR Recovery_Totals_Negative IS
    /* Select Sum(Recovery.Amount) as Total_NonCash_Negative,*/ /* SWL 04/01/04 52653 */
    Select max(Recovery.Amount) as Total_NonCash_Negative,
    Sum(NVL(Recovery_Detail.Fees_Taxes, 0) +
    NVL(Recovery_Detail.Admin_Taxes, 0)) as Total_NonCash_Tax_Negative
    From Settlement, Recovery, Recovery_Detail
    Where Recovery.Recovery_ID = V_Recovery_ID
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.Amount < 0
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    And Recovery.Recovery_Transaction_Internal in ('04', '17', '15') /*SWL 10/05/04 #63919*/--*009* added 15
    Group by Recovery_Detail.recovery_id;
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    CURSOR Recovery_NonFEE_Negative IS
    Select Sum(NVL(Recovery_Detail.Fees, 0) + NVL(Recovery_Detail.Admin, 0)) as Total_NonCash_Fee_Negative
    From Settlement, Recovery, Recovery_Detail
    Where Recovery.Recovery_ID = V_Recovery_ID
    And Settlement.Settlement_id = Recovery.Settlement_id
    And Recovery.Amount < 0
    And Recovery.Recovery_id = Recovery_detail.Recovery_id(+)
    And Recovery.Recovery_Transaction_Internal in
    ('05', '50', '52', '51')
    Group by Recovery_Detail.recovery_id;
    -- Group by Recovery_Detail.Fees_Percent; /* SWL 04/01/04 52653 */
    --This is a generic cursor which will be used to control the number of rows inserted into the recovery_activity table
    --There has to be 1 row inserted into the recovery_activity table for each detail record in the recovery_detail table.
    --However, if no recovery_detail record exists there will be only 1 insert into the recovery_activity table.
    CURSOR Control_Detail_Loop
    IS
    Select 1
    FROM Recovery,
    Recovery_Detail
    Where Recovery.Recovery_ID = Recovery_Detail.Recovery_ID(+)
    And Recovery.Recovery_ID = V_Recovery_ID;
    /* SWL 04/01/04 Commented since the only time there were more entries in rd for a recovery is when there is a split fees */
    /* accounting does not want this to be displayed in detail. They need this aggregated as a single fee entry so the recovery */
    /* activity table will now have a single entry corresponding to each recovery in the recovery table. (#52653) */
    CURSOR Control_Detail_Loop IS
    Select 1 FROM Recovery where Recovery.Recovery_ID = V_Recovery_ID;
    /* DJ 10/25/04 # 64633 start*/
    CURSOR Event_Client_Market IS
    Select e.Client_Field_Data as Market
    From Event_Client_Field e, recovery r
    Where r.Event_ID = e.Event_ID
    AND r.Recovery_ID = V_Recovery_ID
    AND e.Client_Field_Name = 'MARKET';
    /* DJ 10/25/04 # 64633 end*/
    v_cur_day integer := 0;
    -----dj
    v_vendor_fee_wh number;
    v_total_vendor_fee_wh number;
    v_rec_itc recovery_activity.recovery_transaction_internal%type;
    --v_settlement_id settlement.settlement_id%type;
    --*004* start
    function unbundled_fee(pevent_id event.event_id%type,
    plowdate date,
    phighdate date) return number is
    -- function variables
    v_fee number(18, 2) := 0;
    v_month_revenue unbundled_recoveries.monthly_revenue%type := 0;
    v_cum_revenue unbundled_recoveries.cum_revenue%type := 0;
    v_contract_fee_per unbundled_recoveries.contractual_fee_per%type := 0;
    v_prev_cum_revenue unbundled_recoveries.cum_revenue%type := 0;
    v_cum_ub_rec unbundled_recoveries.cum_ub_recoveries%type := 0;
    v_cum_inv_paid unbundled_recoveries.cum_inv_paid%type := 0;
    v_month_rec unbundled_recoveries.monthly_recoveries%type := 0;
    v_cum_rec unbundled_recoveries.cum_recoveries%type := 0;
    v_event_id event.event_id%type;
    begin
    --v_month_rec and v_cum_inv_paid
    begin
    select event_id,
    (select sum(r.amount)
    from recovery r
    where r.event_id = e.event_id
    and trunc(r.recovery_date) between plowdate and phighdate) as monthly_recoveries,
    -- *006* added cum_rec
    (select nvl(sum(r.amount), 0)
    from recovery r
    where r.event_id = e.event_id
    and trunc(r.recovery_date) <= trunc(phighdate)) as cum_recoveries,
    (select sum(decode(nvl(ex.client_invoice_closed, 'N'),
    'N',
    ex.paid_amount,
    ex.client_invoice_received))
    from expense ex
    where ex.event_id = e.event_id
    and upper(ex.status) = 'PAID'
    and trunc(ex.check_date) <= phighdate
    and trim(ex.orig_client_invoice_date) is not null
    and nvl(ex.client_invoice_dispute, 'Y') = 'N') as cum_invoiced_paid
    into v_event_id, v_month_rec, v_cum_rec, v_cum_inv_paid
    from event e
    where e.event_id = pevent_id;
    exception
    when no_data_found then
    v_event_id := 0;
    v_month_rec := 0;
    v_cum_rec := 0;
    v_cum_inv_paid := 0;
    when others then
    v_event_id := 0;
    v_month_rec := 0;
    v_cum_rec := 0;
    v_cum_inv_paid := 0;
    end;
    -- *007* start
    -- if event previously written to table, get values from table
    begin
    select nvl(ub.cum_revenue, 0)
    into v_prev_cum_revenue
    from unbundled_recoveries ub
    where ub.event_id = pevent_id
    and ub.month_id =
    (select max(a.month_id)
    from unbundled_recoveries a
    where a.event_id = pevent_id
    and a.month_id < to_char(v_lowdate, 'YYYYMM'));
    exception
    when no_data_found then
    v_prev_cum_revenue := 0;
    when others then
    v_prev_cum_revenue := 0;
    end;
    -- *007* end
    --v_contract_fee_per
    begin
    select nvl(max(rd.fees_percent), 0)
    into v_contract_fee_per
    from recovery_detail rd
    where rd.recovery_id in
    (select r.recovery_id
    from recovery r,
    (select a.event_id, max(amount) as amount
    from recovery a
    where a.event_id = pevent_id
    and trunc(a.recovery_date) between plowdate and
    phighdate
    group by a.event_id) max_r
    where r.event_id = max_r.event_id
    and trunc(r.recovery_date) between plowdate and phighdate
    and r.amount = max_r.amount);
    exception
    when no_data_found then
    v_contract_fee_per := 0;
    when others then
    v_contract_fee_per := 0;
    end;
    v_cum_ub_rec := nvl(v_cum_rec, 0) - nvl(v_cum_inv_paid, 0);
    if ((nvl(v_cum_ub_rec, 0) > 0) and (nvl(v_month_rec, 0) <> 0)) then
    -- latest cumulative unbundled recoveries > 0
    v_cum_revenue := round(((v_contract_fee_per / 100) * v_cum_ub_rec),
    2);
    v_month_revenue := v_cum_revenue - v_prev_cum_revenue;
    end if;
    v_fee := v_month_revenue;
    return v_fee;
    exception
    when others then
    raise_application_error(-20106,
    substr('populate_recovery_activity.undebundled_fee: ' ||
    Sqlcode || Sqlerrm,
    1,
    500));
    return v_fee;
    end;

  • Guide on how to modify Java code for Syclo

    Hi All,
    I have ZS4SAPSM-3.0.0.0 jar file in Installed Agentry server's Java folder.
    I want to modify some code in Java. I imported that file in Eclipse and modified it and tried to run it. It was calling some JCO client etc.
    Can someone guide me to know the procedure to modify Java code?
    Regards
    -prit
    Tags edited by: Michael Appleby

    How-to Build an Agentry based mobile app from scratch connecting to an SAP back-end Part1
    Pls Read this document. It was very helpful to me to built the app from scratch.
    I think you will understand the idea of Java and it will help to solve you problem.
    If you have more questions pls attach the examples here.

  • Set up Company Codes for Contract Accounts Receivable and Payable

    HI,
    I need clarification on "Set up Company Codes for Contract Accounts Receivable and Payable"
    When a company code "ABCD" isn't set up for contract accounts receivable and payable (Menu path:
    SAP Insurance -> Collections/Disbursements -> Organizational Units -> Set up Company Codes for Contract Accounts Receivable and Payable), are postings on this company code "ABCD" within FS-CD not allowed and blocked ?
    Is it mandetory to specify company codes to post in Contract Accounts Receivable and Payable in SAP FS-CD.

    Yes .  It is mandatory to extend company code chart of accounts to CA/CR and FSCD.
    Srinivas

  • How to modify existing code of SQVI report?

    Hi Expert,
       There is a SQVI report which has already been created but we need to change the one for new requirement.
    is there any way to modify existing code for new requirement?
    Can we edit in abap workbench?
    Thanks & Regards
    Savita

    Savita,
    You can not modify SQVI system generated code. You need to go to SAVI change mode and make modifications. If your requirement is a sort of additional fields or inserting come code into the program , then SQVI is not the choice. You need to use Infoset Queries (SQ03, SQ02, Sq01).
    KJogeswaraRao

  • Implementing /modifying photoswipe code to work in Edge

    Hey all,
    I am trying to implement photoswipe (http://www.photoswipe.com/) into Edge, specifically linking it into a div, so that I can have pinch/zoom control over images within the div.  The problem I have is that I'm not JQuery savvy, so I just can't work out how to modify the code so that it works within Edge.  I've loaded the external JS files via yepnope, but I can't work out how to modify the code so that it targets a div created in edge, rather than the array it currently is trying to target?
    The code I found within one of the example html's is:
    (function(window, Util, PhotoSwipe){
                                  Util.Events.domReady(function(e){
                                            var instance;
                                            instance = PhotoSwipe.attach(
                                                                { url: 'images/full/001.jpg', caption: 'Image 001'},
                                                                { url: 'images/full/002.jpg', caption: 'Image 002'},
                                                                { url: 'images/full/003.jpg', caption: 'Image 003'},
                                                                { url: 'images/full/004.jpg', caption: 'Image 004'},
                                                                { url: 'images/full/005.jpg', caption: 'Image 005'},
                                                                { url: 'images/full/006.jpg', caption: 'Image 006'},
                                                                { url: 'images/full/007.jpg', caption: 'Image 007'},
                                                                { url: 'images/full/008.jpg', caption: 'Image 008'},
                                                                { url: 'images/full/009.jpg', caption: 'Image 009'},
                                                                { url: 'images/full/009.jpg', caption: 'Image 009'},
                                                                { url: 'images/full/010.jpg', caption: 'Image 010'},
                                                                { url: 'images/full/011.jpg', caption: 'Image 011'},
                                                                { url: 'images/full/012.jpg', caption: 'Image 012'},
                                                                { url: 'images/full/013.jpg', caption: 'Image 013'},
                                                                { url: 'images/full/014.jpg', caption: 'Image 014'},
                                                                { url: 'images/full/015.jpg', caption: 'Image 015'},
                                                                { url: 'images/full/016.jpg', caption: 'Image 016'},
                                                                { url: 'images/full/017.jpg', caption: 'Image 017'},
                                                                { url: 'images/full/018.jpg', caption: 'Image 018'}
                                                                target: window.document.querySelectorAll('#PhotoSwipeTarget')[0],
                                                                preventHide: true,
                                                                getImageSource: function(obj){
                                                                          return obj.url;
                                                                getImageCaption: function(obj){
                                                                          return obj.caption;
                                            instance.show(0);
                        }(window, window.Code.Util, window.Code.PhotoSwipe));
    I tried adding that into the yepnope init function, and modifying the "target" to pic up the div name, but it aint working.
    Anyone know what to do/change so that it functions the way I want it to?
    huge thanks to anyone who can offer some help
    R

    Hey Russ, can you post your work in progress files? This will make it easier for one of the friendly forum folk to help you out.

  • Can someone please tell me on how to modify this code so that I dont have to enter the file name at all?

    Hello
    can someone please tell me how to modify this code so that I dont have to enter the file path at all? When i give the same file path constants to both the read and write VIs I'm getting an error message.
    Attachments:
    read and write.vi ‏11 KB

    Yup use the low level File I/O opening the reference once, and closing it once.  
    As for the path selection you have an unwired input which is the path to use.  Programatically set that and you won't be prompted to select a path.  Usually this is done with a path constant to a folder, then using the Build Path, to set the file name in that folder.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Flash Builder doesn't rebuild the project everytime I modify the code

    Hi,
    Flash Builder doesn't rebuild the project everytime I modify the code.
    I find myself chasing ghosts when trying to debug my project. Flash Builder 4.0 doesn't rebuild my project after every change I make.
    The "Project - Build Automatically" is of course selected. To make sure the problem is real I ran "Project - Build All" several times. Nothing helped.
    For example, I am using a boolean constant to select different code in an if block. Even if I change the value of the boolean, When I debug the code, I see that the constant's value doesn't change. Only If I log out login again, FB will rebuild my code.
    This happens too many times and it is very confusing to debug, when you don't know if the result now is with or without your changes.
    It also affects the following:
    - breakpoints that are set or disabled are not taken into account and the debugger will skip them even if they are set or stop on them if they are disabled.
    - the debugger stops the debug on empty lines, if those lines previously contained code.
    - When I comment out the declaration of variables. Eclipse doesn't recognize them and doesn't show any hint on them when you hold the CTRL key and hover over, but while in debug mode, when you hover over the variable instance, its shows a value for it.
    Thanks for your help.
    Bye,
    RaamEE-IL

    The problem is with the SDK settings selected for the Compiler.
    Try going to 'Project' > 'Properties' > 'ActionScript Compiler'.
    Now, in the 'Flex SDK section', try changing the SDK. Click on 'Apply'.
    This will force FB to rebuild all settings for the project.
    You can try again. FB should now have started compiling with latest code changes again.
    Please Note: This is not a permanent fix though!
    In case the problem re-occurs, you'll need to again perform the steps mentioned above to get FB back on track.

  • Can we maintain diff tax codes for one tax condition type in creating CRs

    Hi Gurus,
    Can we maintain diff tax codes for one tax condition type during maintaining of Condition Records. (Taxes)
    For example in VK11 screen for different combination of tax classification for customer and tax classification for material and
    tax codes like P0, P1, P2 etc. If so which tax code will be picked during creation of sales order? Pls help me........
    Regards.......Divakaran

    Hi Karan,
    Yes we can.
    For example you have three tax code
    P0 -- 0% (Fully exempt)
    P1-- 5% (Half tax)
    P2 -- 10% (Full tax)
    Now when you create the condition record then you have to create the three condition record for one condition type
    MWST
    Country -- tax classification of customer -- tax classification of material -- Tax % -- Tax code
    IN  -
    >  0 (Tax exempt) -
    > 1 (Full tax) -
    > 0 -
    >  P0
    IN  -
    > 1 (half Tax ) -
    >1  (Full tax) -
    > 5% -
    >  P1
    IN  -
    > 2 (Full Tax ) -
    > 1 (Full tax) -
    > 10% -
    >  P2
    Hope it helps,
    Regards,
    MT
    Edited by: M T on Mar 23, 2010 4:19 PM
    Edited by: M T on Mar 23, 2010 7:27 PM

  • Modify Source Code in SAP Fiori MyLeads App (S4.view.xml)

    Hi Experts, 
    I want to modify the Code of the standard SAP Fiori App "MyLeads" for some specific changes.    
    Following structure of the app exists in Eclipse:    
    I want to modify S3.view.xml and S4.view.xml (wich is the "Change" View of the Lead).  
    S3.view.xml looks like:    
    And S4.view.xml looks like: 
    If I modify the Coding in S3, it works without a problem. I can create IconTabs and change the name of the text fields easily.    
    After that, I´m trying to do this in the S4 View in the same way (only for text fields). But it doesn´t work anymore. I also want to change the field names and add or delete some fields, not more. 
    I tried following things in S4 View:    
    Change Text-Fields: 
    Add new Titels in the i18n_de.properties (in my case DE) and replace them with the old Label-Titels in the code of S4.view.xml 
    Overwrite the old Label-Titels in the code of S4.view.xml with simple static text 
    Add / Delete Text Fields: 
    comment the old text fields out 
    delete the old text fields 
    copy the old text fields and change them 
    All of these things don´t work in S4. The code-changes aren´t visibile. It displays always the Standard Text Fields, however wich changes I tried to do.     
    The only change that works was the change of the text of the standard Label-Titels in the i18n_de.properties, but this is not a good solution.    
    While I work with the code, I see that the code relegates the field names (and also the items) from a JSON (for example: text= "{json>OriginText}").
    My Questions after this long explanation:    
    Why is it in S3 possible to change the code and in S4 not? (in the same way) Is there a reason why? 
    Where should I modify the Code? In this mysterious JSON? In the S4.view.xml? In the i18n_de.properties?    
    Is there a chance, to modify the app on a smart way?    
    I´m new in this area, I hope you can help me a litte bit. I think my changes should be not to difficult.
    Thanks!
    Best Regards 
    Tim    
    Tags edited by: Michael Appleby

    what's the value of this ? Does it denotes the app ? if yes, it should be this.to instead of this.nav.to.
    Regards
    Sakthivel

  • Alv -change the output without modify the code

    hi...............
    how can we  change the alv output without modifying the code .
    plz help me.

    hi satya vani ,
    use this code..after execution choose the button(ctrl+f8) then you can give the position and length of the output field..
    then it will automatically changed...
    report .
    TABLES:LFA1.
    SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    REGIO LIKE LFA1-REGIO,
    SORTL LIKE LFA1-SORTL,
    CFIELD(4) TYPE C,
    END OF ITAB.
    DATA:LINE TYPE I.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE LIFNR
    IN LIFNR.
    DESCRIBE TABLE ITAB LINES LINE.
    LOOP AT ITAB.
    IF SY-TABIX = LINE.
    ITAB-CFIELD = 'C410'.
    MODIFY ITAB.
    ENDIF.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    LAYOUT-WINDOW_TITLEBAR = 'VENDORS DETAILS SCREEN'.
    LAYOUT-EDIT = 'X'.
    LAYOUT-info_fieldname = 'CFIELD'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    regards,
    venkat.

Maybe you are looking for