ABAP-PI port problem

Hi,
I have a scenario in which i have to generate a MBGMCR IDOC whenever a material document is posted ans send this to XI.
Now i have to put a condition to process only IDOCs that have  a particular vendor number must be sent out to XI and others have to stop inside the SAP system itself.
I saw that we could use ABAP-PI port to control the IDOC before being sent out. So i added the ABAP-PI port with a FM
ZOWN_FUNCTION which is a copy of OWN_FUNCTION with the following code added in the end.
CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS' DESTINATION 'XIDCLNT100'
  TABLES
    idoc_control_rec_40       = I_EDIDC
    idoc_data_rec_40          =  I_EDIDD
But when execute this is get an error,
"IDoc adapter inbound: Sender port is initial"
But i can see that the sender port value in the EDI_DC has a value 'SAPECD'.
I've not had much luck with resolving this error. I feel the error is misleading and the sender port is not really the problem, but im not sure.
Is the approach i'm using right or should i use some other function?
Any suggestions?

I resolved it myself.
Its the same procedure.
Copy own_function to my fm ZOWN_FUCTION. Call the FM IDOC_INBOUND_ASYNCHRONOUS in destination XI.
I just found that when i call the FM the import parameters are of type EDI_DC40 and EDI_DD40 whereas the type im passing to it is EDIDC and EDIDD. thats why the mismatch.

Similar Messages

  • IDOC with ABAP - PI Port , RFC Function module

    Hi ,
    I am creating outbound Idoc in one system,  In the same  system I am using a ABAP - PI port and assigned a RFC function module.
    So when ever the outbound IDOC is created it will go to the port and triggers the RFC function module.
    now my question is how to get the outbound IDOC number in the RFC function module.
    I thought of reading the table EDIDC with message type, but all previous IDOC's aslo coming .
    Regards
    Bhaskar

    Hi Bhaskar, the IDOC control record or records are transfered to your function module in table paramater I_EDIDC. You could read the IDOC data by calling function modules EDI_DOCUMENT_OPEN_FOR_PROCESS and EDI_SEGMENTS_GET_ALL for each control record.
    Regards Jack

  • IDOC Creation using ABAP-PI port

    Hi all,
    I am new to ALE,EDI,IDOC technologies. We have a requirement that we want to create a matmas IDOC and send it thru ABAP-PI port by the function module attached to it. then from this function module I have to call the update methods of a proxy class with matmas data that will eventually update the material info. in the external webservice. How to replicate this scenario?
    I want step by step process including ALE settings and configuration. Please do help me out friends.
    Thanks and regards,
    --Sonal

    Hi ,
    see the wikis and blogs in sdn
    http://wiki.sdn.sap.com/wiki/display/XI/ALE+Configuration
    http://wiki.sdn.sap.com/wiki/display/ABAP/OutboundIdocThrough+ALE
    Regards,
    Prabhudas

  • ABAP interactive report problem

    ABAP - Interactive Report problem.
    In Interactive report when I double click to one field a window arises (here sy-lsind = 0) displaying some required info. And again after double clicking the appeared window another window will open (here sy-lsind = 1). from the 2nd window I can't go to the previous window.
    If there is only one way to go to the previous window is to activate the RIGHT UPPER CROSS OPTION of the particular window, then please help me giving the code or idea about how to activate it. Thanks.

    Moderator message - Welcome to SCN
    Cross posting is not allowed in these forums.
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Thread locked
    Rob

  • Port Problem, cant Recieve Mail

    Hi
    Just recently my mail has stopted working due to a port problem. By my inbox i get a small icon which is a triangle with an explanation mark in. When i click it the first message i get is:
    *Connection Failed*
    +There may be a problem with the mail server or network. Check the settings for account "POP Account" or try again.+
    +The server error encountered was: The connection to host mail.kahane.co.uk on port 110 failed.+
    Then it willl give me a chice to go offline or online, ill click online and the icon is still there so i click the icon again and the second message i get is:
    Alert
    +There may be a problem with the mail server or network. Check the settings for account "POP Account" or try again.+
    +The server error encountered was: The connection to host mail.kahane.co.uk on port 110 failed.+
    I haven't changed any settings in the preferances or done anything which may have caused this. Incase you need to know i am on a POP account.
    I would much appreciate any help, thanks

    Me too... it comes and goes. It all started when I got a wireless router.

  • IDOC ABAP-PI Port Function Module not called

    HI all,
    i am using a scenario where i am sending (outbound) idocs via abap proxy to PI.
    I have assigned the function module to the abap-pi port.
    when i am trying to send a test idoc via we19, i get the message "IDoc '0000000000198029' transferred to ABAP-PSS port".
    but the function module (a copy of own_function)  doesn't get called. if i am testing the function module from se80 with the above mentioned idoc number '0000000000198029' everything is fine.
    in the partner profile i have added the corresponding idoc message type and selected to send idocs immediately. have i forgotten something in order to trigger the call of the function module ?
    br,
    martin

    Hello,
    I think it is not so easy to send IDoc to XI with ABAP-PSS-Port.
    I would try to create the IDoc and send it to XI-Port (Transactional RFC).
    This is SAP-Standard for IDoc-Scenario (SAP-R3 to XI).
    Best Regards, Dirk

  • ABAP-PI port example

    Hi,
    Can anyone give me an example code of what should go into a FM attached to an ABAP-PI port?
    I have a scenario in which i have to make changes to an IDOC before i sent it out to XI.
    so i have configured to first send it to an ABAP-PI port make the neccessary changes but im not sure how to send it to XI after that.

    Hi,
    chapter:
    "Enabling ABAP Proxies From Every Outbound IDoc ... 210 "
    from
    http://www.sap-press.com/products/Mastering-IDoc-Business-Scenarios-with-SAP-NetWeaver-PI.html
    shows an example code on how to use ABAP-PI port
    Regards,
    Michal Krawczyk

  • Portege R835 USB 3.0 port problem (Shutdown everytime)

    Hello,
    The problem is that the USB 3.0 port continues to turn off shortly after connecting any device (mouse, usb memory, printer...).
    The only way to restore it's functionality is to reboot.  I have continued to have this problem since I bought the computer.
    There is no issue with the 2 USB 2.0 ports.
    I have bios 3.0, win 7 64bit home premium.
    Few other people have address the same problem here before but I didn't see any solution.
    Please Help!
    links to other topics:
    http://forums.toshiba.com/t5/Computer-Troubleshoot​ing/R835-P50x-USB-3-0-Random-Shutdown/m-p/210318#M​...
    http://forums.toshiba.com/t5/Windows-7/Portege-R83​5-USB-port-problem-wireless-mouse-amp-keyboard/td-​...

    Thank's for the info Jerry
    I sent my laptop to Toshiba labs here in israel.
    They replaced the usb 3 part in the computer.
    2 days have passed for now and it is working!
    Finally!

  • I'm facing a problem with my ipad3 importing picture from ipad to my windows PC,my pc says port problem..What should I do?

    my ipad is 3rd generation+cellular.    ios7.1.2   .storage capacity 13.2 GB
    the problem i'm facing is when i insert my ipad to my pc the autoplay option is not appearing as a result i'm not able to take pics from ipad to pc,,,,generally autoplay option appears & i used to take pics but now i cant..I went to device manager option & there i discover some random port problem.what should i do?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
    iTunes: Frequently asked questions about viewing and syncing videos
    http://support.apple.com/kb/HT2729
    Also check out the Photo Manager Pro app.
    https://itunes.apple.com/us/app/photo-manager-pro/id393858562
    Check out the Feem WiFi File Transfer app
    https://itunes.apple.com/us/app/feem-wifi-file-transfer-free/id596378699?mt=8
     Cheers, Tom 

  • X6 8gb Usb Port Problem

    My x6 usb port not working and i took it to nokia care to fix that problem and they told me that we don't have that type of IC to fix your problem and we can't fix your usb port problem .....if u can't fix the problem they why the hell your running service centre i am totally fed up with this nokia ....guys pls tell what should i do now

    Can't they arrange for the part ? Insist on that.. if they agree, you may be asked to pay for the part upfront..If they do not, contact Nokia by using the 'Contact Us' tab at the top of this page and hope for a favourable resolution.

  • Z68A-GD80 G3 rear audio port problem

    Just built his system a couple of weeks ago. My first build. When I first started the system, I was using the integrated graphics. I had my speakers plugged into the green audio jack on the MB, and it worked fine. Used it like this for a couple of days while transferring programs, photos, etc. I was never able to get the HDMI port working to set up both monitors, so I removed the graphic card from my old computer (GE Force 210), installed it in the new computer and installed the NVIDIA drivers for it. This got both monitors working, but then I found the sound was not working. I tried connecting the speakers to the surround sound ports and they worked, but at a very low volume. I finally connected the speakers to the front speaker port. This works but the sound quality is not very good. I get random? static noises.
     I had it this way for a few days while I tried to troubleshoot the problem. It seemed like the problem started after installing the graphic card and drivers, so I removed them and tried it again. Still the rear speaker port did not work. Also, at this time I tried to get the dual monitor setup working again. I had found that the IGD multi-monitor setting was disabled, and assumed that was why I could not get both monitors working the first time around. After enabling this setting, still could not get both monitors working. No HDMI.  I am really not too concerned about this, as I plan to get a better graphic card, but thought that it might be related to the audio port problem.
     I believe there is a newer version of BIOS, but I am not sure if that is something that I want to tackle. Does anyone have any ideas of what could cause this? Thanks.
    Monty

    Not real sure of this since I haven't been personally involved in it, but the HDMI problem could be related to a cable issue? HDMI 1.4 versus older types? Monitor v1.4 compliant, etc.?
    A battery removed CMOS clear & reset may be of help. It's worth a try. If the sound was clear & worked normal before, I doubt a UEFI/BIOS update would be of benefit. Something hardware related, drivers, or the way the OS is responding are my guesses for the sound problem & static.
    A corruption in Windows is always a possibility. Doing a fresh install of the OS may help. Maybe before that extreme, using a utility like driver sweeper to get a fresh start with the audio drivers. Presume the speaker system is a self powered unit?

  • Ports problems with 10g XE

    Hello!
    I'm using Oracle 10g XE on Windows Server 2003, the installation was successfully realized.
    The problem is that I can't access to the login page : http://127.0.0.1:8080/apex . I think that the problem come from a port restriction (but I'm not sure!) : the 8080 port is certainely blocked, but I don't know how open it ...
    With Windows XP Pro, I had no problem ... ! Nevertheless I used the same anti-virus program with the same rules ... !
    Can someone help me please, I'm loosing my hair !!
    Thanks !

    Hello!
    I'm using Oracle 10g XE on Windows Server 2003, the installation was successfully realized.
    The problem is that I can't access to the login page : http://127.0.0.1:8080/apex . I think that the problem come from a port restriction (but I'm not sure!) : the 8080 port is certainely blocked, but I don't know how open it ...
    With Windows XP Pro, I had no problem ... ! Nevertheless I used the same anti-virus program with the same rules ... !
    Can someone help me please, I'm loosing my hair !!
    Thanks !

  • Voice Mail Port Problem with CUCM 8.5 and Connection 8.5

    Hi im having a very strange problem witch the voice mail ports between a CM 8.5 and a Cisco Unity connection 8.5 , i configured them and they registered and all was working fine, however when i rebooted the servers the ports stayed in status unknown i tried resetting them both sides, re adding config both sides and nothing after hours of trying and deleting and adding the same config it worked again, however we have a power outage today and the same thing happened again status unknown and still i cannot get them to register again. Any ideas or help would be appreciated.
    Thanks,

    I'm not sure but it could be a DNS issue. Is DNS configured or are you just using IP addresses?  Make sure everything is resolving correctly.

  • HDMI to Mini Display Port problem.

    When I connect my MacBook Pro 13" (early 2011) to my TV using my HDMI to Mini Display Port adapter the MacBook just shuts off completely. I can use a VGA adapter no problem but I would like to get better picture quality from HDMI. Anybody have any ideas what the problem is?
    Thanks in advance.

    Have you tried a different adapter/cable? This is where I would start. (see if you can borrow some).
    You can also try these resets:
    NVRAM/PRAM:
    http://support.apple.com/kb/HT1379
    SMC:
    http://support.apple.com/kb/HT3964
    These are start points, gotta start somewhere, right?

  • A Quality Assurance Engineer's perspective on Neo2 PS/2 Port Problems.

    I came here looking for some insight . . . . and while i got some confirmation that it's a common problem, I think some things need to be cleared up.
    There's a mistake being made that disconnects cause and effect by lumping together effects that aren't necessarily from the same cause. Don't feel bad, everybody does it, I've just been trained to be critical about it.
    I think there is more than one issue. Here's why.
    1: I think the chipset or BIOS is cooking the ps/2 mouse data stream (and maybe USB HID data streams as well) when the "BIOS Support for USB Mouse" option is turned on. By this i mean that it's presenting the operating system with a virtual mouse device and working some behind-the-scenes magic on the data between computer and mouse.
    My evidence:
    With that option turned on, Linux kernel 2.6.12.2 (vanilla kernel.org sources) says this:
    Jul 10 19:38:00 type kernel: input: PS/2 Generic Mouse on isa0060/serio1
    Jul 10 19:38:00 type kernel: psmouse.c: Failed to enable mouse on isa0060/serio1
    Jul 10 19:38:01 type kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
    And with that option turned off, the kernel says this:
    Jul 11 21:58:48 type kernel: input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
    I think this bios option prevents the linux kernel serio driver from allowing the psmouse driver to perform two-way communication with the mouse in the standard way.
    Disabling this bios option also makes all my PS/2 mice and trackballs work on bootup, where all of them needed to be re-plugged or have the kvm switch to another port and back before they would work previously.
    I think many people are having some of their problems purely because of this bios option.
    I think this is very bad, and that the developers responsible for this bios feature should be subjected to a public flogging and sent to a reeducation camp where they might learn to respect the law that the quality of a piece of software is inversely proportional to the amount of magic performed within it.
    I can't even think of what the advantage of a virtual PS/2 mouse would be. You want to run DOS with mouse.com driving your usb mouse or something? We're supporting Win95 OSR1 users? I guess it might make Partition Magic boot floppies a tiny bit easier to manage, but sheesh. The damage far outweighs the benefit.
    Even when it works, it will only work for fairly plain mice that don't need special protocols to work.
    I don't think MSI did this, I think the bios vendor did it, and MSI doesn't realize what's going on.
    Yes, I know the Explorer is a USB mouse on a PS/2 adapter, but i started down this road because my Logitech trackball - which uses the MouseManPlus protocol - and it still didn't work right when i replaced the mouse. I have a PS/2 based KVM that I'd like to keep using. The KVM has been out of the loop for these diagnostics.
    2: While i admit that it could very well be a PS/2 port power issue, I think it has nothing at all to do with system power supply problems, least of all the 12V rail.
    Why? Why on earth would my 5V keyboard and mouse care what's happening on the 12V rail, what's why.
    Furthermore, the same KB and mouse mostly kinda/sorta work on a USB to PS2 adapter cable, which is on the exact same 5V rail as the keyboard and mouse ports, and if anything should draw MORE power.
    They are however probably on separate fuses.
    If it's a power problem, I'm leaning toward it being a slow-blowing fuse on the PS/2 ports that is being pushed near it's limits and is thus rippling. This is conjecture, and only MSI's rework guys or someone with a lot of diagnostic gear can tell you for sure.
    3: Having fixed the mouse initialization and synchronization problems, I still have a problem.
    I replaced my Lexmark (IBM) PS/2 keyboard with a KeyTronic PS/2 keyboard, replaced my Logitech Trackman Marble FX with a Microsoft Trackball Explorer, and sometimes, I still get an input lockup.
    The mouse will just stop tracking in mid-sweep and the keyboard will stop keying.
    And then the kernel says this:
    Jul 11 23:37:49 type kernel: atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
    Jul 11 23:37:50 type last message repeated 54 times
    Jul 11 23:37:50 type kernel: atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly
    Jul 11 23:37:50 type kernel: input: AT Translated Set 2 keyboard on isa0060/serio0
    Jul 11 23:37:50 type kernel: atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
    Jul 11 23:38:18 type last message repeated 623 times
    Jul 11 23:38:18 type kernel: atkbd.c: Unknown key released (translated set 2, code 0x7c on isa0060/serio0).
    Jul 11 23:38:18 type kernel: atkbd.c: Use 'setkeycodes 7c <keycode>' to make it known.
    Jul 11 23:38:18 type kernel: atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly
    Jul 11 23:38:19 type kernel: atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
    Jul 11 23:38:19 type last message repeated 10 times
    Jul 11 23:38:19 type kernel: atkbd.c: Unknown key released (translated set 2, code 0x68 on isa0060/serio0).
    Jul 11 23:38:19 type kernel: atkbd.c: Use 'setkeycodes 68 <keycode>' to make it known.
    Jul 11 23:38:19 type kernel: atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly
    Jul 11 23:38:21 type kernel: atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
    Jul 11 23:38:21 type last message repeated 4 times
    Jul 11 23:38:21 type kernel: atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly
    Jul 11 23:38:46 type kernel: atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
    Jul 11 23:39:16 type last message repeated 2439 times
    Jul 11 23:40:16 type last message repeated 4986 times
    Jul 11 23:41:16 type last message repeated 4988 times
    Jul 11 23:42:16 type last message repeated 4987 times
    Jul 11 23:43:16 type last message repeated 4987 times
    Jul 11 23:44:16 type last message repeated 4987 times
    Jul 11 23:45:16 type last message repeated 4986 times
    Jul 11 23:46:16 type last message repeated 4944 times
    Jul 11 23:46:24 type last message repeated 688 times
    I wonder if the "AT Translated" designation that the atkbd driver gives the keyboard may indicate that the PS/2 keyboard is having it's data stream cooked as well?
    Edit: (for geeks) - It turns out that bios can set up your keyboard as either "raw" or "translated". It's possible to switch a keyboard back into "raw" mode, but most operating systems don't do this because it can cause problems on laptops and other computers that don't have their keyboard on a normal ps/2 port.
    I don't mind having a keyboard on a usb converter, but the usb converter translates the ps/2 mouse signals too poorly. My Trackman FX has no buttons on the usb converter, and the Explorer is missing two buttons on the usb converter.
    4: I don't have the 'reboot' problem, but maybe that only happens in windows.
    What i see sometimes is the above, and sometimes the keyboard starts responding slowly - like it takes 30 seconds per keypress. And sometimes by re-plugging the connectors i can get it to come back.
    I'm CERTAIN that some of these problems - at least one of them - can be fixed in bios. If only by defaulting the mouse bios support to off. This won't keep you from being able to navigate in bios or use your USB mouse in any OS since Win95 OSR2.1.
    For at least the mouse problems, it appears that many of the problems people have reported can be resolved merely by  disabling "BIOS Support for USB Mouse".

    Quote from: d2thez on 13-July-05, 10:00:03
    Ok, I am lost to be honest, but I just need to know if this applies to me.  Please help!
    I have a K8N Neo Platinum for the socket 754, not a Neo2.  I use a USB mouse and a PS/2 keyboard.  I have both "USB keyboard/storage support" and "USB mouse support" enabled in my bios.
    You have me scared from reading your post that having them enabled will short out my PS/2 or USB.  Will this happen?  And should I have these options enabled or not?
    And finally, if I do disable them, do I lose and functionality??  Please help me out here!
    Relax. You're not going to short out anything or lose any functionality.
    The first one - USB Keyboard/Storage Support - this makes it possible for you to boot off of USB drives (like the flash drives) and makes USB keyboards work in DOS. It may be required to make USB keyboards work in bios setup, but i haven't tested that.
    If you have a PS/2 keyboard and you don't intend to boot off of a USB drive, you can safely disable that option with no loss in functionality of any kind.
    The second one - USB Mouse Support - This is a bit of software in BIOS that takes control of USB mice and makes them appear like PS/2 mice in order to provide easy mouse support for operating systmems that don't understand USB.
    Specifically, DOS and Windows versions prior to Win95 OSR2.1.
    Since Win95 probably won't boot at all on an Athlon64 - and in any case won't have the drivers you need for nearly anything - the only possible scenario where you might need this feature is if you were booting some old versions of Partition Magic or Norton Ghost or other utility floppy that runs on DOS, supports mouse navigation, and is old enough that it doesn't have a DOS USB mouse driver. Newer versions of pqmagic and ghost probably have usb mouse support on their boot floppies.
    You can stop reading now if you just wanted to be reassured.
    The reason it causes a problem is because mice are far more complex than keyboards. For some reason, even if you don't have a USB mouse installed, the signals from your PS/2 mouse are run through software in BIOS to make the signals from your mouse look like the signals from a generic PS/2 mouse - instead of a mouse that speaks the MouseMan protocol or the Intelimouse protocol or the Explorer protocol (or three or four other protocols).
    This sounds like a strange way to do it, but it's actually easier in software to treat all inputs to the same logic and translate them to a virtual device than it is to detect whether translation is needed and then only translate the signals that need it.
    This interferes with the mouse drivers. It also makes it impossible for some mice to 'wake up' properly when the computer is turned on.
    It also doesn't work very well because it doesn't install all the myriad mouse protocols out there. KVM manufacturers have the same problem. If they fix the Intelimouse protocol they frequently break the MouseMan protocol.
    If your mouse has only two or three buttons and no scroll wheel (which counts as two or three buttons), and your mouse was not made by Microsoft or Logitech, chances are your mouse only speaks the plain PS/2 Mouse protocol and you won't have problems with translation, but you might have some other symptoms. It appears that the BIOS may actually understand the Intelimouse protocol, so Microsoft mice may work anyway.

Maybe you are looking for

  • Landscape and portrait mode in Epub

    Hey! When I export from Indesign to .epub with a fixed layout - is there a way to use it in landscape and portrait mode on an Ipad or Iphone? Mine stays in landscape.

  • Problems with paying PayPal

    I've been using PayPal as my default account for payment to iTunes for quite awhile now, but for some reason it has quit working. There are no problems with the PayPal account itself, and iTunes will allow me to use a credit card, but when I try to s

  • How to set up a PHP/mySQL "server" in arch?

    Hi, I know its a wide question, and i may have to go to different howtos and such, but as this distro is different from the others there might be some differences in that. If i want to run a PHP based site in mozilla and the site is hosted in my mach

  • Download link for old photoshop version

    Need link to download Photoshop Elements 6.0 to new computer

  • Help - WRT54G v8 blank web setup screens

    My new WRT54G works fine except that after accessing the web setup menus (via a wired connection) at some point I start getting blank screens. I'm still able to access the router (there's no timeout error), but all of the pages, including ones I've b