Urgent: User Exit (ZXM06U02) have some problem in coding.

Hi All,
This is regarding the user exit,
The present issue is.
When sending the PO to supplier portal, the outbound IDOC segment does not get populated properly. The text format ‘=’ is again converted to space in ECC 6.0 which was not the case with 4.5B.
This is an upgrade issue as the function module used to format text ‘FORMAT_TEXTLINES’ is completely different in ECC 6.0. The entire code of this function module in 4.5B has been commented in ECC 6.0 and new code has been implemented which splits the text and inserts spaces while formatting as shown below.
This issue can be resolved by implementing a customer exit which gets called after standard SAP populates the IDOC. It requires implementing custom code to remove the unwanted spaces inserted by standard SAP for text id F07. Hence after SAP completes its processing to populate the IDOC, the text would be processed further to remove unwanted spaces before actually sending the IDOC out from SAP R/3.
Thus this upgrade issue resolution requires R/3 development,
<b>I write the code in exit include ZXM06U02</b>:
Coding part:
DESCRIBE TABLE int_edidd LINES tabix.
READ TABLE int_edidd INDEX tabix.
IF int_edidd-segnam = 'E1EDPT2'.
   CLEAR E1EDPT1.
   CLEAR E1EDPT2.
Check whether its higher level segment E1EDPT1 has F07 in field E1EDPT1-TDID
by looking back internal table int_edidd
   w_tabix = tabix - c_1.
   w_i = tabix - c_1.
   DO w_tabix times.
     READ TABLE int_edidd INDEX w_i.
     IF int_edidd-segnam = 'E1EDPT1'.
       MOVE int_edidd-sdata TO E1EDPT1.
       EXIT.
     ENDIF.
     w_i = w_i - 1.
   ENDDO.
   IF E1EDPT1-TDID = 'F07'.
     READ TABLE int_edidd INDEX tabix.
     MOVE: int_edidd-sdata TO e1edpt2.
  Remove unwanted Space(s) in field E1EDPT2-TDLINE
     CONDENSE E1EDPT2-TDLINE.
     MOVE E1EDPT2 TO int_edidd-sdata.
     MODIFY int_edidd INDEX tabix.
   ENDIF.
ENDIF.
<b></b>
But the code statement 'CONDENSE E1EDPT2-TDLINE.' does not work for removing space.
i did not understand why the code is not working properly.
Could any one please explain how write the code for condense the text with out spaces ASAP.
Thanks,
sridhar

"Condense" will leave one space between words by default... so you may want to add "no-gaps" on the end i.e. "CONDENSE E1EDPT2-TDLINE no-gaps." to eliminate all spaces between the words.
Jonathan

Similar Messages

  • Do we have a user exit to write some custom code at the R3 Logoff event

    Hi Colleagues,
    is it possible to have some custom code at the Log Off event. I mean when the user logs off from the R/3 system, do we have a user exit to write some custom code at that time?
    Thanks,
    Gaurav

    Hi Venkat,
    I suppose you are aware of the fact that for custom infotype, you need to create custom segment and custom message type. This process can be found at- **************** - Step-by-step guide to ALE and IDOCs
    You need to also know about the change pointer and job scheduling concept for the same. You can refer to this link- Resource Configuration Notes (Sun Identity Manager 8.1 Resources Reference)
    I hope studying these links will make you achieve your goal. All the best
    Tip- Try out each step that has been mentioned these links
    Regards,
    Ajinkya

  • I have some problem when I want to download app in iTunes some security question ask me about my visa when I right my visa number I got an errors and on top of the page told me go to iTunes support I do these things and now what should I do

    I have some problem when I want to download app in iTunes some security question ask me about my visa when I right my visa number I got an errors and on top of the page told me go to iTunes support I do these things and now what should I do

    Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
    You can contact iTunes Support via this link : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • HT3702 Dear Customer Support... I have some problem with In-App Purchases and i can not Report a Problem  in Itune

    Dear Customer
    I has one Iphone and I have some problem with In-App Purcases Because my sister purchased In-app when she play
    and i can not report a problem in Itune,
    I inadvertently purchased all of this application in Order Number: MH*****4H5  Date: 04/09/12 ,Order Total $36.81
    So i can't use App store on my phone Because have problem Billing info and i dont want this order, I inadvertently purcased all of this application
    Hopefully I can ge help from you as well.
    Best Regards
    <Edited By Host>

    These are user-to-user forums, you are not talking to Apple here. All purchases are considered final, but you can try contacting iTunes support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My iPhone 5 the speaker probably doesn't work, I feel upset because my friends said to me don't buy it because the software of iPhone 5 have some problems and I didn't listen to them , now I would like to see how apple will help me !!!!!

    The speaker of my iPhone 5 probably doesn't work and I don't know the reason although some of my  friends said to me don't buy it because the software of iPhone 5 have some problems but I didn't listen to them

    Check this support document for SIM issues http://support.apple.com/kb/TS4148. No one here is Apple, we are users like you. We can only recommend you try Apple again, unless you are close to an Apple store and can make an appointment to go in there.

  • Excuse me, I have some problem

    Hi, I'm GALE from Thailand. I have some problem with my company network, the users ask me for slow access to eOffice Server by using their PC, but with my labtop and the same situation, same network environment, it work normally. (even if I bring my labtop to access network via same outlet position as the user)
    Both case (my labtop and user's PC) have normally PING test, RTT OK, TTL OK
    Trace route OK (end with 2 hop : Client >> Gateway (6500 CoreSW) >> eOffice Server (WinServer2008) )
    should you have any suggestion ?
    Thank you & Best regards
    Thitiphong S.

    Hey jid,
    Same happens to me... Just not the gray dot. I can see my album art in iTunes but when I'm listening to my iPod alone, no album artwork shows up at all.
    See my post: http://discussions.apple.com/thread.jspa?threadID=527211&tstart=0
    HELP anyone!
    ~annmarie~

  • I have some problem with my computer because when i turn it up, the screen turns in a blue colour and the sound doesn't work and in this way i can't hear anything

    i have some problem with my computer because when i turn it up, the screen turns in a blue colour and the sound doesn't work and in this way i can't hear anything

    Will u help me or not?

  • Can i install Illustrator CC with Photoshop CS6 and Indesign CS5.5 or can i have some problems of compability? I use Windows 7. Thank u...

    Can i install Illustrator CC with Photoshop CS6 and Indesign CS5.5 or can i have some problems of compability? I use Windows 7. Thank u...

    Generally this should work, but of course there may be occasional compatibility issues across the different programs and their different versions.
    Mylenium

  • HT1937 my headphone have some problems ,but your Customer service staff cant solve the problem for me ,my iphone5s in within warranty period

    apple inc:
                  how are you . i am a buyer from chengdu city of china ,i bought the iphone5s in February ,2014. i have used five months ,suddenly ,my iphone5s have some problems with the headphone.the main cause is the sound of the headphone is becoming smaller and smaller ,then i took it to apple Customer service center to check it ,at last ,they told me that some liquid get into the headphone of my iphone5s ,i am very angery to hear that ,i havenever got liquid into the headphone,and my iphone never touch any liquid.so that they canot mend the iphone for me .
                 this is the question what i meet now ,i hope you can give me a solution ,because the result is not made by me .i hope i can get your company reply as soon as possible.
                          thanks
                  zhaolong
              chengdu city,in sichuan province ,in china
                phone:13540823419
                email:[email protected]

    hi:
      friend,thanks for your reply ,can you tell me how to contact apple inc sercer?i am looking forward to your reply
    thanks

  • Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it

    Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it.
    This happens only when a load my pdf file on my server, because if i click on the link when the file is on my iPad, the page opens without problem.
    Any help please?
    thanx

    the % sign is often used when there's a space in a name. HTML doesn't like spaces so it fills them with % or %20
    try, on the end of that link, see if there's a space built into the page or the link when the page was made
    On the web address you may be able to 'backspace' at the end and erase that space to get the address, but whomever made the page possibly put a mistake in the link

  • HT203433 my issue is that my itunes store have some problem i cannot update my app and i also purchase app or download free app on it . it keep on tell me that ;an unknown error occured (0x800b0101)

    my issue is that my itunes store have some probleme i cannot update my app and purchase app or download free app also it keep on tell me that an unknownerror occured (0x800b0101)

    You could try this.
    Back up all data.Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    Right-click or control-click the line and select
    Services ▹ Reveal
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Reboot and test. If there's no change, restore the item you deleted from a backup, overwriting the one that may have been created in its place. Otherwise, you may need to recreate some of your settings in the Network preference pane.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
    Credit for this solution to ASC member luis.pinhor.

  • HT2534 hii i am using iphone 3g mobile i have some problem in downloading free apps    here is asking an credit card details    so i want to download with out entering credit cards details      and here i have there is not havening an option "NON"

    hii i am using iphone 3g mobile i have some problem in downloading free apps    here is asking an credit card details    so i want to download with out entering credit cards details      and here i have there is not havening an option "NON"

    How did you create the account ? Unless you followed, exactly, the instructions on the HT2534 page that you posted from when creating an account then credit card details will need to be entered before the account can be used to download any item from the store.

  • I have some problems with element Panel Label and Message.

    I have some problems with element Panel Label and Message. When I create form from VO attributes then I have Label for input text element. If I use Panel Label and Message element then I need to copy LABEL from input text element to Panel Label and Message element LABEL PROPERTY. Can I define in View object that I don't need label and want all attributes in Panel Label and Message element?
    BEST REGARDS

    You can simply remove the label attribute for the input text on the page.
    sid

  • I have some problems with work in Flash cs6

    I have some problem with my game when I created it using adobe flash cs6
    When the duck hits the screen, like from right to left it shows
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at Duck/ducksmove()
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()
    This is the code so please help check which is wrong
    package  {
      import flash.display.MovieClip;
      import flash.utils.Timer;
      import flash.events.TimerEvent;
      import flash.events.MouseEvent;
      public class Duck extends MovieClip {
      var moveDuck:Timer = new Timer(10);
      var speedX:Number;
      public function Duck() {
      this.addEventListener(MouseEvent.CLICK,KillDuck);
      moveDuck.addEventListener(TimerEvent.TIMER,ducksmove);
      moveDuck.start();
      speedX = 10;
            function ducksmove(evt:TimerEvent):void
      this.x -= speedX;
      if (this.x <=0)
      moveDuck.stop();
      moveDuck.removeEventListener(TimerEvent.TIMER,ducksmove);
      this.parent.removeChild(this);
      function KillDuck(evt:MouseEvent):void
      var p:MovieClip = this.parent as MovieClip;
      p.setScore();
      p.updatecount();
      this.removeEventListener(MouseEvent.CLICK,KillDuck);
      this.parent.removeChild(this);
      moveDuck.addEventListener(TimerEvent.TIMER,ducksmove);

    You appear to be trying to remove the same object twice, first in the KillDuck function and then in the ducksmove function.  If it is removed already you can't try to remove it again because it is no longer in the display list.

  • I have some problem about wifi sync with iOS5

    Hi~everbody~
    I have some problem with wifi sync, and still don't know how to resolve it. Please Help Me~
    First,I using Windows 7 64-bit, the latest iTunes 10.5, and iPod touch 4 with 5.0(9A334), and of course a WIFI AP in my room.
    Here is my major problem:
    When I setted up enable wifi sync in iTunes summary, the iTunes had identified my iPod and show at left side in iTunes,
    even when I unplug  my iPod touch 4 from my computer, the iTunes still shows there.
    But after one day when I came home, I opened the iTunes want do a wireless sync, but the iTunes did not found my machine.
    I have tried restart computer, restart WIFI AP, disable anti-virus software, close MSN, close teamviewer, and any software may caused some unstable network issue between iTunes and iPod touch 4, but when I done these whole things, the iTunes still not found my iPod.
    So I want to know do Wifi Sync needs any specific net port ? like 80 port or some port else?
    Wish there are somebody can help me fix this, very appreciate.
    BTW: Even iTunes did not found my iPod touch 4, but I can still using "Remote App" to control iTunes music play, so I really confuse why it just can't do wifi sync ?

    This error has got nothing to do with rmi.
    The StackOverflowError means the Java VM stack is filled up. The
    stack is used for keeping track of method calls. An easy way to
    produce a StackOverFlowErrer is the following code:
    class Test {
    public static void main(String[] args) {
    a();
    static void a() {
    a();
    So if you call method a() within the same method, the stack
    fills up quickly.

Maybe you are looking for

  • TS4337 How do I highlight an entry in the calendar on my iPad?

    I am trying to highlight entries in my calendar and am wondering how to do this.  Help?

  • Screen is faulty and fuzzy.

    Ive had my 4th gen nano for some time and in that time the screen has gone fuzzy a few times as in diagonal serrated lines across the screen making it difficult to see what Im doing. In the past simple manual resets would fix this, then I had to use

  • Preview yellow triangle pictures before ordering a book

    Just for the record There has been some discussion about "how can I preview the file that is sent when I order a book", and how does it look different from the pictures when viewed in iPhoto. Go to share<email, and you'll get an email with that file,

  • JDBC Receiver Channels stuck !!!!

    Hello, We are facing a very strange situation.. From our SAP/R3 system we are sending data to 3 databases (3 dif. Countries). And the three of them have different verison of Oracle. 9.2.0.6 , 9.2.0.8 and 10.2.0.4. The problem happens only with channe

  • Reasons why jar in the classpath isn't found?

    I need some help brainstorming: What are some possible reasons why java can't find classes that are properly .jar'd up with the .jar file in the classpath (verified)? If I expand the jar, they're found without a problem.