How to map IF condition

Hi experts,
I have one problem,
as
I have field 1, if value of field 1 is 001, receiver 2 will be mapped with field 2.
if value of field 1 is 002, receiver 2 will be mapped with field 4.
How i can do it ?
Please help,
Regards,
Study SAP

constant>equals>if without else---> field2
(001)      |                        receiver2-->      
Field1----
constant>equals>if without else---> field4
(002)      |                        receiver2-->      
Field2----

Similar Messages

  • How to map this condition in XI

    Hi all,
    Please can any one tell how to proceed this condition in XI map :
    Please any one provide some solution, bcoz its hamppering my development.
    EITHER(
                                                       EXTRACT(
                                                                       Group_3:Group_1,
                                                                       EAN11 E2MARMM002 Field:E2MARMM002 Segment:Group_3:Group_1 != ""  &
                                                                       MEMBER(
                                                                                    MEINH E2MARMM002 Field:E2MARMM002 Segment:Group_3:Group_1,
                                                                                    MEINH_SAP Fileds:Target_Market                                                                               
                                                       FAIL(
                                                                " No Valid MEINH (UOM) found in given IDoc for Material Number = " +
                                                                  TRIMLEFT(MATNR E2MARAM005 Field:E2MARAM005 Segment:Group_1, "0") + "," +
                                                                 " Either correct MEINH (UOM) in the IDoc or configure MEINH for the material number in file " +
                             GETFILENAME( SAPMW_Lookup )
                                             Group_5,
                                             Group_1,
                                             SAPMW_Lookup,
                        Variant_Language_Lookup                  
    Message was edited by:
            vijaya laxmi
    Message was edited by:
            vijaya laxmi

    HI Ranga Rajan,
    Now, here i am pasting new condition which was used in mercator.
    But the same condtion i have to use in XI also, so please explain indetail  interms of XI.
    =IF(  MEINH E2MARMM002 Field:E2MARMM002 Segment:Group_3_MATMAS05_V1_UNI = "D97" &
            EAN11 E2MARMM002 Field:E2MARMM002 Segment:Group_3_MATMAS05_V1_UNI != "",
            IF(TRIMLEFT(TRIMRIGHT(#GLB#MATSW #GLB#XGT_E1MARA1000 Field:#GLB#XGT_E1MARA1000 Segment:Group_1_MATMAS05_V1_UNI)) != "",
          F_04_CreateUOMSW(
                                           LOOKUP(
                                                           UOMSW:UOMSW_File:SAPMW_Lookup,
                                       TRIMLEFT(TRIMRIGHT(#GLB#UOMSW #GLB#XGT_E1MARA1000 Field:#GLB#XGT_E1MARA1000 Segment:Group_1_MATMAS05_V1_UNI)) =
                                             TRIMLEFT(TRIMRIGHT(UOMSW_SAP Fileds:UOMSW:UOMSW_File:SAPMW_Lookup))

  • How to map fields Condition group1- condition group5 [KDKG1- KDKG5] to CRM

    We have a requirement to enhance the BP master data in CRM in such a way that  Condition group1- condition group5 of ECC customer master data can be mapped to the BP master data in CRM. This is required because the fields are used in pricing and pricing records needs to be sent to CRM.  These fields are not in CRM and SAP suggests an enhancement.
    Can anyone suggest how to do the middleware enhancements sothat the field values can be captured in CRM?
    Maximum will be rewarded.

    Sorry, didn't read it properly. In this case you have to do enhancement. Do the following:
    ERP side:
    - in sm30 for table TBE24 define new entry for user exit
    - in table TPS34 define user exit for process CRM0_200 and some Z function and product from step 1
    - define Z function as copy of standard fm SAMPLE_PROCESS_CRM0_200
    - define coding for Z function. you will have to append your data to T_BAPISTRUCT which contains data that are sent to CRM
    CRM side:
    - in sm30 for table TBE24 define new entry for user exit
    - in table TPS34 define user exit for process SMOUTIL3 and some Z function and product from step 1
    - define Z function as copy of standard fm SAMPLE_PROCESS_SMOUTIL3
    - define coding for Z function. you will have to read data from TI_BAPIMTCS which contains data that are sent from ERP

  • How to map AED in the case of domestic procurement.

    The procurement  process is they will raise PO to domestic vendor  and this vendor is importing material , so he is passing AED (Additional excise duty ) to this customer , while doing GR AED is not capturing in AED field and it is not updating in Register.  Here  they are doing J1IEX in that they are adding (Manually) AED vale to BED and posting in the register it is updating (BED +AED) but for capital goods AED cal avail full but here it is possible for only 50% . How to capture AED value at the time of GR and update in the registers.   How to map AED in the case of domestic procurement.

    Hi
    All the setting will be same the trick is maintain the condition record say FV11 as 0 % for condition type for AED and AED total as 100%
    do same as u do it for JMOP
    And in SPRo also the same setting as Jmop do it for AED
    In account determination for GRPO IP assign Gl account of ADC under AED
    now when u post excise invoice in additional tab u will see GRPO put IP in subtransaction  this is important
    and put the amount in AED what the vendor have passed.
    and now u will be able to post BED and ADC seperately in domestic purchase
    hope this helps

  • How to map the permits Scenarios

    Dear Experts,
    Good Morning  to Every to Body.
    I am confusing to map the permits scenario . In my client place they raise the Work permit request to the Safety Officer for getting the approval for doing their work.
    Based on working condition safety officer checks the safety precautions , after verification he approved it and handover to the workperson. if safety officer not satisfied with safety precaustions he deny to give the approving for start the work. this is one scenario. and this work permit valid only for that approved day only. if its not complete that day , next day again workpermit was raised by work person or incharge of the work.
    2. scenario : for any corrective action on running machine or predictive maintenance time , maintenance people gets the work approval from the Relevant department or Concerned persons. Ones relevant department head gives approved , then only maintenance people will start the work.
    i am requesting you please guide me how to map in sap with out complexity. i am waiting for you people response.
    please suggest me.
    thanks & regards
    Jalu

    Hi,
    There are 2 different type of permits.
    1. Safety Permit
    2. Work Permit
    Safety permit will be approved by Safety officer. This is your first scenario. Work permit is approved by Maintenance officer, that is your second scenario.
      IWO10007 Maint.order: Customer enhancement - permits in the order
    As permits are approved in IW32, through above mentioned User Exit, you can develop some logic to restrict the authorisation between Safety officer in case of safety permits & Maintenance Manager in case of work permits.
    Regards,
    Maheswaran.

  • How to check the Conditional transition while submit the jsp as screenflo

    Hi All,
    I want to know that how to check the conditional transition, which result is used to decide the next Activity while submit the JSP as Screen Flows
    Edited by bpmvasu at 03/27/2007 11:14 PM

    Hi,
    Unlike BPM Object Presentations where the 'selectedButton' is automatically assigned to the predefined screenflow 'result' variable, when using JSP Persentations you need to do the mapping yourself (I don't think there is a way around this).
    Assuming you're using a JSP Presentation with a Fuego Object Interactive Call, click the 'Advanced' button at the bottom of the Main Task dialog.
    Select the 'showOut' argument set, add a new argument mapping. Select 'result' from the Screenflow's instance variables and map it to 'parameters["paramName"]'. Where paramName is the name of the HTML submit input element in your JSP.
    Hope this helps,
    Tim

  • How to Delete the condition record in CRM

    HI,
    Can you please help me how to delete the condition record from condition table in CRM.
    Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
    I have also read the documention of the function module. How to use this FM for custom defined condition table.
    (this is the code given in Documentation)
    DATA-OBJECT_REPRESENTATION         = 'E'
    DATA-SEL_OPT-CT_APPLICATION              = 'CRM'
    DATA-SEL_OPT-OBJECT_TASK                    = 'D'
    DATA-SEL_OPT-RANGE-FIELDNAME        = 'PRODUCT_ID'
    DATA-SEL_OPT-RANGE-R_SIGN                  = 'I'    (Including)
    DATA-SEL_OPT-RANGE-R_OPTION           = 'EQ'
    DATA-SEL_OPT-RANGE-R_VALUE_LOW  = 'PROD_1'
    Thanks
    Shankar

    Hi Shankar,
    I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
    But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
    Error in  lt_return: SMW3     CND_MAST_SEL_DEL_EXT_VALIDATE     CND_M_SD
    code:
    ls_range-fieldname = 'PRODUCT_ID''.
    ls_range-R_SIGN = 'I'.
    ls_range-R_OPTION = 'EQ'.
    ls_range-R_VALUE_LOW = '123456'.
    APPEND ls_range TO lt_range.
    MOVE lt_range TO ls_entry-SEL_OPT-range.
    ls_data-SEL_OPT-object_task = 'D'.
    ls_data-SEL_OPT-ct_application = 'CRM'.
    ls_data-object_representation = 'E'.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
      EXPORTING
        DATA          = ls_date
    IMPORTING
       RETURN        = lt_return
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      IMPORTING
        return = lt_ret.
    Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to Map in SAP      ?

    Hi
    My client is Automobile industry.In the presales process my company delivers the goods to the dealer.On transit the goods are damaged.Instead of returning the goods the dealer him self repairs the goods and sends the credit memo to the company.The company will send the engineer for inspection and give the clearance certificate for the dealer.With reference to this we have to create the credit the customer.
    How to Map it SAP....?
    Plz send me the reply
    Regard's
    Prasad.

    Dear Prasad,
    As you r not taking d goodS back (or dealer is not sending them back) thus it's not a case of a Returns. Also there is no issue with d invoice either thus even Invoice Corrrection Request will not b generated.
    Thus it's a simple case of creating a Credit Memo Request for the required amount i.e the amount claimed 2 b spent by d dealer. This will obviously have a block which can b removed by d engineer who went for inspection (or some1else depending on d working of d organisation). Once the billing block is removed the dealer can b issued a Credit Memo in d usual way.
    Hope it answers ur query.
    regards
    PARAM

  • How to use if condition in XML Publisher Desk Top

    Hi..,
    How to use if condition in XML Publisher desk Top.
    Please guide me.
    Thanks,
    Suresh.

    What kind of condition you want to use?
    You can use Condition like this:
    <?xdofx:if condition then value1
    else if condition then Value2
    else Value3
    end if?>
    Please go thru XML Publisher User Guide.
    Thanks
    Ravi
    [email protected]

  • How to map new field in DSO

    I have added a new field to the dso and i have replicated the datasource as well which is showing the new field newly added in ecc. how can i map the new keyfigure in the transformation between the datasource and ods. its showin in the ds, can u pls tell me how to map now.

    Ya but the problem is I have an infosource in between and its not showing in the transformation between the dso and infosource.....nor the infosource and the datasource. But its there in the first transformation on the dso side, not on the inforsource side..... but how to get that field in the infosource side...so that i can map the field between both the transformations....between infosoucre and dso and infosouce and ds.....You know what I mean. the zfield is showin in the dso field structure in the first level mapping between dso and infosouce....but where do i map it.
    Edited by: Daniel on Nov 28, 2011 9:59 AM

  • How to Map the Unit field  in case of DSO and INFOCUBE

    Dear Experts,
    I have a issue ,Please help me to solve this
    I have DSO as provider ,
    And, i have to map transformations  btw the Datasource and DSO.
    In generic Data source,  i have unit fields like BASME,MEINS (Quantity units) & STWAE (currency field)
    and normal Quantity fields  like KWMNG,OAUME(quantity related),OAUWE (value related).
    In DSO data fields as Key figure info objects like  0Quantity (which have 0Unit as unit of measure) and some other  key figures which have there respective unit of measure in info object  definition.
    So you Please tell me how to map the Quantity ,Amounts, unit fields to key figures that we have.
    (How it will be for both DSO and Info cube is there any difference?)
    Edited by: AnjunathNaidu on Jan 18, 2012 1:20 PM

    Navasamol ,
    If it is works ,will u please tell me what is the difference ,if the transformations btw data source and DSO and
    what is the difference btw data source and info cube and btw DSO to Infocube or cube to cube .
    And i have  seen the Quantity fields  and there respective unit fields are mapped directly  to key figure info object
    in case of Info cube . Its working fine .
    If only 1:1 mapping allowed in DSO data fields key figures and there respective unit of measure characteristic.
    why this difference btw DSO and Info cube can any one explain me in detail.
    Expecting your valuable suggestions.
    Thanks & Regards,
    Anjunath Naidu
    Edited by: AnjunathNaidu on Jan 18, 2012 4:05 PM

  • How to map promotional items

    Hi Experts,
    how to map promotional items with sales employee wise.
    and what is the difference bet sample and promotional items
    Regards,
    Amar

    I have no idea abt your process, but you can create new order reason as promotional items and assign to FOC order, you can create sales employee as customer and create FOC with customers ( sales employee).

  • How to update pricing condition in sales in batch in the evening

    Gurus,
    I have a situation where I am supposed to update the freight charge condition type ("ZFR9" in my organization) on a scaled basis, depending on how much the customer (ship-to) has ordered on the same date. Since this changes from time to time, I need to write a program that does the following in the background in the evenings.
    1) Accumulate the wt of the material ordered by the same ship-to customer on the same delivery date.
    2) Find the scaled freight rate from a central universal freight charge table.
    3) Update the ZFR9 by this new frieght rate in all such sales order/line items that have the delivery date in question.
    The problem with using BDC is that the condition type ZFR9 appears on different lines depending on presence or absence of other condition types.
    Also I could not find any BAPI that does the update on a line item pricing condition.
    I am on 4.6C.
    Thanks for any help you can offer me.
    Regards
    Raju

    Guys,
    I am trying to make this work. I am able to add extra pricing conditions to sales order but I can not understand
    - how to change the value of an existing condition type OR
    - how to delete the condition type from the sales order line item
    Here is the sample code that I am using to test this out (most of the information is hard coded so that I can focus on a particular record)
    REFRESH RETURN.
        CLEAR   RETURN.
        REFRESH ORDER_ITEM_IN.
        CLEAR   ORDER_ITEM_IN.
        REFRESH ORDER_ITEM_INX.
        CLEAR   ORDER_ITEM_INX.
        REFRESH PARTNERCHANGES.
        CLEAR   PARTNERCHANGES.
        REFRESH CONDITIONS_IN.
        CLEAR   CONDITIONS_IN.
        REFRESH CONDITIONS_INX.
        CLEAR   CONDITIONS_INX.
        CLEAR SALESDOCUMENT.
        CLEAR ORDER_HEADER_INX.
    Move screen accepted docnumber TO SALESDOCUMENT.
        MOVE P_VBELN       TO SALESDOCUMENT.
        ORDER_HEADER_INX-UPDATEFLAG = 'U'.
        APPEND ORDER_HEADER_INX.
    Move screen accepted line item
        ORDER_ITEM_IN-ITM_NUMBER = P_POSNR.
        APPEND ORDER_ITEM_IN.
    Move screen accepted line item
        ORDER_ITEM_INX-ITM_NUMBER = P_POSNR.
        ORDER_ITEM_INX-UPDATEFLAG = 'U'.
        APPEND ORDER_ITEM_INX.
    Set the condition value
        CONDITIONS_IN-ITM_NUMBER      = P_POSNR.
        CONDITIONS_IN-COND_ST_NO      = '230'.
        CONDITIONS_IN-COND_COUNT      = '01'.
        CONDITIONS_IN-COND_TYPE       = 'ZSR3'.
        CONDITIONS_IN-COND_VALUE      = '333.00'.
        CONDITIONS_IN-CURRENCY        = 'USD'.
        CONDITIONS_IN-COND_UNIT       = 'LB'.
        CONDITIONS_IN-COND_P_UNT      = '100'.
        APPEND CONDITIONS_IN.
        CONDITIONS_INX-ITM_NUMBER     = P_POSNR.
        CONDITIONS_INX-COND_ST_NO     = '230'.
        CONDITIONS_INX-COND_COUNT     = '01'.
        CONDITIONS_INX-COND_TYPE      = 'ZSR3'.
        CONDITIONS_INX-UPDATEFLAG     = 'X'.  " update
        CONDITIONS_INX-COND_VALUE     = 'X'.  " update
        CONDITIONS_INX-CURRENCY       = ''.   " no update
        CONDITIONS_INX-COND_UNIT      = ''.   " no update
        CONDITIONS_INX-COND_P_UNT     = ''.   " no update
        APPEND CONDITIONS_INX.
        WRITE: / 'BAPI Called for', P_VBELN, P_POSNR .     
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            SALESDOCUMENT               = SALESDOCUMENT
      ORDER_HEADER_IN             =
            ORDER_HEADER_INX            = ORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
          TABLES
        RETURN                      = RETURN
       ORDER_ITEM_IN               = ORDER_ITEM_IN
       ORDER_ITEM_INX              = ORDER_ITEM_INX
      PARTNERS                    =
      PARTNERCHANGES              = PARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
         CONDITIONS_IN               = CONDITIONS_IN
         CONDITIONS_INX              = CONDITIONS_INX
      EXTENSIONIN                 =    .
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    WAIT = 'X'.
    IMPORTING
      RETURN        =
        ELSE.                                           
         WRITE: ' BAPI RETURN CODE = ', SY-SUBRC.              
        ENDIF.

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

Maybe you are looking for

  • Is the iPhone 5 in UAE missing any features?

    Hi guys, As far as anyone of you know is the iPhone 5 (and/or iOS in general) missing any features if bought from the UAE?? Because as I recall at some point the iPhone 4 or 4S didn't offer FaceTime in UAE, so that's why I am asking!! Thank you

  • Color profiling and calibration in MacBook Pro

    I work a lot in Photoshop with sRGB color space. Should I have this color profile set for my Mac display then (or which setting is recommended)? Does the calibration in Mac replace an external calibration device functionality such as using e.g. Spyde

  • Need help adding AM/PM to my clock program

    Hi everyone I would be grateful if you could help me adding AM/PM to my clockDisplay program, been trying but i'm not very familiar with Java. Thanks I have used 2 classes: NumberDisplay and ClockDisplay the clock automatically convert hours after 12

  • My iphone won`t activate after updating to ios 5.1 plz help

    my iphone 3gs won`t activate after updating to ios 5.1 plz help

  • Conditional branch, after authentication

    We have recently implemented a list of passwords that users are not allowed to use. Basic stuff like 1234, abcd etc. I currently use a custom authentication, so i can quite easily stop a user from changing their password to a dissallowed one. But my