Inbound processing using SO50

Hi Experts,
We have the Special user id specifically
created to receive emails.
The requirement is to send Notification mail to the emails
received after few verifications.
We have assigned the Z class in SO50 for this recipient
address.
And this Z class uses the interface IF_INBOUND_EXIT_BCS .
However, when an email is received in SOIN , this
class is not getting triggered.
When I manually resend the mail in SOIN , I get the debugger
triggered and the class is getting called.
I placed a sample code to update a custom table through the
class.
And this works fine when the mail is resent.
Could you please help on this ?
Ideally the class should be triggered as and when an email
is received in the inbox.
Thanks,
Theyana

Hi Siddhesh,
I also had success to attach the File to an Opportunity via CRM_ICSS_UPLOAD_SR_ATTACHMENT. But it was a PDF file and I can't display it via the PC-UI in the Portal. I think my problem is the conversion of the Attachment via this loop to the input-format of the Function Module:
LOOP AT ls_content-cont_hex INTO ls_cont_hex.
  APPEND ls_cont_hex TO lt_file_content_binary.
ENDLOOP.
How did you the conversion?
Regards
Gregor

Similar Messages

  • ALE IDOC Inbound processing using IDOC_INPUT_ORDERS

    Hi experts,
    I am stuck up with IDOC inbound processing.
    Can you please let me know about the process in Receiving Purchase Order from the customer system and creating Sales Order in the SAP system? using FM IDOC_INPUT_ORDERS. I have an Idea about WE20, NACE etc.
    Can you please explain me about the process on how to go about it?
    Kind regards,
    Shiva.

    Hi,
    I have moved this thread from [ABAP, General Forum |ABAP Development; to [Data Transfers Forum|ABAP Connectivity;.
    The forum Data Transfer is the place to discuss LSMW, ALE, BDC, Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please, the next time check the most appropriated forum category before posting. Thus you have more chance to have your question answered !
    Best Regards.
    Marcelo Ramos

  • Idoc using inbound process

    Hi,
    my issue is regarding the Idoc using inbound process using the FM BAPI_IDOC_DISTRIBUTE_LIST1.
    here the user wants the dhmt plant tobe refer instead of mirror plant.
    can anybody help me regarding this or any doc regarding iDOCS inbound.

    Seetha,
    I have this already..
    IDOCPACKET                                                           
    Object type                         IDPKWMMBXY             
    End event                           MASSINPUTFINISHED      
    IDOC                                                          
    Object type                         IDOCWMMBXY             
    Start event                         INPUTERROROCCURRED     
    End event                           INPUTFINISHED          
    Application object                                                                      
    Object type                         BUS2017                           
    Start event

  • Idoc inbound processing? from non-sap system?

    Hi experts,
    I'm confused with some functions below:
    IDOC_INBOUND_SYNCHRONOUS
    INBOUND_IDOC_PROCESS
    IDOC_INBOUND_SINGLE
    IDOC_INBOUND_ASYNCHRONOUS
    can you tell me what are the differences? when to use them?
    for sap outbound processing, we can only call function master_idoc_distribute to generate idoc or use message control to trigger outbound idoc. no other options, correct?
    for sap inbound processing, if we use message control for automatical posting, we have process code which read  the inbound idoc file and do the sap posting. when to use those functions above?
    does the middlewares like seeburger, GIS call those functions to generate idocs at SAP side?
    in what scenarios can we use those functions? read directly non-sap file into sap internal table then call the functions to create inbound idoc? how about the posting? call inbound processe code function after the functions above?
    in case the interface between sap and legacy system is using above functions to build inbound idoc in sap and sap use process code for inbound posing, sap can monitor all inbound process using idoc, but how can the legacy system mornitor the interface?
    Thanks.
    Legend.
    Edited by: legend li on Dec 21, 2010 4:58 PM
    Edited by: legend li on Dec 21, 2010 5:40 PM

    Hi Christophe,
    Awesome!!!!!! it worked, You are the best.
    I could able to create a sales order in CRM,but below are the valid data I passed in the respective segment fields.Except for first 3 values rest all did not get reflected in teh Sales order.I feel i am missing some qualifiers.
    Can you kindly share the  IDoc data to be passed in...along with respective segments and fields:
    Segment                                                 Field
    E101CRMXIF_BUSTRANS     OBJECT_TASK         
    E101CRMXIF_BUSTRANS     PROCESS_TYPE
    E101CRMXIF_BUSTRANS     POSTING_DATE
    E101CRMXIF_PARTNER                          PARTNER_NO
    E101CRMXIF_PARTNER                RELATION_PARTNER_NO
    E101CRMXIF_ORGMAN         SALES_ORG
    E101CRMXIF_ORGMAN          DIS_CHANNEL
    E101CRMXIF_ORGMAN         DIVISION
    E101CRMXIF_SALES             PO_NUMBER_SOLD
    E101CRMXIF_SALES            YOUR_REF_SOLD
    E101CRMXIF_SALES            PO_NUMBER_SHIP
    E101CRMXIF_BUSTRANS_ITEM     ITEM_NUMBER
    E101CRMXIF_BUSTRANS_ITEM     ITEM_TYPE
    E101CRMXIF_BUSTRANS_ITEM     ORDERED_PRODUCT
    E101CRMXIF_PRODUCT_I     PROCESS_QTY_UNIT
    E101CRMXIF_PRODUCT_I     PROCESS_QTY_UNIT_ISO
    E101CRMXIF_PRODUCT_I     BASE_QTY_UNIT
    E101CRMXIF_PRODUCT_I     BASE_QTY_UNIT_ISO
    E101CRMXIF_SCHEDLIN_I     ORDER_QTY
    Thanks a ton in advance .
    Vijay

  • Problem in Inbound Processing

    Hi
    I am using Inbound Processing using WE19.
    It is showing "Partner profile not maintained". However I have maintained in WE20 & added Msg Type in Inbound Params.
    After generating IDoc, in WE05 its showing status Red & showing message -
    Partner profile inbound not available
    Message no. E0337
    Diagnosis
    An inbound partner profile could not be found with the following key:
    /PROCLNT100/LS//MATMAS01////
    This involves the key fields of table EDP21.
    I have checked in Table EDP21, entries for that Partner Profile exists.
    Please help.

    Hello Nikhil and other Experts,
    I neeeeeed your guidances. Thank you all in advance. I am explaining what I have done so far in the following!!
    Scenario: 1) Same system: T05
                   2) Two clients: 454 and 455
                   3) Two logical system for sure: T05CLNT454 and T05CLNT455
                   4) Transfer Material Master Data from 455 to 454
    Since I am a student and this system is actually for me to play around and practice, I did something crazy. I have been browsing so many forums and taking so many actions, but still I am having some issues.
    What I have done:
    1) Went to 'BD10' on 455 -> Tried to send material master data
    2) 0 Communications generated for IDOCS
    3) Googled the solutions and found out that it was due to filter setting.
    4) Went to 'BD64'. Since message type for transferring Material Master is MATMAS, I went there trying to inactivate those annoying filters for message type MATMAS.
    5) I could not inactivate those, so I deleted them intentionally, even though the system warned me not to delete so. The technical names of those two filters I deleted were 'MM-PUR1' and 'MM-PUR2'
    6) Later, I created another filter, which was related to MATMAS, without activating it, or say without setting ANY filtering parameters.
    7) I did the same things on 454. (Deleted two filters and created another one called TEST)
    8) Went back to 455 and went to 'BD10' again.
    9) 50 IDOCS generated.
    10) Went to 454 and used 'BD11' to received material master data. Was not able to receive any.
    11) Used 'WE02' on 454, and those IDOCS were all showing error 56. (Red message)
    12) Used 'WE20' to define partner profiles on both clients, 454 and 455. (I actually just did whatever I felt like to do, since this system was only for me to practice. I don't mind messing it up. Haha~~)
    13) Went to 455 again and used 'BD10' to send my materials again.
    14) Back to 454 and used 'WE02'. This time, some (about 8 IDOCS) were green and 42 IDOCS were yellow with message 64 (IDOC ready to be transferred to application)
    15) Executed 'BD11' on 454, and there were exactly 8 materials being transferred.
    16) Re-did 'BD10' on 455 and 'BD11' on 454 many times, but it seemed that there were no chances to successfully receive 50 IDOCS on 454. In other words, there were still yellow messages each time.
    Some suggestions from other forums said that we could increase the number of "dialog work process". I am just wondering is that the root cause to my situation now?
    Any other clues from you experts? BTW, if some of you see what I was doing was crazy, please correct me as well. For example, step 5, deleted two filters directly without a doubt. Haha~~ (Maybe you can tell me how to inactivate them?) Thank you soooooo much in advance!!
    Best best regards,
    Alfred

  • Partner profile not maintained error while testing inbound processing

    Hi gurus,
    I am trying to upload a customer master data using LSMW idoc method, I followed all the required steps and then I tried to test the inbound processing using T.code we19 and there i gave my basic type as debcor01 and I clicked on standard inbound test but it gives me an error which says partner profile is not maintained, but I have maintained the partner profile and assigned the same in LSMW. So anyone of you can please help me to solve this problem.
    thanks,
    Rajeev

    Rajeev,
    Check whether the Account  Category is mantained properly or not.
    K.Kiran.

  • SYSTAT01 for inbound processing

    Hello all,
    I receive an incoming IDOC for creation of ORDERS. Upon creation, I need to return the created Order Number.
    1. Do I maintain Basic type SYSTAT01 (message type STATUS) in my Partner Profile Outbound Parameters? So that the information can be sent back to the middleware?
    2. Tried inbound processing using WE19 but an outbound SYSTAT01 doesn't seem to be created.
    Looking forward to your replies. Thanks.
    regards,
    Daniel

    Hi Daniel,
    Please check this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/75/4b3c1cd14811d289810000e8216438/content.htm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Inbound idoc processing using custom FM to cancel sales orders

    hello all,
             I have a scenario where i need to create a customized function module which is assigned to custom message type. and this function module is triggered when inbound idoc comes, which will process idoc data for cancellation of sales orders. If an errror occurs than the error during cancellation has to be reflected back in the idoc status.
          can anyone tell me how exactly i can log the status and reflect it back, how exactly can i do this
         And what are all the objects i need to create to succusfully execute  this scenario, i have created message type, function module, i am using orders05 do i need to create process code also.
    Thanks,
    krishnam raju.

    Hi Krishna,
       Hope you are done with the Inbound function module creation. But, just creation of function module would not be enough, what u said that is like creation of Process code should also be done.
    WE42 is the transaction code for inbound process code.
    And while creation of the process code, we need to do few things like:
    We need to create an entry of the inbound function module in BD51 transaction or so. And coming to updating of the status, open any of the inbound function module, you will observe that there is a standard subroutine which will update the IDOC_STATUS record. You can implement the same logic whenever you want to update an error message.
    Thanks,
    Adithya K

  • QRFC Inbound processing example using JCo

    Hi Freinds,
    1. I am trying to set qRFC queue for Inbound processing, in order to process on IDoc from external system.
    Queue when I say regsiter, it shwos as status Starting, its not showing active status.
    2. is tehre any JCo example which can be used to comunicate from Java program to qRFC?
    Thanks

    Hi ,
    I have registered qRFC queue name, and able to see records entering in qRFC queue scheduler.
    when I process LUWs in queue, its processing successfully.
    I am not able to understand the behavior of QueuePosition now.
    I tried with queuePosition 2,1,3,2
    but,in the queue, when I see records, ther are entered with time, not with queue position number.

  • Wrong processing code used in inbound processing

    Hi
    We are on 4.6C and have configured a dist. model for material distribution using message type MATMAS. On receiving end IDOC is properly received but processed with code 51 which is "IDOC Interface not complete for message type".
    While testing it in we19 with standard inbound option we found that its using process code AFSA though in the inbound partner profile its set to MATM. (In the table tbd52 AFSA is not even defiend for MATMAS but for ARTMAS) While using INBOUND FM option there with FM specified as IDOC_INPUT_MATMAS_MDM we were able to process the IDOC properly in receiving end. We are not sure which code is being defaulted to during automatic inbound processing but we guess its same as AFSA as shown during standard inbound option. It will be of great help if someone can explain what might have gone wrong.

    Dear Renjith
      I got it. Actually the process code was correctly attached in sending system but in receiving system it was unfortunately set to AFSA which I ignored. Thanks a lot for the response.
    regards
    saurav

  • IDOC Error handling using workflow for Inbound process.

    I have a custom idoc which I am processing using a custom inbound function module with the help of a custom process code. I have made the config in BD51/bd67/We42/We57and doing the coding in the inbound function module to handle workflow. But i am still unable to get the workflow item in my inbox. I have set my userid in the partner profile as the agent to receieve the workflow.
    Is there any other config that needs to be done vis-a-vis workflow ? like..assignement of some standard task,etc etc ? The message type I am using for the IDoc is zWMMBXY .
    Pls advice..thanks

    Seetha,
    I have this already..
    IDOCPACKET                                                           
    Object type                         IDPKWMMBXY             
    End event                           MASSINPUTFINISHED      
    IDOC                                                          
    Object type                         IDOCWMMBXY             
    Start event                         INPUTERROROCCURRED     
    End event                           INPUTFINISHED          
    Application object                                                                      
    Object type                         BUS2017                           
    Start event

  • Returns Processing using Inbound delivery transaction VL31N or BORGR

    Hi Experts ,
    Our business Requirement is to use  VL31N /BORGR to process the return deliveries .
    The Standard Functionality of this transaction is restricted to manage the Inbound Processing (Deliveries from Suppliers u2013 Document Category u20187u2019 (Shipping Notification) .
    My question is can we enhance the SAP code to process the retuns delivery  .
    Is it possible to achieve this functionality via Customizing .
    If anyone had such business requirement  and if you a solution for this please help  << Moderator message - Everyone's problem is important >>.
    Regards,
    Rupa
    Edited by: Rob Burbank on Oct 19, 2010 3:25 PM

    Hi ,
    Which kind of return delivery are you speaking about?
    Yes the deivery  is return to vendor .
    Yes we will be  create the return delivery using VL01N  with reference to returns Sales Order .
    But after this oulbound deilvery is created Our business requirement to use BORGR transaction to process it further.
    The BORGR transaction is used for Admin Goods reciept multi GR Posting  and it used to handle only the inbound deliveries only .
    I want to know is it possible to completly process the oubound deliveries using an inbound dleivery transaction  if we modify the SAP code .
    Just want to know if i modify the SAP code using enhancements will the existing SAP code of this program support such deliveries .
    Regards ,
    Rupa

  • Inbound Processing with reference to user defined Message type

    Respected Readers,
    I have created a segment with fields
    Matnr
    mbrsh
    mtart
    vpsta
    maktx
    meins
    matkl(Total 7 fields)
    I have created a idoc also and a message type and assign the idoc with message type.
    Now i have set the communication partners also and created the distribution model with my message type and distributed also to the reciver side.
    Now as it is not the standard message type like MATMAS so we cannot use the tcode BD10 to send the material.Instead of it i have to write the program to create the idoc for sending it.
    So i have created the program for the generation of IDOC.
    Upto here picture is clear.
    In the case of Inbound in standard we use the tcode BD11 to get material but same thing as we are not using the Standard Message type we have to create our program.
    Now in this case i have written a function module and that function module is attached to the process code and process code is attached to the message type and message type is attached to the partner profile.
    i have done the assignments in we57 and bd51 also.
    Now idoc is created in the inbound side with status 70.
    but i am not getting how to upload this data in standard tables Mara and Makt.
    So that if i go to tcode MM02 and give the respective Matnr ,it should display that material.
    First tell me what i have done is the right procedure or i have to make somechanges somewhere .
    Secondly if you please give me the function module code for inbound processing to upload the data in this standard table( mara ,makt)  so that material is created in the reciver side also.i will be very thankful to you.
    I am only using seven fields in creating the material.
    Please kindly send your answers and not links .
    Thanks

    i have done the same thing and used same parameter in import ,export ,tables and exception tab.
    i have written some code also .
    But i am not getting the code to upload the data in the standard tables so that material should be get created automatically as soon as the data get uploaded
    in tables.
    Somewhere i have read that you have to use the BDC concept Call transaction method to upload the data.
    But how to use the BDC code in  Function module , i am not getting.
    Please can you send any example of code for this task.

  • Change inbound delivery using /SPE/IDOC_INPUT_DESADV1

    Hello -
    We are creating an inbound delivery using the idoc function module /SPE/IDOC_INPUT_DESADV1.  I have need to be able to change an existing delivery via idoc processing, so we are populating and mapping an E1EDL18 segment with the qualifier 'CHG'.  However, in /SPE/IDOC_INPUT_DESADV1, it does not appear to handle CHG.  I have debugged down into the code and in method PARSE_AND_HANDLE_IDOC_DELVRY03, when the segment is E1EDL18, there is a case statement that looks at the qualifier, and CHG is not dealt with. 
    Any ideas how to handle this?  Or is this a legitimate bug I should report to SAP?
    Thanks for any help!
    Sharon McClure

    Sharon McClure wrote:
    Or is this a legitimate bug I should report to SAP?
    Hard to say. Why not just report it? The worst they can do is say it's a consulting issue.
    Rob

  • BPM Error Permanent Error in BPE inbound processing

    Hi
    I require some urgent help on this BPM issue.
    We are trying to integrate SRM PO being directly sent to Vendors using HTTP. We are getting an error saying ‘Permanent Error in BPE inbound processing’. The scenario works like this.
    SRM system would sent PO using the SRM Standard interface PurchaseOrderRequest_Out. We need to transform the message into cXML format and send it to the vendors using HTTP adapter. Using the HTTP response we need to trigger an email to the business process team.
    The SRM interface is under the software component SAP SRM Server 5.5 and our mapping is being done in a common software component and for the vendor interface we have another software component. We have created a relationship in the SLD by making the common SWC as dependent software component to SAP SRM Server and Vendor Software Component. So in the integration repository we are able to get the interfaces for the SAP SRM Server and Vendor Software Component under the common software component. The receive step for this BPM is a copy of the standard SRM interface PurchaseOrderRequest_Out(as the standard interface is an asynchronous interface) and we would require an abstract interface for the BPM. We have checked the semantics for the BPM and its fine. The related ID development is in place. When the message is being triggered, it gives us this above mentioned error. When we go to the QRFC monitor we are able to check the details.
    Regards,
    Indranil

    Hi Indranil,
         You don't see you BPM....
    First go to SXI_CACHE and check that your BPM is listed there and that the compilation has been completed succesfully.
    Is this the first time the BPM is being used? If so check if has been configured. For example, go to RWB->Component Monitoring->BPE in <SYSID>
    and check if any error is listed there.
    In order to check what is going on in your BPM you can trace it:
                      SXMB_MONI_BPE->Diagnosis Processes with Errors
                      SXMB_MONI->Process, get your msg and click on 'PE'. You should see the workitems and see if there is any error.
             Hope this helps you....
             Regards,
                Encinas.

Maybe you are looking for

  • Multiple questions.

    Hello, I am having some issues with a few things regarding editing slides: Is it possible to make Captivate wait (pause) at every slide before continuing to the next one, without having any objects in it? For example, I have a powerpoint presentation

  • "get specified finder items" in automator pulling more than specified

    In part of a larger workflow I copy 5 files to my iDisk. In the next step I select one of those items again using 'get specified finder items' from the same location, add a date to its name in the next step with the 'add date or times to finder item

  • Unable to copy line item from Sales Order [ZPLV] to new Sales Order [ZPCV]

    I have here a requirement to create a new Sales Order[ZPCV] with reference to the previously created SO[ZPLV]. I looked in transaction code VTAA, and the configuration for the aboves condition is: target sales doc type - ZCPV   from sales doc type -

  • Problem in faces-config.xml cycle detection

    Hi, I'm having the following problem in my jsf application. I have a loginMangager bean which holds a reference to the logged user and which is used by many other beans in my application. But in a particular situation I'm getting the following error:

  • Mac Pro front USB cable

    I have an original Mac Pro and it is missing the cable that connects the front USB to the motherboard. It looks like I can just use a standard SATA cable. Can I do this, or does this have a special pinout?