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

Similar Messages

  • 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

  • Anyone worked on Value Mapping Replication for Mass Data

    hi all,
    Is there any one who worked on <b>Value Mapping Replication for Mass Data</b> stuff.
    What is this?
    The on page 139 of the doc below tells about registereing
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/627d1cbc-0601-0010-aea2-c275521673f2
    Can any one explain guide me in that direction.
    reg,

    Naveen,
    Have a look at the weblog /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Refer the below discussion too
    Re: How to edit roles for specific tasks in IR & ID?
    Best regards,
    raj.
    Message was edited by:
            Raj

  • ADF Service Interface: two-phase commit issue for multiple data sources

    In FusionApps, For a service interface we had to use two DataSource resources (in the ejb-jar.xml),
    one is ApplicationServiceDBDS for SI and the other one is ApplicationDBDS(I don’t know the exact reason why this is needed, but when running the webservice, Framework was throwing an error asking for this) After adding these two, now(while running the webservice) we’re caught up with an error saying that unable to participate in two phase commit. I think this is because we added two dataSources, if we just use one dataSource everything is working fine.
    Error message from app server:
    "JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source=ApplicationDB"
    we have made the changes to ApplicationDB as said in the error message, but then the server is failing to start because of this.

    Hi,
    this is what the doc says - though not about two phase commit but transaction sharing:
    "At runtime, the calling client and the ADF service may or may not participate in the same transaction, depending on the protocol used to invoke the service (either SOAP or RMI). Only the RMI protocol and a Java Transaction API (JTA) managed transaction support the option to call the service in the same transaction as the calling client."
    When your application accesses a remote ADF Business Components service, each remote call is stateless, and the remote service will not participate in the same transaction as the business component that uses a service-enabled application module's service interface.
    In the majority of the cases, calls to remote services will be informational in nature and will not make changes to remote objects. However, if you must use a remote service to make changes, then keep these points in mind:
    An exception thrown by the remote service will cause the local transaction to fail.
    If you successfully call a remote service that results in modifying data, and then subsequently your local transaction fails for any reason, then it is the responsibility of your error handling code to perform a compensating transaction against the remote service to "undo" the previous change made."
    http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcextservices.htm
    Frank

  • 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 &quot;&amp;#00&quot; 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

  • Issue for creation date of Billing document in third party ???

    Hello SAP Folks,
    This issue is related to third party scenario. The basic requirement is to create to a billing document with a creation date same as
    Good issue date of Sales Order.
    For your information, with the help of enhacement we have passed on the value of posting date of material document generated
    from MIGO to Goods issue date in Sales Order. I am very much aware that setting up a new copying routine would help me but
    relating the GI date field of Sales Order from the techincal point of view is a complete work stopper. Could anyone throw light on
    the workaround for mapping this case ???
    Regards,
    Sarthak

    Hello,
    Thanks Alex for your input on the topic !!
    But i would like to say that the billing relevance of the item category has to "B" as this process of Third part Sales talks about creation of billing document after the MIGO. And i am basically interested to Populated the posting date of MIGO for Biling creation date. 
    In Sales Order, the GI date is modified to Posting date of MIGO through enhancement. I have been looking around relevant tables to fetch the GI date of Sales Order but not getting the right track...
    Could anyone provide any other workaround to implement this sort of requirement ???
    Eager to hear from Lakshmipathi ...
    Regards,
    Sarthak

  • 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

  • Value Mapping Replication for Mass Data

    Hi SDN,
    I have to design an interface in XI 3.0 (SP14 on AIX) for replicating mass data from file databse etc to the XI runtime cache.
    I went thru the follwing weblog which proved to be helpful:<b>/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    <b>ValueMappingReplicationOut</b> being my Asynchronous outbound interface and <b>ValueMappingReplication</b> being Asynchronous Inbound Interface of in the software component SAP BASIS, software component version SAP BASIS 6.40 in the namespace http//sap.com/xi/XI/System.
    Am aware that for this scenario the receiver is predefined (it must be on the Integration Server).
    My question here is how do i use the outbound interface to send data to XI. <b>I mean in my case i have a file and SQL server as the sender.</b>
    Can somebody detail the steps involved. Suppose i dont want to use ABAP proxy or JAVA proxy HTTP adapter sending the message,
    Do i have other options to send data to XI value mapping interface?
    Regards,
    Vineet

    When you want to send data from a file, just map the structure from the arriving XML to ValueMappingReplication. There is no need for using the interface ValueMappingReplicationOut or use an ABAP proxy.
    Regards
    Stefan

  • Crm mapping field for pricing

    Hy Guy
    In order to do download of pricing from erp to crm i have used the sap note 514952 - Download of customer-specific tables
    I have a problem with a field MATKL that in CRM is ZMATKL; when i run the condition objet to update the custom table with this field, I don't have the complete field. In SAP the field is more long (mp00001).
    I have other custom fields and I don't have this problem; the others fields are copied correctly.
    Please, have you any advice to give me?
    thanks in advance

    Hi Valentina,
    Not sure but the step 2 in the note says that the field name entered for remote field should be the field in structure CND_MAPT_ACS_REM , which you have set as MATKL and in structure you added ZMATKL which is wrong. Anyhow I think the field in the structure CND_MAPT_ACS_REM  should be named as MATKL( note specifically speaks, the field name be the same as R/3 field name ) because in CRM field catalog you must have already created a new field as ZMATKL which is on CRM side.
    component:       R/3 field name.
    component type : R/3 equivalent data element.
    LFld: Field name you entered into field catalogue in step 2 .
    FFld: R/3 field name you entered into structure CND_MAPT_ACS_REM_CUST in step 1.
    May be this suggestion be helpful to you.
    /Hasan

  • Where are the changes in R3 captured in ROCANCEL, mapped to for Master data

    Hi Experts,
    I have now read extgensively about 0Recordmode and how it becomes part of the DSO and changes in R3, captures in ROCANCEL gets mapped to 0Recordmode.
    But when the datasource is a master data, such as 0Plant_Attr, which is going to flow into the InfoObject, 0Plant; we know 0Plant does not containt 0Recordmode as seen in the case of the DSO. So, without 0Recordmode, where are the changes in R3 captured in ROCANCEL, mapped to when it comes to master data, such as 0Plant
    Thanks

    Hi,
    0Recordmode is the BW concept in Delta Loading to DSO. It is not R/3 concept.. SAP has provided To make the BW system to understand the entire info about the delta. As you know this is mapped to ROCANCEL.
    ROCANCEL holds the changes from R/3 side.
    The delta process (how the data is transferred) for the DataSource is determined in the table ROOSOURCE(in the source system)
    Properties of the delta process are determined in the table RODELTAM (in BI). So Master Data Changes will be handled by this way.
    Regards,
    Suman

  • Issue for retrive data form ITAB in SAP R/3

    Case:HOW CAN WE FETCH DATA FROM TRANSPARENT TABLE
    scenario:calculating net price for material on sales order
    (on the basis of material number,sales organization,distribution channel,division,sale to partY ,sales office)
    For this 5 prices are calculated :
    a)zmrp
    b)zlbj
    c)zmlb
    d)zdij
    e)mwst
    A bapi is developed through which all these data are fetched using joins on transparent and pooled tables.
    Bapi is properly working in Sap Environment.But when fetching data from non sap environment(.NET) only pooled tables are returning data.
    Transparent tables are returning blank data.
    And also if in query of transprent table if  in " where Clause " all parameters are hard codded then transparent table also return data in non sap envirnment.
    for eg...
    instead of writing ---
    select data from tranparent table where matnr= (matnr variable made in bapi entered by user) and vkorg=(sales org  variable made in bapi) ....same with all conditions
    if we write(returing data)----
    select data from tranparent table where matnr='5476665987' and vkorg='1400' ....same with all conditions
    BAPI Code is given below:
                                                                                    FUNCTION ZBAPI_BAR3.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(MATNR) TYPE  ZBAPI_IMPORT2-MATNR
    *"     VALUE(VKORG) TYPE  ZBAPI_IMPORT2-VKORG
    *"     VALUE(VTWEG) TYPE  ZBAPI_IMPORT2-VTWEG
    *"     VALUE(KUNNR) TYPE  ZBAPI_IMPORT2-KUNNR
    *"     VALUE(SPART) TYPE  ZBAPI_IMPORT2-SPART
    *"     VALUE(AUART) TYPE  ZBAPI_IMPORT2-AUART
    *"     VALUE(VKBUR) TYPE  ZBAPI_IMPORT2-VKBUR
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRETURN
    *"  TABLES
    *"      ITAB STRUCTURE  ZBAPI_TABLE3
      DATA: LAND1  LIKE KNA1-LAND1  ,
            REGIO  LIKE KNA1-REGIO  ,
            WERKS  LIKE VBAP-WERKS  ,
           KNUMH  LIKE A004-KNUMH  ,
                   KNUMH LIKE ZBAPI_TABLE3-Knumh  ,
            KBETR   LIKE  COND_KONW-Kbetr ,
           LIKE ZBAPI_TABLE3-KBETR  ,
          KNUMH1(10) TYPE C ,
                KNUMH2(10) TYPE C ,
                KNUMH3(6) TYPE C ,
         KNUMH2 LIKE ZBAPI_TABLE3-KNUMH  ,
         KNUMH3 LIKE ZBAPI_TABLE3-KNUMH  ,
         KNUMV LIKE  ZBAPI_TABLE3-KNUMV  ,
            KDGRP  LIKE KNVV-KDGRP  ,
            TAXKD  LIKE KNVI-TAXKD  ,
            TAXM1  LIKE MLAN-TAXM1  ,
            ADRNR  LIKE TVBUR-ADRNR ,
            REGION LIKE ADRC-REGION ,
            DATE  TYPE A503-DATAB .
      SELECT SINGLE KDGRP FROM KNVV INTO KDGRP WHERE KUNNR  = KUNNR AND VKORG = VKORG AND VTWEG = VTWEG AND SPART = SPART   .
      SELECT SINGLE LAND1 REGIO  FROM KNA1 INTO (LAND1,REGIO)  WHERE KUNNR  = KUNNR .
      SELECT SINGLE WERKS FROM VBAP INNER JOIN VBAK ON VBAPVBELN = VBAKVBELN  INTO WERKS  WHERE AUART = AUART  .
      SELECT SINGLE TAXKD FROM KNVI INTO TAXKD WHERE KUNNR = KUNNR AND ALAND = LAND1 AND TATYP = 'MWST' .
      SELECT SINGLE TAXM1 FROM MLAN INTO TAXM1 WHERE MATNR = MATNR AND ALAND = LAND1  .
      SELECT SINGLE ADRNR FROM TVBUR INTO ADRNR WHERE VKBUR = VKBUR  .
      SELECT SINGLE REGION FROM ADRC INTO REGION WHERE ADDRNUMBER = ADRNR   .
      DATE = SY-DATUM .
      SELECT SINGLE KNUMH FROM A931 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = VKORG AND VTWEG = VTWEG AND WERKS = '1410' AND KUNNR = KUNNR AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
    SELECT SINGLE KNUMH FROM A931 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = '1400' AND VTWEG = '10' AND WERKS = '1410' AND KUNNR = '0000100163' AND MATNR = 'A10AN027PNSL' AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
      SELECT SINGLE zkarigar FROM zkari INTO KNUMH1 WHERE erdat = '20070410' .
    SELECT SINGLE KNUMH FROM A004 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = VKORG AND VTWEG = VTWEG AND MATNR = MATNR  AND DATAB LE DATE AND DATBI GE DATE  .
    *'0000280050'
    CLEAR KNUMH .
    CLEAR KBETR .
    SELECT SINGLE KNUMH FROM A503 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'MWST' AND ALAND = LAND1 AND WKREG = REGION AND REGIO = REGIO
    AND TAXK1 = TAXKD  AND TAXM1 = TAXM1 AND KFRST = SPACE  AND DATAB LE DATE AND DATBI GE DATE and knumh = '0000279708'.
    concatenate '0000' KNUMH into knumh1 .
    **KNUMH1 = KNUMH .
    **select single kbetr from konp into kbetr where knumh = knumh1 .
    **knumh3 = knumh1+4(6) .
    ***itab-kbetr = kbetr .
    **concatenate '0000' knumh3 into knumh2 .
    **write:/ knumh2 .
    ITAB-KNUMH1 =  KNUMH2 .
    ITAB-KNUMH1 = KNUMH1 .
      APPEND ITAB .
    *loop at itab .
    *write:/ itab-knumh1 .
    *endloop .
    CLEAR KNUMH .
    CLEAR KBETR .
      SELECT SINGLE KNUMH FROM A940 INTO KNUMH WHERE KAPPL = 'V' AND KSCHL = 'ZDIJ' AND VKORG = VKORG AND VTWEG = VTWEG AND KDGRP = KDGRP AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE .
      SELECT SINGLE KNUMH FROM A931 INTO KNUMH WHERE KAPPL = 'V' AND KSCHL = 'ZDIJ' AND VKORG = VKORG AND VTWEG = VTWEG AND WERKS = WERKS AND KUNNR = KUNNR AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
    ITAB-KNUMH =  KNUMH.
    APPEND ITAB .
    CLEAR KNUMH .
    CLEAR KBETR .
    ITAB-KNUMH =  KNUMH .
    APPEND ITAB .
    COMMIT WORK AND WAIT.
    ENDFUNCTION.
    Thanks & Regrds
    Amrish

    I believe you posted in the wrong forum.
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    Ludek

  • Issue for retrive data from ITAB

    Case:HOW CAN WE FETCH DATA FROM TRANSPARENT TABLE
    scenario:calculating net price for material on sales order
    (on the basis of material number,sales organization,distribution channel,division,sale to partY ,sales office)
    For this 5 prices are calculated :
    a)zmrp
    b)zlbj
    c)zmlb
    d)zdij
    e)mwst
    A bapi is developed through which all these data are fetched using joins on transparent and pooled tables.
    Bapi is properly working in Sap Environment.But when fetching data from non sap environment(.NET) only pooled tables are returning data.
    Transparent tables are returning blank data.
    And also if in query of transprent table if  in " where Clause " all parameters are hard codded then transparent table also return data in non sap envirnment.
    for eg...
    instead of writing ---
    select data from tranparent table where matnr= (matnr variable made in bapi entered by user) and vkorg=(sales org  variable made in bapi) ....same with all conditions
    if we write(returing data)----
    select data from tranparent table where matnr='5476665987' and vkorg='1400' ....same with all conditions
                                                                                    FUNCTION ZBAPI_BAR3.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(MATNR) TYPE  ZBAPI_IMPORT2-MATNR
    *"     VALUE(VKORG) TYPE  ZBAPI_IMPORT2-VKORG
    *"     VALUE(VTWEG) TYPE  ZBAPI_IMPORT2-VTWEG
    *"     VALUE(KUNNR) TYPE  ZBAPI_IMPORT2-KUNNR
    *"     VALUE(SPART) TYPE  ZBAPI_IMPORT2-SPART
    *"     VALUE(AUART) TYPE  ZBAPI_IMPORT2-AUART
    *"     VALUE(VKBUR) TYPE  ZBAPI_IMPORT2-VKBUR
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRETURN
    *"  TABLES
    *"      ITAB STRUCTURE  ZBAPI_TABLE3
      DATA: LAND1  LIKE KNA1-LAND1  ,
            REGIO  LIKE KNA1-REGIO  ,
            WERKS  LIKE VBAP-WERKS  ,
           KNUMH  LIKE A004-KNUMH  ,
                   KNUMH LIKE ZBAPI_TABLE3-Knumh  ,
            KBETR   LIKE  COND_KONW-Kbetr ,
           LIKE ZBAPI_TABLE3-KBETR  ,
          KNUMH1(10) TYPE C ,
                KNUMH2(10) TYPE C ,
                KNUMH3(6) TYPE C ,
         KNUMH2 LIKE ZBAPI_TABLE3-KNUMH  ,
         KNUMH3 LIKE ZBAPI_TABLE3-KNUMH  ,
         KNUMV LIKE  ZBAPI_TABLE3-KNUMV  ,
            KDGRP  LIKE KNVV-KDGRP  ,
            TAXKD  LIKE KNVI-TAXKD  ,
            TAXM1  LIKE MLAN-TAXM1  ,
            ADRNR  LIKE TVBUR-ADRNR ,
            REGION LIKE ADRC-REGION ,
            DATE  TYPE A503-DATAB .
      SELECT SINGLE KDGRP FROM KNVV INTO KDGRP WHERE KUNNR  = KUNNR AND VKORG = VKORG AND VTWEG = VTWEG AND SPART = SPART   .
      SELECT SINGLE LAND1 REGIO  FROM KNA1 INTO (LAND1,REGIO)  WHERE KUNNR  = KUNNR .
      SELECT SINGLE WERKS FROM VBAP INNER JOIN VBAK ON VBAPVBELN = VBAKVBELN  INTO WERKS  WHERE AUART = AUART  .
      SELECT SINGLE TAXKD FROM KNVI INTO TAXKD WHERE KUNNR = KUNNR AND ALAND = LAND1 AND TATYP = 'MWST' .
      SELECT SINGLE TAXM1 FROM MLAN INTO TAXM1 WHERE MATNR = MATNR AND ALAND = LAND1  .
      SELECT SINGLE ADRNR FROM TVBUR INTO ADRNR WHERE VKBUR = VKBUR  .
      SELECT SINGLE REGION FROM ADRC INTO REGION WHERE ADDRNUMBER = ADRNR   .
      DATE = SY-DATUM .
      SELECT SINGLE KNUMH FROM A931 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = VKORG AND VTWEG = VTWEG AND WERKS = '1410' AND KUNNR = KUNNR AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
    SELECT SINGLE KNUMH FROM A931 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = '1400' AND VTWEG = '10' AND WERKS = '1410' AND KUNNR = '0000100163' AND MATNR = 'A10AN027PNSL' AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
      SELECT SINGLE zkarigar FROM zkari INTO KNUMH1 WHERE erdat = '20070410' .
    SELECT SINGLE KNUMH FROM A004 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'ZMRP' AND VKORG = VKORG AND VTWEG = VTWEG AND MATNR = MATNR  AND DATAB LE DATE AND DATBI GE DATE  .
    *'0000280050'
    CLEAR KNUMH .
    CLEAR KBETR .
    SELECT SINGLE KNUMH FROM A503 INTO KNUMH1 WHERE KAPPL = 'V' AND KSCHL = 'MWST' AND ALAND = LAND1 AND WKREG = REGION AND REGIO = REGIO
    AND TAXK1 = TAXKD  AND TAXM1 = TAXM1 AND KFRST = SPACE  AND DATAB LE DATE AND DATBI GE DATE and knumh = '0000279708'.
    concatenate '0000' KNUMH into knumh1 .
    **KNUMH1 = KNUMH .
    **select single kbetr from konp into kbetr where knumh = knumh1 .
    **knumh3 = knumh1+4(6) .
    ***itab-kbetr = kbetr .
    **concatenate '0000' knumh3 into knumh2 .
    **write:/ knumh2 .
    ITAB-KNUMH1 =  KNUMH2 .
    ITAB-KNUMH1 = KNUMH1 .
      APPEND ITAB .
    *loop at itab .
    *write:/ itab-knumh1 .
    *endloop .
    CLEAR KNUMH .
    CLEAR KBETR .
      SELECT SINGLE KNUMH FROM A940 INTO KNUMH WHERE KAPPL = 'V' AND KSCHL = 'ZDIJ' AND VKORG = VKORG AND VTWEG = VTWEG AND KDGRP = KDGRP AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE .
      SELECT SINGLE KNUMH FROM A931 INTO KNUMH WHERE KAPPL = 'V' AND KSCHL = 'ZDIJ' AND VKORG = VKORG AND VTWEG = VTWEG AND WERKS = WERKS AND KUNNR = KUNNR AND MATNR = MATNR AND KFRST = SPACE AND DATAB LE DATE AND DATBI GE DATE  .
    ITAB-KNUMH =  KNUMH.
    APPEND ITAB .
    CLEAR KNUMH .
    CLEAR KBETR .
    ITAB-KNUMH =  KNUMH .
    APPEND ITAB .
    COMMIT WORK AND WAIT.
    ENDFUNCTION.
    Thanks & Regards
    Amrish

    Hi,
    Please Check this => The specified item was not found.
    How to post code in SCN, and some things NOT to do...
    Faisal

  • Purchase Order E- Mail Issue for Vendor .

    Dear All Gurus,
                                                                                    User is complaining that a perticular Vendor is not getting Purchase Order throught E MAIL , i had simulated the scenario in Test Client and given an Output Type and in medium given as " 5EXTERNAL SEND ", after that i hd saved the P.O , then clicked on Print Preview but a msg appears in task bar as " E-mail address incorrect or non-existent " , Kindly help me what can i do to fix this problem I also want to know that either there is a problem in System which is responsible for sending E-mails or Vendor Email address is not OK ?
    Thanx in advance ,
    Rgds,
    sap11

    Dear,
    Please check: Re: PO E-Mail Out Put Error ( E-mail address incorrect or non-existent )
    Regards,
    Syed Hussain.

  • 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];

Maybe you are looking for

  • Rank function taking too long

    I am running the below query. This query runs fine. However, if I uncomment the "rank() over(partition by CONCAT_DATE,VARIABLE_ID order by VARIABLE_VALUE) RANK" and "B.rank=1" , the query takes a very long time to execute...takes about 6-7 minutes in

  • Spry horizontal submenu does not hide in IE

    My spry horizontal submenus stay displayed in IE. What should I do. I am using vista with DW cs3. James

  • Is there a good, free parental control software for mac

    Hi, Wondering if there is a good parental software you can download onto Macbook Pro that is free or a paid option that is really good? Thanks in advance folk. D

  • I can't track my shipping yet for Iphone 6

    I can't track my shipping yet for Iphone 6, I got emailed yesterday with tracking number is anyone having this problem.

  • LTS Issue

    Hi, I've created onl LTS for my fact table. there i 've give where condition in content. but it is not firing. when i check my log file. that where condition is not firing on my report, I'm not awre of this, Can any one help me out on this