Execute mapping on condition (suggestions plz)

Hi,
I'am loading huge flat files in a warehouse and I need to make sure no file is loaded twice. I guess there are a few possibilities, but feedback is always pleasant.
Is it possible to use a pre-mapping operator here? ( ie. user a procedure to check wheter to first 10 lines of the flat file have not been loaded into the db. before.) Or should i use an external workflow process.
Or there any other ways of doing this? All sugestions are welcome.
mvg
Bram

Bram,
Not really any new ideas, just clarifications.
I suppose the challenge here is to compare some signature value that uniquely identifies a file with the same value in the database. It's up to you how you want to define such signature, be it jut a file name or some part of the file content.
Not that Pre-Mapping Operator calls functions and procedures defined in the database. If the procedure you designed to do the checking not a database procedure, then you can plug it in as External Activity in Process Flow.
Nikolai

Similar Messages

  • Unable to execute map in SQL

    Hi,
    I have a map which conditionally inserts data tables. The map works fine if I execute using from OWB UI. It inserts data as expected.
    The same map if executed from PL/SQL it doesn't execute.
    Status from PL/SQL...
    declare
    v varchar2(1000);
    begin
    map_abc.main(v,123);
    end;
    Audit run id = 270625
    Return result = OK
    Execution status = COMPLETE
    No. task errors = 0
    No. task warnings = 0
    No. errors = 0
    No. selected = 0
    No. inserted = 0
    No. updated = 0
    No. deleted = 0
    No. discarded= 0
    No. merged = 0
    No. corrected= 0
    select mr.execution_audit_id,
    mr.map_name "Map Name"
    , to_char(r.start_time,'DD-MON hh24:mi') "Exec Date"
    , to_char(trunc(r.elapse_time/60))
    || 'm '
    || to_char(r.elapse_time - 60 * trunc(r.elapse_time/60))
    || 's' "Exec Time"
    , nvl(r.number_records_merged,0)+nvl(r.number_records_inserted,0)+nvl(r.number_records_updated,0) "No Records"
    from all_rt_audit_map_runs mr
    , all_rt_audit_step_runs r
    , all_rt_audit_step_run_targets t
    where execution_audit_id = 270625
    and mr.map_run_id = r.map_run_id
    and mr.map_run_id = t.map_run_id
    and r.step_id = t.step_id
    and r.run_status = 'COMPLETE'
    order by r.start_time DESC;
    No Rows found
    ---- Status from OWB
    Returns Audit id 270634.
    Audit ID MapName Exec Date Time Rows
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     1
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     0
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     0
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     2
    Any Ideas/thoughts
    -DvvB
    Edited by: user512679 on Jul 17, 2009 9:56 AM

    It only happens when any previous execution of the map in SQL fails then all the subsequent map executions completes 'OK' without processing any rows and without logging any audit information.
    Execute the map in New SQL session to have successful execution.
    -DvvB

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • I bought a iphone 4 , which is unfortunate fatory locked... What to do ? any suggestion plz economical solution required

    I bought a iPhone 4 , which is unfortunate factory locked...
    What to do ? any suggestion plz economical solution required

    No, iPhone customer care, or Apple, cannot do anything about unlocking an iPhone.  Only the cellular phone carrier the iPhone is locked to can unlock it.  You need to contact the telephone company to get it unlocked.

  • After updating my iphone 4 to ios 7.0.6, it is getting hang, i mean it is slow. any suggestion plz..

    After updating my iphone 4 to ios 7.0.6, it is getting hang, i mean it is slow. any suggestion plz..

    Hey Iphone buddy,
    Thanks for the question. That definitely sounds frustrating! To troubleshoot these issues, let’s restart/reset your device:
    Turn your iOS device off and on (restart) and reset
    http://support.apple.com/kb/HT1430
    If your issue persists, let’s backup and restore your device:
    Choosing an iOS backup method (Should I use iTunes or iCloud to back up my iOS device?)
    http://support.apple.com/kb/HT5262
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Thanks,
    Matt M.

  • TS3697 I'm having problems transferring photos from iphone to pc. any suggestions plz?

    I'm having problems transferring photos from iphone to pc. any suggestions plz?

    You should ask in the Apple Forum. This has nothing to do with Adobe Reader, which only reads PDF files.
    www.apple.com

  • 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

  • Execute mapping shows error message.

    Hi I am trying a File2File scenario and while executing a mapping I get an error. Here is the error log.
    #6 04:01:39 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable Thrown: MESSAGE ID: com.sap.aii.ib.server.cmpl.CompilerException com.sap.aii.ib.core.mapping.exec.ExecuteException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:195) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Serialized server exceptions: MESSAGE ID: com.sap.aii.ib.server.cmpl.CompilerException (serialized) com.sap.aii.ib.core.mapping.exec.ExecuteException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:200) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:149) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:360) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:300) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:154) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) MESSAGE ID: com.sap.aii.ib.server.cmpl.CompilerException (serialized) com.sap.aii.ib.server.cmpl.CompilerException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.aii.ib.server.cmpl.Compiler.compile(Compiler.java:205) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:196) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:149) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:360) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:300) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:154) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) MESSAGE ID: com.sap.engine.compilation.CompilerProcessFailureException (serialized) com.sap.engine.compilation.CompilerProcessFailureException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.engine.compilation.ExternalCompiler.compile(ExternalCompiler.java:77) at com.sap.aii.ib.server.cmpl.Compiler.compile(Compiler.java:188) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:196) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:149) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:360) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:300) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:154) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) #5 03:50:54 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.PersistenceException: com.sap.aii.utilxi.swing.framework.PersistenceException: Object Data Type | not found (no context) at com.sap.aii.ib.gui.editor.XiDocument.load(XiDocument.java:320) at com.sap.aii.utilxi.swing.framework.cmd.OpenCommand.execute(OpenCommand.java:208) at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196) at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134) at com.sap.aii.ib.gui.link.XlcOpenAction.actionPerformed(XlcOpenAction.java:83) at com.sap.aii.ib.gui.link.XlcMouseHandler.mouseClicked(XlcMouseHandler.java:52) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) #4 03:50:54 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.PersistenceException: Object Data Type | not found (no context) #3 03:42:22 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.SilentCancellationException: com.sap.aii.utilxi.swing.framework.SilentCancellationException: at com.sap.aii.utilxi.swing.framework.cmd.CloseCommand.execute(CloseCommand.java:77) at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196) at com.sap.aii.utilxi.swing.framework.cmd.CloseContainerCommand.execute(CloseContainerCommand.java:35) at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196) at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134) at com.sap.aii.utilxi.swing.framework.FrameDCWrapper$FrameDCWrapperListener.uniFrameCloseTriggered(FrameDCWrapper.java:113) at com.sap.aii.utilxi.swing.toolkit.uniframe.UniFrame.fireUniFrameEvent(UniFrame.java:156) at com.sap.aii.utilxi.swing.toolkit.uniframe.UniFrame.close(UniFrame.java:64) at com.sap.aii.utilxi.swing.toolkit.uniframe.FrameAdapter$1.windowClosing(FrameAdapter.java:31) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) #2 03:42:22 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.SilentCancellationException: #1 03:33:56 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71) at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82) at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23) at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.(InternalXiItemServiceBase.java:44) at com.sap.aii.ib.gui.xiitem.CommonInternalXiItemService$ForVersionConflictList.(CommonInternalXiItemService.java:323) at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:141) at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:104) at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33) at com.sap.aii.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:68) at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33) at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116) at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:374) at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:201) at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) #0 03:33:56 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
    I am a beginner to XI. Could someone help me out in this issue.
    cheers,
    Chandra.

    both the sender and receiver message types have the same element types and no udf/standard functions are used for mapping.
    source message type contains:
    empid - integer
    empname -string
    empsal- float
    emploc- string
    target
    eid - integer
    ename -string
    esal - float
    eloc -string.
    n all the fields are mapped in the same order.

  • Mapping , If condition without else values get suppressed

    Hi All,
                   I am using If condition without else , it is such that when my condition is satisfied it must pass some values to the target field, i have set the properties as True, but when i check the queque , i find that even though value is true it is suppressed ,
    please help me in this thaning you
    Sridhar

    Hi Sridhar,
    There is bug in ifwithoutElse in PI7.1.
    1) you check or or don't check the Keeps property it will always pass the SUPPRESS if the input is false
    2) If you have not mapped the output of ifWithoutElse directly to the output field it will not pass SUPPRESS(Not Change context) to the target if value is false .
    if you have used some logic between the output of ifWithoutElse and the Target then the output will not be the desired one. (And the same problem you are facing).
    There is seems to be some context change happend due to this behaviour in your case.
    As a work around create UDF to function as ifWithoutElse.
    Not Sure if SAP has Released any patches for this.
    Thanks,
    Sunil Singh

  • 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))

  • ACE - FQDN in a class map or other suggestions

    It appears it is only possible to use an IP address when creating match conditions in a class map which makes sense. 
    We are using this basically as a NAT.
    ie, server sends an HTTP message to the ACE containing XML
    ACE then encrypts with an SSL cert and substitutes a public IP address and sends the XML out to a customer IP on the public internet
    Problem is when customer changes the IP address, we need to change the configuration on the ACE.  Ideally if I could use a DNS name, then the customer can manage any changes via DNS and not involve us.
    Disclaimer: I'm a complete novice to the ACE
    Any ideas appreciated!

    Hi Rob,
    Can you share the current configuration and also the traffic flow here.
    Regards,
    Kanwal

  • Tax code linking with account mapped to condition type in vkoa

    Hi,
    I created two new discount condition types and mapped an account in vkoa as per client's requirements. There is no field for tax code in the condition record maintenance screen. However, on creation of billing document I am getting error 'No taxes on sales/purch. are allowed for account 416010 TCL, A4 is not allowed.' Message no. FS217. Is there any setting in FI linking the account with the tax code? Or should I check any SD settings?
    Thanks,
    Kasturi

    hi,
    according to the error message
      message e217(fs) with v_accrac-hkont
                            v_accrac-bukrs
                            v_accrac-acctax.
          MESSAGE e217(fs) WITH i_hkont i_bukrs i_mwskz
                  RAISING no_tax_code.
        MESSAGE e217(fs) WITH i_hkont i_bukrs i_mwskz
                RAISING no_tax_code.
    this are two programs which are affected with the respective TAX CODES.
    check FTXP for the same.
    please check and confirm
    balajia

  • Problem about execute mapping in plsql!

    hello forum:
    i've builded a mapping within owb92,and i want it can be called
    through a schedule program(from third party),i hope the way i call it
    like a command line,so the schedule program can deal with it or the
    way of call the mapping can be wrapped in a procedure.
    any suggestion appreciated.

    Edwin's suggestion should work, where you basically call SQL from that scheduler. You can also call the mapping.main if that is easier. That looks like this (mapping is called cities_cd_map in design):
    declare
    out1 varchar2(100);
    begin
    cities_cd_map.main( p_status => out1
    , P_MAX_NO_OF_ERRORS => 50
    , P_COMMIT_FREQUENCY => 1000
    , P_OPERATING_MODE => 'SET_BASED'
    , P_BULK_SIZE => 50
    , P_AUDIT_LEVEL => 'STATISTICS'
    , P_PURGE_GROUP => 'WB'
    , DATE_IN => SYSDATE
    , USER_IN => 'Me'
    dbms_output.put_line('Result = '||out1);
    end;
    You can also use the API in OWB to run the mapping (and process flow etc), using something like this (mapping name in this case is MYMAP in design):
    declare
    out1 number;
    begin
    out1 := wb_rt_api_exec.run_task( P_LOCATION_NAME => 'TGT_LOCATION'
    , P_TASK_TYPE => 'PLSQLMAP'
    , P_TASK_NAME => 'MYMAP'
    , P_OEM_FRIENDLY => 1 -- Anything but 0 will get a good EM status
    dbms_output.put_line('Result = '||out1);
    end;
    Hope this helps,
    JP

  • FDM 11.1.2.1 Mapping Issue Conditional Mapping Error

    I am configuring the newly installed FDM 11.1.2.1 and have and issue with the conditional account mapping where I have "varValues(9)" and it comes with this error. I have taken the script from our current FDM 9.3 versionm where it did worked, but in FDM 11.1.2.1 it will no go through.
    Is the script not correct ? Or is this new version different somewhere ?
    Thanks,
    Henri
    Error message
    ** Begin FDM Runtime Error Log Entry [2011-10-05 16:25:41] **
    ERROR:
    Code............................................. 13
    Description...................................... Conditional Map Script Error: Type mismatch at line(1)
    Script:
    If varValues(9) = 0 Then Result = "5821.11.060" Else Result = "5821.11.060" End If
    Rule=w98x
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 5000
    IDENTIFICATION:
    User............................................. <withheld>
    Computer Name.................................... <withheld>
    App Name......................................... <withheld>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... <withheld>
    Database Name.................................... <withheld>
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... <withheld>
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... Actuals - PP
    Category ID...................................... 13
    Period........................................... Sep - 2011
    Period ID........................................ 9/30/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

    Cast the value of varValues(9) as a Double and do the same for the 0 i.e. CDbl(varValues(9)) = CDbl(0). Also verify that the value passed in varValues(9) is actually a number and does not contain non-numeric characters or is blank

  • Mapping pricing conditions cond_a

    I am working on sending pricing condition records from SAP to XI - idoc (cond_a) to flat file scenario. 
    In the mapping, on the source side, there is segment - E1KOMG (Occurence - 0..1) that is mapped to - UpdateInsertKOMG (Occurence - 0..Unbounded) on the right (target). 
    Right now we get one KOMG record in the flat file.  We need two KOMG records in the flat file. 
    I was told to modify the UpdateInsertKOMG on the right (target) to accomplish this. 
    How to accomplish this?
    Thanks.

    1-change the ocurrance of the segment to 0.N
    If I want to use this approach, how do I change the occurance from 0 to N.
    the abap team has to do this
    In the source I will always have one segment of KOMG and mulitple KONP.
    you need all the values of KONP in the file?
    for exmaple this is your structure:
    <IDOC>
    <E1KOMG>0.1
    <KONP>0.n
    <KONP>123
    <KONP>aasd
    <KONP>gtr
    </E1KOMG
    </IDOC>
    the file should be
    XXXX,XXX,123,aasd,gtr
    something like that? actually you have the structure of the IDoc as my example and you only get one value into the file??
    if that is true, you need to modify your mapping like:
    KONP-->targetsegment --> doing this you will create at target side many segments as KONP values you receive
    KONP>splitByValue(eachValue)->targetfield -->many field in the target segments as KONP values.

Maybe you are looking for