Mapping issue for condition must be  satisfied

Hi All,
         I am using IDOC ORDERS05 for my interface IDOC to FILE,
in which i have partner fuction as PARVW , in which i have to AG and LF
i must must pouplate data if the from the IDOC PARTN if the  PARVW is AG to the VENDORCODE in my target
i must must pouplate data if the from the IDOC PARTN if the  PARVW is LF to the BUYER in my target
please help how to do it and what condition i must use for this '
Thanking you
Sridhar

Hi,
Since you are mapping them on the target side you can use your IDOC variables in multiple palces if you are mapping graphically.
i.e. 1. VENDOR -> if PARVW is equal to AG then PARTN to VENDORCODE
     2. BUYER -> if PARVW is equal to LF then PARTN to BUYER
Make sure you set the context for both PARVW & PARTN to its upper level parent & not the immediate level.
for eg:
     IDOC
           ---E2EDKA1
                   ---PARVW
                  |
                   ---PARTN
set it to IDOC & not E2EDKA1. if you still have doubts on context you can put your query  back...
Thanks,
venkatesh

Similar Messages

  • ECC to CRM Mapping Issue for vendor data

    Hi,
    I am facing an issue for replicating vendor data from ECC to CRM. One of the vendor is not confirmed at ECC side and one vendor's time zone is not maintain in the master of time zone in CRM side. This may be the issue.
    But Where exact we can see that mapping of the tables of ECC and CRM. So in future we should maintain mandatory data based on mapping to avoid BDOC failure.

    Hello Rahul ,
    The field (MARA-BISMT) is not used in CRM system. If you want this
    field to be maintained in CRM as well, and to be transferred from R/3
    to CRM you must enhance the standard by customer extensions.
    The procedure for customer enhancements for Download from R/3
    to CRM is described in the following document:
    SAPNet, alias crm,   > Media Library   > Documentation   >
    Key Capabilities   > Master Data   > CRM Product: Customer
    Enhancements for Download/Upload
    For further information about Product Master enchancements and how to
    find techncical documentation about it please refer to the attached
    Note 428989.
    Thanks & regards,
    Krishnen

  • Currency conversion issue for condition type

    Hello,
    I am creating two invoice document.
    1. Customs Invoice (ZCDS)
    2. Inter company invoice.(IVA)
    both the invoices should be similar. Same pricing procedure is used to create both the documents but in Customs invoice YUMU condition type is not getting converted whereas in IVA the condition type is getting converted. Can anyone tell me the possible reason for this?
      ZCDS
    IVA
    Regards,
    Jagjeet

    Hi Jagjeet,
    For IVA invoice type -(For condition type- YUMU)
    Below highlighted part of code is changing KSTEU from 'E' to 'C' for IVA invoice using std prog RVIVAUFT.
    For ZCDS Invoice Type -(For condition type- YUMU)
    Program RVIVAUFT is not called since ZCDS is not trigerried using Output type unlike IVA.
    Hence KSTEU is not getting updated from 'E' to 'C' in case of ZCDS.
    To solve your problem write code in User exit - userexit_pricing_copy to change  konv-ksteu to 'C' for YUMU condition type at runtime.This will definately solve your problem.This will ensure you get correct/same condition value for IVA and ZCDS...:)
    Regards,
    Vikas Mulay.

  • Mapping Issue for Synchronous interface

    Hi Experts,
    We are facing the below issue in a SOAP to RFC synchronous scenario.
    Data from WS is successfully uploaded to RFC via RFC request. However we face the below issue when the RFC response is received.
    com.sap.aii.utilxi.misc.api.BaseRuntimeException:Character reference "&#00" is an invalid XML character.
    We receive this error particularly when one field has the below values.
    <FIELD> X 20140812201409101211 1 USD TP 00000000 </FIELD>
    When we click on view source the same field shows as below:
    <FIELD> &#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#12;X  20140812201409101211            1             USD     &#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#12;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#00;&#19;TP&#12;     00000000&#00;&#12;&#00;&#12;&#00;&#12;&#00;&#00;&#12;&#00;&#00;&#12;</FIELD>
    Even while pasting the same source xml from view source in Message Mapping we get the below error:
    Unable to display tree view; Error when parsing an XML document (Character reference "&#00" is an invalid XML character.)
    How is a simple value getting converted to some huge value when we open it using view source.
    Please help me resolving the same.
    Regards,
    Shai

    Hi Shaibayan
    looks like there is inconsistency in the RFC maintained in ECC to PI as non unicode.
    In RFC channel check the flag for Unicode.
    Or
    Write a java mapping to remove the special characters
    Regards
    Osman

  • Robohelp - TFS Mapping issue for different versions

    Hi,
    I'm using Adobe Robohelp 9 with Team Foundation Server 2012 on Windows 7 -  64 bit. I've also installed Microsoft Visual Studio Team Foundation Server 2012 MSSCCI Provider. I've mapped all the project folders on my machine. We create HTML help (.chm) for our application.
    I have different versions for each module of our entire product on Team Foundation Server 2012 (As we have multiple modules in our product), for example x+1, x+2, x+3 and so on.
    Each module has different Robohelp projects for every version/branch. This means, if the Online help for any module from any version is changed, we update it in the respective version of the Online help project.
    When we move on to the next version, due to binary files, the next version contains the same path and properties of previous version. We need to have different project for single module for the next version. For this, I have changed the TFS project path of every .xpj project for every version. For example, if I'm working on version x+2, then I've changed the TFS project path from x+1 to x+2 manually on x+2 version/branch and then started working on it.
    As these Robohelp projects (for each module) are mapped to my local folder on C drive, it shows a single workspace mapped with same path on my machine. This should be the ideal condition for my all projects as follows:
    But sometimes when I try to update any file from version x+2 and then check-in my changes, the changes are getting checked-in to the previous version, i.e. x+1. And if I see the workspace of the x+1 version, it shows one more wrong workspace added below the correct one. This new workspace contains the Source control folder path of x+1 version and the Local folder path of x+2 version. That means, my robohelp project folder of x+2 version from my local drive is getting mapped to TFS folder of version x+1. That is why all the changes done in Robohelp project files from x+2 version are going in to x+1 version.
    The strange here is when I try to check-in my changes in x+2, it shows the correct path of x+2 version. But they all go to x+1 version, which should not happen.
    If anyone can help me in this problem, it would be a great help!
    Thanks in advance and waiting for solution,
    Dipali

    So, if I understand correctly, you create a duplicate of the project and
    check that in on a different location in TFS. That is the way to go.
    My guess is that the XPJ still references the old version's path. Try
    checking out the XPJ with TFS and open in with notepad. Search for
    'vc::cookie'. Check that the path there points to the correct path of
    the project in TFS. It probably still references the old path and so
    RoboHelp will check it in at the old path.
    Kind regards,
    Willam

  • Network dive map issue for particular user account.

    Hi,
    My one of the user want to access network drive.  But when he logoff or restart the system, he lost the map drive.
    He is a domain user. He already have few map drive in his profile.  But now he need to map one more network drive. And special requirement is he want to access that map drive from any system from our organization. And that drive should not
    get disconnect/dismount after he logoff or restart the system. 
    Note:  User XYZ wants to access particular map network drive form any system, where he login in domain. And
    no other user should be able to see or access that particular map drive.  
    Also if user XYZ logoff or reboot the own system, Then when next time he will login again from any system, he must be able to see and access that particular
    map drive.
    How do i configure this....Please help.
    Regards,
    Santosh Pawar 

    Hi,
    Using Group Policy Preferences to Map Drives could meet your requirement. It based on group membership.
    About how to get it, please refer to this guide:
    Using Group Policy Preferences to Map Drives Based on Group Membership
    https://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx 
    For further help, I would like to suggest you ask Directory Services forum:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverDS
    Karen Hu
    TechNet Community Support

  • Mapping issue for Idoc to xml

    hello all,
           my scenario is idoc to xml file
    E1EDKT1-------segment (1:n)
       -TDID----
    ele
       -E1EDKT2----segment (1:n)
          -TDLINE-----ele
    When TDID value is X then all values in TDLINE of undeline sement E1EDKT2 needs to be cocatenated and passed to target elemnt A
    if  TDID value is Y then all values in TDLINE of undeline sement E1EDKT2 needs to be cocatenated and passed to target elemnt B
    i have written java function(for all values in context) to conctenate TDLINE elements.
    also the context of TDLINE is changed to  E1EDKT1.
    i am getting all the concatenaed values of TDLINE for TDID=X in target element A but i am not geting any value in target element B for TDID=Y
    can any one suggest what could be the problem.
    Regards,
    Sandip

    Hi Sandip,
    Map like this for target element A:
    use simple if stament.  and for If give TDID  equals(text function) to constant X
    and for then TDLINE-->concattdline(udf) --> output A
    Map like this for target element B:
    use simple if stament.  and for If give TDID  equals(text function) to constant Y
    and for then TDLINE-->concattdline(udf) --> output B
    concattdline udf:
    Create a Context udf with one argument a and name it as concattdline.
    Imports:  java.*;
    Add this code:
    //write your code here
    String value = "";
    for(int j=0; j<a.length - 1; j++){
         value += a[j] + "";
    value +=  a[a.length - 1];
    result.addValue(value);
    I just tested this and it should work for you.
    Regards,
    ---Satish

  • Mapping Issue for IDoc to JDBC interface

    Hi All,
      I am having problem in implementing logic in IDoc to JDBC interface where I have to filter out E1WBB07-KSCHL = VKP0.
      Source IDoc structure is like ->
    E1WBB01(occ 0 -1000)
      |-> E1WBB03 (occ 0-100)
                |-> E1WBB07(occ 0-1000)
                         |-> KSCHL
                              DATAB
                              DATBI
    Now, For each KSCHL = VKA0 there should be a duplicate VKP0 record. From these 2 records only the VKA0 should get processed and VKP0 ignored.
    Duplicates for VKP0 and VKA0 can be identified by identical DATAB and DATBI.
    Suppose, in one  E1WBB03 segment,there are 4 E1WBB07 segment having following values.
    1: KSCHL=VKP0, DATAB=20102011, DATBI=25102011
    2: KSCHL=VKP0, DATAB=26102011, DATBI=30102011
    3: KSCHL=VKA0, DATAB=26102011, DATBI=30102011
    4: KSCHL=VKP0, DATAB=01112011, DATBI=31129999
    2 & 3 are duplicates. From these, 2 should get dropped.
    As a result only 1, 3 and 4 should get  processed.
    How can I proceed with this..?...I have tried some work around but not able to do it successfully. Is a UDF required to compare DATAB and DATBI. If yes how it can be written.?
    Thnx in advance,
    Praveen.

    chk below mapping:
    change the context of DATAB, DATAB1 and KSCHL to E1WBB03 (right click-> context) in all the mappings shown below
    1)
    DATAB
    ------------concat-----sort----splibyvalue(value change)-----collapse context---TargetNode
    DATBI
    2)
    DATAB
    ------------concat-----sortbykey \
    DATBI                    /        \
    KSCHL------------/                 \
    ----------------------------------------FormatByExample----sort-----UDF1----Target KSCHL
    DATAB                                    /
    ----concat---sort--splibyvalue(value change)-
    DATBI
    3)
    DATAB
    ---concat ( ; )-----sort-splibyvalue(value change)---collapse context--splitbyvalue (each value)--UDF2---TargetDATAB
    DATBI
    4)
    DATAB
    ------------concat ( ; )-----sort----splibyvalue(value change)-----collapse context--splitbyvalue (each value)--UDF3---TargetDATABI
    DATBI
    UDF1: execution type : all values of a context...input: var1
    int a=var1.length;
    int count=0;
    if(a>=2)
    for(int i=0;i<a;i++)
    if(var1<i>.equals("VKA0"))
    count= count+1;
    else
    result.addValue(var1[0]);
    if(count>1)
    for(int i=0;i<count;i++)
    result.addValue("VKA0");
    UDF2:execution type: single value...input: var1
    String [] temp= var1.split(";");
    return temp[0];
    UDF3: execution type: single value...input: var1
    String [] temp= var1.split(";");
    return temp[1];

  • Mapping Issue for EDI 823 from XI to R/3

    Hi All,
    We are receiving an EDI 823 from XI to R/3 and the XML file looks like this as below.
    - <FINSTA01>
    - <IDOC BEGIN="1">
    - <EDI_DC40 SEGMENT="1">
      <MANDT>110</MANDT>
      <DOCNUM>0000000000000000</DOCNUM>
      <DIRECT>1</DIRECT>
      <IDOCTYP>FINSTA01</IDOCTYP>
      <MESTYP>LOCKBX</MESTYP>
      <STD>X</STD>
      <STDVRS>003040</STDVRS>
      <STDMES>823</STDMES>
      <SNDPOR>EXTD_BALE</SNDPOR>
      <SNDPRT>B</SNDPRT>
      <SNDPRN>1000000015</SNDPRN>
      <SNDSAD>1000000015</SNDSAD>
      <RCVPOR>SAPYRD</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPRN>YRDCLNT110</RCVPRN>
      </EDI_DC40>
    Now the problem is the incoming IDOC ends up with errors.
    Recipient Information
    Port : <empty>
    Partner No: YRDCLNT110
    Partn Type: LS
    Sender Information
    Port: SAPYXD
    Partner No: EXTD_BALE
    Partn Type: LS
    Whereas there exists no partner no. in R/3 by the name EXTD_BALE. The interesting part is EXTD_BALE is a IDoc Adapter Port No in XI.
    Please provide inputs on these.
    Regards,
    Karthik

    Hi, any feedback in this one ?

  • Conditional Mapping issue - Need help Urgently

    Hi Experts,
    We have a requirement for conditional mapping for HFM. When the value of certain account is positive, it is mapped to one account, else, to a different account. We are able to achieve this in the conditional mapping.
    Once the mapping is done, we need the amount to be positive one. How do we attain this?
    Thanks
    Kannan.

    Hi,
    Lets say your two target accounts are called X & Y.
    I assume in your account mapping you have something like
    Source account xxxx1 ==> Target account X
    Source account yyyy1 ==> Target account Y
    Here is what you can do.
    In the import script of Account you can check the amount value < 0 and assign to account X else to account Y and assign to the out variable.
    In the import script of Amount you can check if the source account is xxxx1 or yyyy1 then always assign abs(amount value) and assign to the out variable.
    In the account mapping,
    If you wish you can retain the below (with the account script change as I suggested, you will never get xxxx1 or yyyy1 in the out variable anymore)
    Source account xxxx1 ==> Target account X
    Source account yyyy1 ==> Target account Y
    And add the two additional entries (since out variable for the two conditions will be X & Y)
    Source account X ==> Target account X
    Source account Y ==> Target account Y
    Hope this helps, we have plenty of these kinds of situtations.
    Regards
    Ajay

  • Although I have been using Google Maps App in India for a while now (without any issues) but I still want to know if there are any plans for launching Turn by Turn Navigation under the OOTB Map App for iOS?

    Although I have been using Google Maps App in India for a while now (without any issues) but I still want to know if there are any plans for launching Turn by Turn Navigation under the OOTB Map App for iOS?
    It has been quite a while since Apple came up with Map App of their own and should be releasing improved maps with more capabilities in India.
    Cheers!
    Abhishek

    No one here can answer your question, as there is no one from Apple here, & no one here represents Apple or speaks for Apple.

  • Mapping issue - if value matches on of several conditions

    Hi champs,
    I have a mapping in PI 7.1 of an invoice-xml  to a INVOIC02-idoc.
    I am mapping the invoice sums to E1EDS01-segments and just want to map five of several qualifiers. So I have set up a mapping for the qualifier field SUMID that just maps those five qualifiers, and map the SUMME-field from inbound message as it is.
    Now it shows that our vendors send more than those five qualifiers I have in my mapping. Since I don´t have any control of the SUMME-field all seven values get mapped into the Idoc (generating seven E1EDS01-segments), but only the five segments with my mapped SUMID get the SUMID-field. So I get in total seven E1EDS01 segments in which I get only the SUMME in two of them.
    So my question is: Are there any pretty ways to handle this kind of mapping issues besides using a lot of equalS, if and or?
    I would like to be able to say (in as simple a function as possible)  that if qualifier in field A is X, Y or Z then map the value in field B to SUMME. How do I do that? BTW I am not a java-programmer so advanced java-codes are not a good way for me to handle it.
    regards,
    Glenn

    Write an UDF with this code:
    public void <UDFNAME>(String <FieldName>,Container container){
    If (<FieldName> == "X" || <FieldName> == "Y" || <FieldName> == "Z"){
    return <FieldName>;
    Edited by: spantaleoni on Mar 16, 2011 4:04 PM

  • Value Mapping Replication for Mass Data - Performance Issues

    Hi All,
    We are looking into Value Mapping Replication for Mass Data. We have done this for less number of fields.
    Now we might have to have 15,000 records in the cache for the Value Mapping. I am not sure how this would effect the Java Cache and Java Engine as a whole.
    There might be a situation where we will have to leave the 15K records in the cache table on Java Engine...
    Are there any parameters that we can look into just to see how this hits the performance.
    Any links/ guidance in the right direction might help me..
    reg

    Naveen,
    Check jins reply in this thread (they have done with API and without API using graphical but still some issues):
    Value mapping performance using LookUp API
    ---Satish

  • Issue regarding condition pricing date as system date for some condition types in sales order

    Hi
    I have already created a sales order on 30.04.2014. Today I am adding new line item to sales order in VA02 transaction. in this order new line items condition pricing date for conditions JEX2,JECX should show as 12.06.2014. But currently it is showing as 30.04.2014. I need condition pricing date as system date for above conditions.
    Regards
    prashant

    Hi
    When I am changing pricing date VBKD-PRSDT in sales order header . It is changing the condition pricing date for all. Sales order is created on 04.06.2014. I have added line item 150 on 14.06.2014.
    After adding line item 150 , there I have changed the pricing date as 14.06.2014. in sales A tab of item 150. But still it is taking from Sales order header date as 04.06.2014 for all conditions. But my requirement is for line item it should take as system date for some conditions like JEX2,JECX& JA1Y but for other conditions it will take as Order creation date. Please suggest. I have also attached screen shot below. please go through it.
    Regards
    PK
    Sales order header change mode VA02
    Here pricing date VBKD-PRSDT = 04.06.2016
    Item change mode
    I have added new line item 150 on 14.06.2014
    Changed the condition pricing date to 14.06.2014 & saved
    After saving I have gone to Va02 screen of line item 150
    & there I have gone to condition pricing date field from item condition tab
    for JEX2 condition type but still here condition pricing date is showing as
    04.06.2014 as below.
    Condition pricing date
    My requirement is like this
    For some particular conditions like JEX2  condition pricing date will take as system
    date instead sales order creation date when I will add a new item 150 on
    14.06.2014.but for other conditions it will show as order creation date for the
    same line item 150 .

  • Credit memo and MAP issue

    Hello Guru's
    I have 2 issues, and i am unable to understand the system logic for the same
    Issue 1:-
    We have an Intercomapny scenario
    sequence of transaction is as follows
    1. Create Return purchase order (document type NB) - Intercompany purchase
    2. Post return goods receipts - movement type 161
    3. Post credit memo with respect to return purchase order
    4. Cancel the movement type 161 - using 161 movement type
    System allows me to cancel the document created using 161 movement type
    Step 4 should not be allowed but system is allowing me to do so, please advise how to stop this
    Issue 2:-
    I have a strange MAP issues which is flactuating very drastically
    the scenario is as follows
    Store stock is 10 ea, stock value is 1000, MAP is 100
    DC map is 25
    When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
    Assume we issue 9 quantity from Store then
    Store stock is 9 ea, stock value is (1000-(25*9)) =  775, MAP is 775/1 = 775
    This transaction is causing major flactuation in store MAP (100 changed to 775)
    Please advise if there is any way we can control this behaviour
    I understand that there is a setting which will in case of major MAP changes will put the amount into PRD account.
    Appreciate if you can guide me to help
    Regards
    Amit

    Hi,
    For your first scenario,
    for a retun po of IC NB type, after creating the PO you  need to deliver the same at VL10G. For the delivery system will allow to create the PGR . Prior to these steps you need to return the goods using 161 at MIGO.Please check this 161 stock posted to stock in transit.After PGR system will clear the stock in transit.
    Now after claring the stock from transit try cancelling the MIGO 161 document.
    For the second query,
    Please review your question' When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
    Assume we issue 9 quantity from Store then
    Store stock is 9 ea, stock value is (1000-(25*9)) = 775, MAP is 775/1 = 775
    This transaction is causing major flactuation in store MAP (100 changed to 775),
    Please review the third line.
    Regards,

Maybe you are looking for