Skip unwanted segment - but required?
Hi, if I dont want an Idoc segment to be created in my mapping, that is required (1..9999), what should I do?
Rune ref this weblog to help u more on the createif function - https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2792. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
I guess this should sort out your issue
Similar Messages
-
Deletion of unwanted segment - error 26
Hello
Can somebody please let me know how to delete unwanted segments?
I want to delete segment E1MARCM for unwanted plants. I am deleting this from BADI_MATMAS_ALE_CR, but I am unable to deal with its child segments.
Thanks in advance
Moderator message - Cross post locked
Edited by: Rob Burbank on Mar 24, 2010 10:57 AMIn theory the best way to get rid of unwanted segments without any coding is to introduce a filter in the distribution model (transaction BD64). However, this only works if you're using ALE and you know up-front which values you want or don't.
In your case though it sounds as if you need dynamic filtering, i.e. it depends from case to case which plant segments are wanted. Thus a simple coding routine that deletes unwanted E1MARCM segments along with its children should do.
Here's some untested ABAP code that probably has some errors. The idea is simply to recursively delete the given IDoc segment (specified in SEGNUM) along with all it's children (i.e. the ones that reference in PSGNUM the given segment number):
form DELETE_SEGMENT using SEGNUM type EDI_DD40-SEGNUM
changing EDIDD_TAB type EDI_DD40_TT.
data EDIDD type EDI_DD40.
" Delete the parent segment
delete EDIDD_TAB where SEGNUM = SEGNUM.
" Delete children of parent segment and their children
loop at EDIDD_TAB into EDIDD where PSGNUM = SEGNUM.
" Delete the immediate child
delete EDIDD_TAB index sy-tabix.
" Now recursively delete all it's children
perform DELETE_SEGMENT using EDIDD-SEGNUM
changing EDIDD_TAB.
endloop.
endform.
As I said, just the rough outline. Coding is untested and I'm not completely sure if the looping and deleting really works. Might be better to mark the unwanted segments first and then delete them. E.g. if your IDoc number is filled, then you could for example clear the IDoc number in the table for all unwanted segments and then delete them en-block once you're done.
Cheers, harald -
Deletion of unwanted segments error 26
Hello
Can somebody please let me know how to delete unwanted segments?
I want to delete segment E1MARCM for unwanted plants. I am deleting this from BADI_MATMAS_ALE_CR, but I am unable to deal with its child segments.
Thanks in advanceIn theory the best way to get rid of unwanted segments without any coding is to introduce a filter in the distribution model (transaction BD64). However, this only works if you're using ALE and you know up-front which values you want or don't.
In your case though it sounds as if you need dynamic filtering, i.e. it depends from case to case which plant segments are wanted. Thus a simple coding routine that deletes unwanted E1MARCM segments along with its children should do.
Here's some untested ABAP code that probably has some errors. The idea is simply to recursively delete the given IDoc segment (specified in SEGNUM) along with all it's children (i.e. the ones that reference in PSGNUM the given segment number):
form DELETE_SEGMENT using SEGNUM type EDI_DD40-SEGNUM
changing EDIDD_TAB type EDI_DD40_TT.
data EDIDD type EDI_DD40.
" Delete the parent segment
delete EDIDD_TAB where SEGNUM = SEGNUM.
" Delete children of parent segment and their children
loop at EDIDD_TAB into EDIDD where PSGNUM = SEGNUM.
" Delete the immediate child
delete EDIDD_TAB index sy-tabix.
" Now recursively delete all it's children
perform DELETE_SEGMENT using EDIDD-SEGNUM
changing EDIDD_TAB.
endloop.
endform.
As I said, just the rough outline. Coding is untested and I'm not completely sure if the looping and deleting really works. Might be better to mark the unwanted segments first and then delete them. E.g. if your IDoc number is filled, then you could for example clear the IDoc number in the table for all unwanted segments and then delete them en-block once you're done.
Cheers, harald -
Java.rmi.UnmarshalException: skeleton class not found but required for clie
Hello everyone,
I am new to RMI and getting a strange exception. I am using Java 1.5.0_07 both on client and server. They are running on the same machine, the rmi registry is started inside the server application.
I am wondering why java complains about skeletons, I thought they are automatically created when using java 5.0?
Please have a look at the stacktrace below.
Thank you for your help.
Best Regards
Patric
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling call header; nested exception is:
java.rmi.UnmarshalException: skeleton class not found but required for client version
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
sun.rmi.transport.Transport$1.run(Transport.java:153)
java.security.AccessController.doPrivileged(Native Method)
sun.rmi.transport.Transport.serviceCall(Transport.java:149)
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
java.rmi.Naming.lookup(Naming.java:84)
org.apache.jsp.index_jsp._jspService(index_jsp.java:58)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)The full class path information that I can gather is as follows (some of the library path locations could be suspect...):
Class path: /edge/node3/hotfix::/edge/node3/current/lib/JMdsApi.jar:/edge/node3/current/lib/MemoryProfilingAgent.jar:/edge/node3/current/lib/T2common-2.6.0-SNAPSHOT.3200.jar:/edge/node3/current/lib/T2scripting-jython.jar:/edge/node3/current/lib/activation.jar:/edge/node3/current/lib/alib.jar:/edge/node3/current/lib/alibom.jar:/edge/node3/current/lib/ant.jar:/edge/node3/current/lib/authapi.jar:/edge/node3/current/lib/bbdlapi.jar:/edge/node3/current/lib/bcpg-jdk15-136.jar:/edge/node3/current/lib/bcprov-jdk15-136.jar:/edge/node3/current/lib/c3p0-0.9.1.2.jar:/edge/node3/current/lib/castor-1.1-codegen-anttask.jar:/edge/node3/current/lib/castor-1.1-codegen.jar:/edge/node3/current/lib/castor-1.1-xml.jar:/edge/node3/current/lib/castor-1.1.jar:/edge/node3/current/lib/colt-1.2.0.jar:/edge/node3/current/lib/common-annotations.jar:/edge/node3/current/lib/commons-beanutils.jar:/edge/node3/current/lib/commons-codec-1.3.jar:/edge/node3/current/lib/commons-collections-3.2.1.jar:/edge/node3/current/lib/commons-jexl-1.1.jar:/edge/node3/current/lib/commons-lang-2.3.jar:/edge/node3/current/lib/commons-logging-1.1.1.jar:/edge/node3/current/lib/commons-net-1.4.1.jar:/edge/node3/current/lib/dsn.jar:/edge/node3/current/lib/eagleapi.jar:/edge/node3/current/lib/ezmorph-1.0.3.jar:/edge/node3/current/lib/f2-loader-1.8.jar:/edge/node3/current/lib/fasttrade-boviewer-1.0.1.jar:/edge/node3/current/lib/hsqldb.jar:/edge/node3/current/lib/icu4j-3.4.4.jar:/edge/node3/current/lib/ivy.jar:/edge/node3/current/lib/janino.jar:/edge/node3/current/lib/janus-sdk-1.7.0.0.jar:/edge/node3/current/lib/jasypt-1.4.1.jar:/edge/node3/current/lib/javolution.jar:/edge/node3/current/lib/jcalendar-1.3.2.jar:/edge/node3/current/lib/jcl-over-slf4j-1.5.6.jar:/edge/node3/current/lib/jcommon-1.0.9.jar:/edge/node3/current/lib/jconn2.jar:/edge/node3/current/lib/jconn3-6.05-b26214.jar:/edge/node3/current/lib/jdom.jar:/edge/node3/current/lib/jfreechart-1.0.5.jar:/edge/node3/current/lib/jgroups-all.jar:/edge/node3/current/lib/jline.jar:/edge/node3/current/lib/jmkv123p1.jar:/edge/node3/current/lib/jna.jar:/edge/node3/current/lib/joda-time-1.5.2.jar:/edge/node3/current/lib/jscience.jar:/edge/node3/current/lib/json-lib-2.2.1-jdk15.jar:/edge/node3/current/lib/jul-to-slf4j-1.5.6.jar:/edge/node3/current/lib/junit.jar:/edge/node3/current/lib/jython.jar:/edge/node3/current/lib/log4j-1.2.15.jar:/edge/node3/current/lib/log4j-over-slf4j-1.5.6.jar:/edge/node3/current/lib/loggablePreparedStatement-1.6.jar:/edge/node3/current/lib/looks-2.1.4.jar:/edge/node3/current/lib/mailapi.jar:/edge/node3/current/lib/model-12021.jar:/edge/node3/current/lib/mysql-connector-java-5.1.7-bin.jar:/edge/node3/current/lib/opencsv-1.8.jar:/edge/node3/current/lib/rfa.jar:/edge/node3/current/lib/rspcore.jar:/edge/node3/current/lib/slf4j-api-1.5.6.jar:/edge/node3/current/lib/slf4j-log4j12-1.5.6.jar:/edge/node3/current/lib/smtp.jar:/edge/node3/current/lib/smtphandler-0.6.jar:/edge/node3/current/lib/spring-2.5.2.jar:/edge/node3/current/lib/statsvn.jar:/edge/node3/current/lib/swingx-0.9.3.jar:/edge/node3/current/lib/t2-12021.jar:/edge/node3/current/lib/testng-5.9-jdk15.jar:/edge/node3/current/lib/tibmsg.jar:/edge/node3/current/lib/tibrvj.jar:/edge/node3/current/lib/trove.jar:/edge/node3/current/lib/velocity-tools.jar:/edge/node3/current/lib/velocity.jar:/edge/node3/current/lib/xalan.jar:/edge/node3/current/lib/xerces.jar:/edge/node3/current/lib/patng/activeio-core-3.0.0-incubator.jar:/edge/node3/current/lib/patng/activemq-core-4.1.1.jar:/edge/node3/current/lib/patng/avalon-framework-4.1.3.jar:/edge/node3/current/lib/patng/backport-util-concurrent-2.2.jar:/edge/node3/current/lib/patng/binding-1.4.0.jar:/edge/node3/current/lib/patng/cglib-nodep-2.1_3.jar:/edge/node3/current/lib/patng/common-1.30.jar:/edge/node3/current/lib/patng/commons-cli-1.0.jar:/edge/node3/current/lib/patng/commons-configuration-1.2.jar:/edge/node3/current/lib/patng/commons-discovery-0.2.jar:/edge/node3/current/lib/patng/commons-math-1.1.jar:/edge/node3/current/lib/patng/concurrent-1.3.4.jar:/edge/node3/current/lib/patng/geronimo-j2ee-management_1.0_spec-1.0.jar:/edge/node3/current/lib/patng/geronimo-jms_1.1_spec-1.0.jar:/edge/node3/current/lib/patng/logkit-1.0.1.jar:/edge/node3/current/lib/patng/mina-core-1.0.1.jar:/edge/node3/current/lib/patng/mina-filter-ssl-1.0.1.jar:/edge/node3/current/lib/patng/mina-java5-1.0.1.jar:/edge/node3/current/lib/patng/mx4j-remote-3.0.1.jar:/edge/node3/current/lib/patng/mx4j-tools-3.0.1.jar:/edge/node3/current/lib/patng/org.apache.felix.framework-1.0.0.jar:/edge/node3/current/lib/patng/org.osgi.core-1.0.0.jar:/edge/node3/current/lib/patng/pat-dt-common-1.18.jar:/edge/node3/current/lib/patng/pat-sdt-1.18.jar:/edge/node3/current/lib/patng/patNg-api-1.27.1.jar:/edge/node3/current/lib/patng/patNg-server-aoc-1.21.jar:/edge/node3/current/lib/patng/patNg-server-common-1.21.jar:/edge/node3/current/lib/patng/patNg-server-session-manager-1.21.jar:/edge/node3/current/lib/patng/patNg-utils-1.27.1.jar:/edge/node3/current/lib/patng/qpid-broker-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-client-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-common-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-mina-core-2.2.2.0.jar:/edge/node3/current/lib/patng/rsee-2.11.jar:/edge/node3/current/lib/patng/servlet-api-2.3.jar:/edge/node3/current/lib/patng/silk-1.3.jar:/edge/node3/current/lib/patng/slf4j-api-1.4.0.jar:/edge/node3/current/lib/patng/slf4j-log4j12-1.4.0.jar:/edge/node3/current/lib/patng/validation-1.2.0.jar
Boot class path: /apps/jdk/1.6.0_13/linux/jre/lib/resources.jar:/apps/jdk/1.6.0_13/linux/jre/lib/rt.jar:/apps/jdk/1.6.0_13/linux/jre/lib/sunrsasign.jar:/apps/jdk/1.6.0_13/linux/jre/lib/jsse.jar:/apps/jdk/1.6.0_13/linux/jre/lib/jce.jar:/apps/jdk/1.6.0_13/linux/jre/lib/charsets.jar:/apps/jdk/1.6.0_13/linux/jre/classes:/tmp/yjp200811122006.jar
Library path: /apps/jdk/1.6.0_13/linux/jre/lib/i386/server:/apps/jdk/1.6.0_13/linux/jre/lib/i386:/apps/jdk/1.6.0_13/linux/jre/../lib/i386::/edge/node3/current/lib:/home/eqdev/eqedgeuat/yourkit_7_5_11/yjp-7.5.11/bin/linux-x86-32:/edge/node3/current/lib:/home/eqdev/eqedgeuat/yourkit_7_5_11/yjp-7.5.11/bin/linux-x86-32:/usr/java/packages/lib/i386:/lib:/usr/lib -
I have two networks one each in two cities. Both are named the same but require different passwords. I am at my second location and cannot connect to this wifi network. How do I delet one network so I can connect to my second network?
Just go to the wireless network preferences and empty out all the stored wireless networks.. then scan and connect to the local wireless.
Select them and tap the - button below it.
Once they are emptied out.. it might be good to reboot the computer with the remember networks unchecked.
Start with a clean slate. -
Hi!
I am looking into developing an app for the App Store and my question is regarding Apple's 30% in app purchase fee. If my application is free to download, but requires my user to purchase a monthly subscription, will Apple collect a 30% fee every month that user is billed? Or will Apple only collect a 30% fee for the first month? If so, is there anyway around this?
What all does Apple collect a 30% app store fee on? What does Apple not collect a fee on in the App Store?
How does Amazon get billed if someone purchases something from Amazon from within their iPhone application?Any in-app purchases are subject to the 30% withholding.
No way around it.
Amazon purchases are physical items (not digital) and do not go through in-app purchase so they are exempt. -
I live in Spain and receive all i store products ( books/music ) from the Spanish stores but require English store products How do I change my settings??
Settings > Stores (or iTunes and App Store) > Apple ID > View Apple ID > enter password > Country/Region
-
is CS2 free? Found site that said was free and supplied download but required serial number.
skeeverz wrote:
is CS2 free? Found site that said was free and supplied download but required serial number.
If you did not own a legitimate license for the original CS2, you're stealing software, no different than so many software pirates.
Legitimate CS2 licensees can also download the new serial number, on the honor system.
CS2 is pretty old by now, and any version of ACR that runs on it is so obsolete that you'll be leaving an awful lot of image quality on the table.
Cease and desist. -
THE BW SYSTEM HAS VERSION 30A26 BUT REQUIRED VERSION 70000
Hello Gurus!!!!
I am trying to execute BW 3.0 Query into BI 7 by opening it into BI 7.0 Business Explorer -> Analyzer. It is giving error "THE BW SYSTEM HAS VERSION 30A26 BUT REQUIRED VERSION 70000"
Please help what does it mean 7 how to resolve it.
Thanks
SangitaHi Kumari ...
Could you please share your findings from OSS?
I have the exactly same issue and looking for solution
Thanks & regards
Ivan -
I have a long video segment and want to remove unwanted segments and replace them with fade-in/fade-out transitions. I know that I can do this between two separate video tracks by fading out Video 1 and fading in Video 2 and having the two tracks overlap during the transition. Is there an easy way to do this on the same track? The way I've done this before is to cut out the unwanted segment, then move the two segments to separate tracks and overlap them.
To compound the problem, I have a separate audio track for the wireless microphone I'm wearing. I need to pull that into the fade transitions. So that's Video 1 and Audio 1 with Narration, all cut at the same time with overlapping fade-out/fade-in in the fewest steps. Can Premiere Elements 13 handle that?billsbayou
Add On...I am weighing the merits of applying an audio transition directly below the video transition. Considering Crossfade's Constant Gain or Constant Power with a forced alignment of Between Clips. According to Adobe documentation
Adobe Premiere Elements Help | Applying transitions to clips
Adobe Premiere Elements includes two audio transitions in the Crossfade category: Constant Power and Constant Gain. Though both provide fades, they differ slightly. Constant Power creates a smoother-sounding fade, while Constant Gain, though mathematically linear, often sounds abrupt.
ATR -
HAVE INSTALLED PAGEMAKER, BUT BECAME CONFUSED WHEN "STUFFIT" SEEMED TO BE REQUIRED FOR NEXT STEP. NEED HELP IN FINAL STEPS IN DOWNLOADING PAGEMAKER FOR USE.
>I would like to purchase a new mac with the appropriate operating system that will
run pagemaker 7. If not, I understand that my current mac, Mac OS X, version
10.6.8, processor 2.8 GHz Intel Core i7, Memory 4GB 1067 MHz DDR3 will not support
either Pagemaker 7 or InDesign. My question is what package can I purchase that
will satisfy one or both of these needs? Thank you for any guidance.
R_Kelly created the discussion
"FREE TRIAL ON PAGEMAKER INSTALLED, BUT REQUIRES STUFFIT FOR FINAL STEP.
CAN'T SEEM TO MANAGE THIS STEP. NEED HELP MANAGING THE FINAL STEPS BEFORE PAGEMAKER
IS USEABLE. THANK YOU"
To view the discussion, visit: https://forums.adobe.com/message/6607524#6607524
> -
Hey I would like to get app to block unwanted calls but cant find. any advise
hey I would like to get app to block unwanted calls but cant find. any advise
Yup, dito to ckuan's response - Contact your carrier or assign a silent ringtone/message tone to the contact so you will not be alerted at all to the calls/messages.
-
I have an ipad 64GB (first generation) and could not do upgrades on it. What can i do and how can you help? I need to dowload some business applications but requires 6.0 iOS and up but I have 5.1.1. iOS. please help
iOS 5.1.1 is the last version an iPad 1 can run. If you need to run iOS 6 or later, you'll need a newer iPad.
Regards. -
XML Validation in PI 7.1 - Restart and skip validation possible, but how?
Hello all,
I read about schema validation in PI 7.1 and did a few tests on my own, but could not restart and skip validation for invalid payloaded messages. The documents say it is possible.
Anyone know how? Thanks.
BTW, I really think putting the schemas in server file system will cause a lot of authorization trouble in enterprises. No one gives access to the server filesystem and I don't think they will also like to open the required subdirectories for share. Asking the basis team to create the folder structures and maintaining schemas would be another pain. Don't you also think that SAP could find a better approach, like automatically uploading the schemas to the filesystem, or validating them from repository directly if possible?
Kind regards,
GökhanHi Gökhan,
I am facing the same issue.
I set up outbound xml validation in receiver agreement and tested it with valid and invalid messages.
The validation works fine.
But in case of validation error I tried to restart with skipping the validation. But this wasn't possible.
I am always facing the same valdiation error.
I already tried all different tools I know (sxi_monitor, message monitoring in rwb and in nwa)
I am working on PI 7.11 SP6
Did you find a solution for skipping the validation for a single message out of the monitoring?
I know that there is the possibility of deactivate the validation in receiver agreement but thid doesn't meet the requirement of skip the validation only for a single message.
Maybe anyone else faced and solved this issue already.
Thanks in advance
Jochen -
BUG? "Convert to DNG" is not skipping current DNG but instead converting DNG to DNG.
I selected 50k images to convert from NEF to DNG. After DNG conversion, I have it selected to delete the NEF. Among the NEF in the archive are DNGs that were previously converted by LR upon import. ISSUE: I'm seeing DNG files in the trash (mac 10.9.3) meaning LR is not skipping the current DNG files but actually converting the DNG to a new DNG then trash the original DNG. This has to be a bug.
https://dl.dropboxusercontent.com/u/37390809/dng-to-dng.mov [35MB] (in action - select DNG, "convert to DNG", DNG is made and original tossed in trash)OK - It makes sense that LR would convert a DNG to a new DNG if it's
1) going from lossless to lossy
2) if the embedded JPG preview changes (xmp changes require JPG update OR JPG embed size has changed)
Hope that Adobe considers ammending the spec or using the spec to check for flags that would note what state the current DNG is and compare to the command given so that DNG->DNG conversion when "convert RAW files" is selected would SKIP over files that already fit the target output.
My current solution is to simply filter my library for "file type" = Raw then apply DNG conversion to this filetype effectively skipping all DNG files in my 200,000 shot archive.
Maybe you are looking for
-
Songs copy to IPOD but do not show up in Menu?
Hi i was wondering if anyone could help me with this or heard about this before, I am managing to copy songs to my IPOD via itunes, however when i turn it on the songs are not there, however under playlists there is a blank playlist with nothing in i
-
Populating multiple image fields with single user-defined image
Hello, I am fairly new to LiveCycle and am looking to include a user-specified image in the header of each page of my dynamic form. I've succeeded in including the image form at the head of each page using a master page, but each image form only affe
-
How can i get it to authorize facebook on lightroom 5.5 with out it not crashing on me
hi all everytime i go to authorize facebook on lightroom 5.5 it keeps coming up and saying its not responding how can i fix this everything else works fine on it
-
Zoom in to Catalonia map gives crash
Hi, Every time when I zoom in in the area of Tarragone, in Catalonia, in Spain, my maps app crashes. Is this an error in the map? I have removed the map and downloaded it again, but it keeps crashing. I have a Nokia 808 pureview. Erwin Solved! Go to
-
I can't convert a powerpoint 2007 to pdf file message not successful.