Multiple Downpayment condition in PO

Hi
Is it possible to config multiple downpayment feild in purchase order.?

What is the business scenario and what is the need .
An elaboration on the same , would let someone to comment further .
Technically speaking in PO in custom fields you can add fields but it has to have some business requirement and discussion .
Cheers ,
Dewang

Similar Messages

  • Using multiple 'and' conditions in a SQL query

    Is it possible to reduce the SQL required to query using multiple 'and' conditions, e.g. I have a query like the following:
    select stat.personal_id, appt.username, appt.password, apps.rgn_apt_id, apps.apy_apn_id
    from apy_ast_application_status stat, rgn_usr_user appt, rgn_aps_applications apps
    where stat.apy_apn_id = apps.rgn_apt_id
    and apps.rgn_apt_id = appt.rgn_apt_id
    and stat.application_completed is null
    and stat.application_started_date > '01-MAY-11'
    and stat.amount_paid is null
    and stat.personal_details = 'C'
    and stat.further_details = 'C'
    and stat.education = 'C'
    and stat.employment = 'C'
    and stat.personal_statement = 'C'
    and stat.choices = 'C'
    and stat.reference = 'C'
    and stat.student_finance = 'C'
    Is there a way, to reduce all the multiple 'and' queries, to be read from say one line? If you know what I mean.......

    Ah, Ok this looks nice, thanks very much. It doesn't quite run as is because the stat.amount_paid query value is 'is null', while the others are 'C'. I tried amending the relevant line to various versions of the following:-
    in (select 'is null' 'C','C','C','C','C','C','C','C' from dual)
    which doesn't work.
    I can get the following to work so I am assuming that the it is not possible to use different query values within the brackets of the 'in (select....' statement?
    select stat.personal_id, appt.username, appt.password, apps.rgn_apt_id, apps.apy_apn_id
    from apy_ast_application_status stat, rgn_usr_user appt, rgn_aps_applications apps
    where stat.apy_apn_id = apps.rgn_apt_id
    and apps.rgn_apt_id = appt.rgn_apt_id
    and stat.application_completed is null
    and stat.application_started_date > '01-MAY-11'
    and stat.amount_paid is null
    and (stat.personal_details, stat.further_details, stat.education,
    stat.employment, stat.personal_statement, stat.choices, stat.reference, stat.student_finance)
    in (select 'C','C','C','C','C','C','C','C' from dual)
    Thanks for everybodys help - the suggested alternatives seem so much more elegant

  • How to update multiple Price conditions in FM CRM_ORDER_MAINTAIN

    Hi All,
          need to update multiple price conditions in a contract Thru FM CRM_ORDER_MAINTAIN.
    please see the piece of code that am using...
      am able to update single price condition...but not able to populate 2 or more .......i,e..ADD A Condition
    i,e...DATA : ls_cond TYPE prct_cond_external_input,
           lt_cond TYPE prct_cond_external_input_t.
    DATA : ls_con TYPE PRCT_COND_DU,
           lt_con TYPE PRCT_COND_DU_TAB.
    Create Condition Type
    *ls_con-KNUMV = lv_header_guid.
    *ls_con-KPOSN = lv_item_guid.
    ls_con-stunr  = '134'.
    IF Y EQ 1.
      ls_con-ZAEHK = '001'.
    ELSE.
       ls_con-ZAEHK = '002'.
    *ENDIF.
    *ls_con-kschl = 'ZFP1'.
    **ls_cond-waers = 'CNY'.
    *ls_con-kbetr = '0.00'.
    *ls_con-kpein = '1'.
    ls_cond-kschl = 'ZFP1'.
    ls_cond-waers = 'CNY'.
    ls_cond-kbetr = '0'.
    ls_cond-kpein = '1'.
    ls_cond-knumh = lv_item_guid .
    CLEAR ls_Price_doc.
    ls_Price_doc-ref_guid = lv_item_guid.
    ls_Price_doc-ref_kind = 'A'.
    IF Y EQ 1.
    ls_Price_doc-ref_handle = '000000001'.
    ELSE.
      ls_Price_doc-ref_handle = '000000002'.
    ENDIF.
    *ls_price_doc-PRIC_COND[] = lt_cond[].
    *INSERT ls_con into table ls_price_doc-PRIC_COND.
    INSERT ls_cond into table ls_price_doc-COND_ADD.
    INSERT ls_price_doc INTO TABLE lt_price_doc.
    ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_field_names-fieldname = 'KNUMH'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPOSN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KSCHL'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPEIN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STUNR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'ZAEHK'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'WAERS'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KBETR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    Ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_fields-ref_kind    = 'B'.
    ls_input_fields-objectname  = 'PRIDOC'.
    *ls_input_fields-logical_key = '0001'.
    ls_input_fields-field_names = lt_input_field_names.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    CLEAR ls_Price_agreement.
    Clear ls_cond.
    I kept this under code. loop, for item records.....
    Though the internal table lt_price_doc. is holding all the records, it is updating only one record. can you any one pls guide me ,

    This example works fine for me. Modify it according to your needs...
    Price
                  IF it_item-value IS NOT INITIAL.
                    ls_cond-kschl = 'PR00'. " add price
                    ls_cond-kbetr = it_item-value.
                    ls_cond-waers = st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond.
                  ENDIF.
    Discount
                  IF it_item-discount IS NOT INITIAL.
                    ls_cond-kschl = 'ZPPP'. " add discount
                    wa_procent_calc = it_item-discount * 10.
                    ls_cond-kbetr = wa_procent_calc."it_item-discount.
                    ls_cond-waers = '%'."st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond, wa_procent_calc.
                  ENDIF.
                  IF index_2 = 1.
                    ls_pridoc_com-ref_handle = counter.
                    ls_pridoc_com-ref_kind = 'B'.
                    INSERT ls_pridoc_com INTO TABLE gt_pridoc_com.
                    CLEAR: index_2,ls_pridoc_com.
                  ENDIF.

  • How to add multiple test conditions in 'test' attribute expression of xsl:if tag

    Hi all,
    How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag ?
    I have 2 parameters and I want To skip the massage if this 2 conditions happened I tried to write it :
            <xsl:when test="($TransferToCompany = 0 and $ObjectInclide=1 )">
            <b1im_skip xmlns="" info=" Obect Will Not Transfer To company">
            </b1im_skip>
          </xsl:when>
    But I get an error while I am trying to transfer The object (Account) true B1if
    I am working with SBO 9 PL 13
    thank you
    shachar

    Hi saado
    Check this link:
    http://stackoverflow.com/questions/318875/can-you-put-two-conditions-in-an-xslt-test-attribute
    Kind regards,
    Radek

  • Multiple pricing condition

    Hello experts,
    We have created a manual item condition for pricing but we have a problem when we enter the rate for that in the pricing screen.
    For example,
    "ZA01" is the one we created. Whenever we enter the value for that it automatically adds another line again and again after going to main order screen and back into Pricing screen again.
    ZA01 Discount for Rb              <- new line added
    ZA01 Discount for Rb    10.000 %  <- again
    ZA01 Discount for Rb    10.000 %
    It looks like this condition has multiple entry capability. I'm not familiar with item condition configuration but is there any way to prevent redundant multiple item condition entries?
    And also, from programming point of view, is it possible to delete manual item condition or combine it togther (10+10=20%)in XKOMV in one of the USEREXIT_XKOMV_... ?
    Regards,

    Hi,
    I think this condition type has been activated  as header condition as well as item condition, check in configurations...
    Its not a better way to delete/combine the condition values technically. Check out the configurations.
    Message was edited by: JITHENDRA CHADICHAL

  • Multiple rebate condition types in one invoice

    I had defined multiple rebate condition types as Y000, Y001 and Y002, which are montly offtake rebate, distance rebate and yearly offtake rebate.
    Y000 and Y001 can be in the same validity period and also will be applicable to the same invoicee.
    When i create a rebate agreement for customer for Y000 and go for the settlement of the rebate it is happening fine.
    But for the same customer, i had defined Y001 as a rebate agreement type for the same period and materilal.
    The sales volume is not updated in the rebate agreement. Evenif I do VBOF the sales volume is not updated.
    the error that comes while doing VBOF is :
    "7000158055 Document number RCFL 7000158055 2011 was already assigned
    7000158053 Document number RCFL 7000158053 2011 was already assigned
    7000158052 Document number RCFL 7000158052 2011 was already assigned
    7000158054 Document number RCFL 7000158054 2011 was already assigned"
    Please help me to solve this problem.
    Mrs. Swati Pawar

    Hello Swati,
    the suggestion of JP is correct.
    I explain it better.
    - the document type of FI document created from SD depends on the customizing of billing type field TVFK-BLART. If it is blank, then by default is 'RV'.
    - if the number range assigned to the account document type is External, then the FI document gets the same number of the SD invoice.
    - transaction VBOF creates FI document referred to SD invoice. If it has external number range, and an FI document already exist with same number (created when SD invoice has been released to accounting), then the errof F5152 occurs.
    SOLUTION:
    in the selection screen of VBOF there is the field FI-Doc-type. Here you should specify the FI document type that should be created by execution of VBOF, and of course it must have number range internal.
    Please try this.
    Best regards,
    Ivano.

  • Multiple "FromAddressContainsWords" Conditions in One Rule via PowerShell?

    My organization recently moved to Exchange Online and I am looking at trying to convert the old mail rules from our old system (Sieve rules from Zimbra) to something that will work in Exchange Online.  My plan is to massage the Sieve output into New-InboxRule
    statements.  The massaging part is the easy part.  What I'm having difficult with is using PowerShell to recreate a rule that should have multiple -FromAddressContainsWords parameters.  Here's what I started off with:
    New-InboxRule -Name "Annoyances" -FromAddressContainsWords roxioemail.com -FromAddressContainsWords "Covalent Technologies" -FromAddressContainsWords process.con -FromAddressContainsWords [email protected] -DeleteMessage $true -StopProcessingRules -Mailbox George.Lenzer
    This didn't work as the -FromAddressContainsWords option can only be used once.  The error also suggested trying to do an array if the parameter would accept one.  I don't know, because that isn't documented anywhere.  The only thing mentioned
    in the help is that it will take a "MultivaluedProperty" which I assume means some sort of string or array that has multiple values in it.
    I then tried this:
    New-InboxRule -Name "Junk Mail" -FromAddressContainsWords {roxioemail.com; Covalent Technologies; process.com; [email protected]} -DeleteMessage $true -StopProcessingRules $true -Mailbox George.Lenzer
    While this worked, when I went into OWA to look at the rule and check the list of words, instead of each word on it's own line, had a single entry containing everything between { and }.  This doesn't look right, and I don't expect it would do what I
    want.  So how does one go about creating an Inbox rule from PowerShell that needs to check multiple conditions, some of the identical type?  It can be done from the GUI, so there must be a way to do it from PowerShell.  Any suggestions?

    Hi George.  Thanks for posting in the forums.  Looking at both of your code snippets, I can see where the problem is.  MultivaluedProperties in PowerShell are exactly as you describe: a set of properties presented as a single argument to a
    parameter.  The mistake you made was attempting to use the semicolon to separate the items in your multivalued property and then trying to present them as a single string.  This is why you get the whole blob of text between the squiggly braces.
    Before I give you the solution, let me say that what you want is to pass an array to -FromAddressContainsWords.  In PowerShell. the comma along with multiple quoted strings is what defines an array.  See here for a better explanation than I can
    give:
     http://theessentialexchange.com/blogs/michael/archive/2008/02/08/Multivalued-Parameters-.aspx
    With that said, here's the solution to your issue:
    New-InboxRule -Name "Junk Mail" -FromAddressContainsWords ("roxioemail.com", "Covalent Technologies", "process.com", "[email protected]") -DeleteMessage $true -StopProcessingRules
    $true -Mailbox George.Lenzer
    Hope this helps!

  • Multiple where conditions in one parameter

    Hi,
    Is it possible to have more than one where condition in one parameter?
    For example, my WHERE_CLAUSE parameter holds the value "where id='12345' and name='john smith'"
    when i run the report, I get a [052008_033528064][][EXCEPTION] java.lang.NullPointerException at oracle.apps.xdo.dataengine.DataTemplateParser.getObjectVlaue(Unknown
    Source) Thus the sql statement did not execute.
    But if I change the WHERE_CLAUSE to "where id='12345'" or "where name='john smith'" it works fine.
    My observation is that if there are two where conditions, BI publisher wont allow it. Am I correct?
    But the report has to be open to the possibility of having more than one where clause condition. Is there a work around for this?
    Thanks,
    Shanak

    nope your mistaken. bip will handle multiple joins.
    1. make sure the where_clause parameter is defined in your package.
    2. make sure use & syntax
    3. make sure your sql is not malformed. This is probably the issue.
    4. also, read my article on bind variables. the practice of coding the actual value in a where clause should be avoided at all costs. Causes the query execution plan to be reparsed each time that particular query is executed.
    http://bipublisher.blogspot.com/2007/10/bi-publisher-what-lexical-understanding.html
    Ike Wiggins
    http://bipublisher.blogspot.com/

  • Pick first value from source structure out of multiple satisfying condition

    Hi PI Experts,
    I have mapping situation as follows. Looking for best way to achieve this.
    I have source structure
    Src Header
       Src Line ITems ( 1.. N)
             Line Field 1
            Src Details records ( 1....N)
                  Field 1
                  Field 2
    My Target stucture is
    Target (1.. N)  ( Cardinality same as the Src Details records)
    Line Field1
    Field 1  
    Field 2  ( This is should field2 of the first Src detail records which matches the condition based on field 1)
    From the source message  I want to repeat the field 2 in the target from that source record which matches the condition.
    e.g if Field1 =  PR00 then Copy of the values of records field 2 in the all the output target records.
    I was thinking of useOneOfMany but the issue is my source i can have multiple records which may satisfy the condition but i want only the first one which is satisfying condition from the source records to be output in targe.
    Thanks,
    Mahesh

    Hello,
    Use Collapse Context & SplitByValues like this
    Field2collapseContext-SplitByValue---Target Field
    Set the context of field to one level Up
    Regards

  • Error in multiple switch condition

    Dear All,
    In my workflow i have a multiple condition step in which i am using SWITCH which on execution gives the following error :
    1.Work item 000000004008: Object FLOWITEM method EXECUTE cannot be executed
    ->Error when starting a SWITCH branch.
    This switch has 3 conditions: based on the parameter &decision&.
    At this i am checking there is a value in the workflow container for the decision,still gives this error.
    Please tell any possible resons for this.

    I am using the RFC to trigger and after the approval step
    i am passing the value of the decision into the container.
    Now tell me where do i pass the workitem_id??
    What RFC you are using to trigger the approval step
    See all I want to say is for every BO you ll have a key attribute through which it will instantiate the BO so for FLOWITEM BO workitem id is the key attribute
    and
    For e;g
    in the FM
    SWE_EVENT_CREATE
    EXPORTING
    Business Object name = 'FLOWITEM'.
    Business Object Key  = '16033'.

  • Multiple smartform conditions

    Hi,
    I am facing problem with multiple conditions for a node.
    My requirement is that node should be displayed only
    a) Amt is greater than zero
    b) Invoice type NE 'IV' and company code NE '001'.
    The condition fails in any of one scenarios ( tried with OR and AND combinations).
    Any advise or alternative solutions would be helpful .
    Thanks
    Regards
    Reddy

    Hi,
    It wud be better to create a W_flag variable in Global definitions TYPE FLAG..
    Then create a Code node (Create -> Flow Logic -> Program Logics) .. keep this code node just before your existing node...
    Put w_flag. w_amount , w_invoice_type and w_company_code in the Input Parameters. and Put w_flag in out parameters as well...
    Now code like this as below in the editor..
    if w_amount > '0'.
           if w_invoice_type ne 'IV' and w_company_code ne '001'.
                     w_flag = 'X'.
           endif.
    endif.
    Now in your existing node you can use this Flag as a condition .. So put this in Condition tab... as below:
    Field name     relational operator       Com value
    W_FLAG             =                            'X'

  • Multiple delivery condition in the shipment cost

    Hi,
    How to handle multiple  condition in the shipment cost?
    For example , if  the single consigment contains following conditions
    1.Freight
    2.Insurance
    3.Custom clearing (these condition value to be added in the material cost at the time GR process).
    It is working fine for the single condition  but not working for mutiple condition.
    Regards,
    Renuga.A

    Hi,
    This is answered by standard SAP.
    Standard condition types are avlb (freight, Insurance). Create condition types for additional delivery costs. Use it in pricing procedure as per calculation matrix. Assign the pricing procedure to vendor and purchasing org.
    While creating PO, use these conditions at line item level in condition type. You can have few costs are PO header level. Tick the header indicator in condition type.
    All these costs will be calculated at the time of goods receipt except customs duty. Customs duty will be applicable after posting bill of entry.
    Anand

  • Multiple and conditions in the same table

    Ok I am going to kick myself for this, but I can't figure it out. I am trying to figure out how to find employees which match multiple criteria in the same table.
    create table emp
    (empno number,
    name  varchar2(10))
    create table skills
    (skill_id   number,
    skill_code varchar2(20))
    create table emp_skills
    (empno    number,
    skill_id number,
    rating   number)
    insert into emp values(1, 'SMITH');
    insert into emp values(2, 'JONES');
    insert into skills values (1, 'SQL');
    insert into skills values (2, 'PLSQL');
    insert into skills values (3, 'JAVA');
    insert into emp_skills values(1,1, 8);
    insert into emp_skills values(1,2, 9);
    insert into emp_skills values(1,3, 10);
    insert into emp_skills values(2,1,9);
    insert into emp_skills values(2,2,2);
    insert into emp_skills values(2,3,7);Now I need to come up with a query finding all employees who match all 3 of the following criteria:
    1) Have at least a 5 rating in SQL
    2) Have at least a 6 rating in PLSQL
    3) Have at least a 7 rating in JAVA
    So using this I would expect to return only SMITH since his/her skills meet all 3 criteria. I dont want to use OR in my query since I want all 3 to match not just one of them.
    I have a feeling I will need to self join the table - but this is going to be part of a dynamic query for APEX where the users can choose the skills and ratings they want employees to adhere to, so I dont know the number of criteria or the exact criteria in advance. But I figure if I can get a proof of concept SQL I can make it work dynamically.
    Any ideas are appreciated - sorry for the long post but I figure more detail is better

    with es1 as(
    select s.skill_code, es.empno, es.rating
    from skills s, emp_skills es
    where s.skill_id = es.skill_id
    /* main */
    select e.*
    from emp e
    where
    exists
    (select 'x' from es1
    where es1.rating >= 5
    and es1.skill_code = 'SQL'
    and es1.empno = e.empno)
    and
    exists
    (select 'x' from es1
    where es1.rating >= 6
    and es1.skill_code = 'PLSQL'
    and es1.empno = e.empno)
    and
    exists
    (select 'x' from es1
    where es1.rating >= 7
    and es1.skill_code = 'JAVA'
    and es1.empno = e.empno)
    -- Addition (Another example)
    with es1 as(
    select s.skill_code, es.empno, es.rating
    from skills s, emp_skills es
    where s.skill_id = es.skill_id
    /* main */
    select e.*
    from emp e
    where
    (select count(distinct es1.skill_code) from es1
    where
    ((es1.rating >= 5 and es1.skill_code = 'SQL')
    or
    (es1.rating >= 6 and es1.skill_code = 'PLSQL')
    or
    (es1.rating >= 7 and es1.skill_code = 'JAVA')
    and es1.empno = e.empno)
    =3;

  • Multiple VAT condition on traderpass excise amount

    I would like to post MIRO where traderpass excise is included.I have done all the process of genrating GRN till posting excise duty. My tax code contains two VAT conditions i.e. 4% & 1% it is calulating VAT 1% on excise amount but 4% VAT is calculating only on basic value
    Kindly suggest
    Sanjay

    Hi,
    This seems to be 4% VAT & 1% additional tax rate & base for these two is same.
    Whether you have created new condition for this 1% rate other than JVRD,JVRN,JVCD,JVCN?
    If yes, then check in Classify Conditions types, which description you have assigned.
    If you have created new condition,then probably you have to check the routine for the same.
    Regards,
    Piyush

  • Multiple Models & Conditional Display in Dynamic Table.

    Hi
    There are 5 models pointing to different systems. The user will randomly select the system and accordingly the models will get executed.
    My issue is in the second screen I need to populate a table which should display the data from multiple models at the same time.. I need to loop trough the models and check, the search term entered by the user, in which all system the same is present and accordingly I need to display in table...
    Please help me by placing some sample code for looping in multiple output nodes and create table dynamically and display the data in the coloumn...Coloumn numbers are fixed.....
    Regards
    SU

    Hi
    I suggest to create a value node to show the results in a view.
    and loop at all the model nodes and when match found create an new element for the table and add it to the table node.
    This is the code to Create Table and its columns dynamically.
    place the code in wdDoModifyView()
    IWDTable <tableref> = (IWDTable) view.createElement(IWDTable.class,"<tablename>");
    <tableref>.bindDataSource(wdContext.node<node>().getNodeInfo());
    IWDTableColumn <colref> =(IWDTableColumn)view.createElement(IWDTableColumn.class,"F");
    IWDInputField inf = (IWDInputField )view.createElement(IWDInputField.class,"d");
    inf.bindValue(wdContext.node<node>().getNodeInfo().getAttribute("<attribute>"));
    <colref>.setTableCellEditor(inf);
    <tableref>.addGroupedColumn(<colref>);
    IWDTransparentContainer <grp> =(IWDTransparentContainer)view.getElement("RootUIElementContainer");
    <grp>.addChild(<tableref>);
    Regards
    Abhimanyu L

Maybe you are looking for