Automate the IDoc in bound process

Hello,
I have a text file in the outbound folder to create a BOM... It will be picked up by the PI and converts it into an Idoc
That Idoc gets loaded in the system when I manually process the file adapter..
What I need is I want to automate the process. Like every 5 seconds i want the PI to pick up the file and start the Idoc process. Can I do it? If yes, how?

your PI guy is not having proper competency. ask him to check in SDN not you... its not a abaper task.
the adapter channel can very well be kept to mode AUTOMATIC. in that you can specify how frequently you want to adapter to be active
its 3rd party ---> PI --> ERP.. right?? then how are you expecting a ERP ABAP code to come into picture between 3rd party and PI

Similar Messages

  • Automate the Idoc monitoring process

    Hi,
    As we do not use Solution Manager to monitor Idocs in R/3 system, we need to develop the customized report which will send a mail alert with the Idoc status on daily basis.  Please suggest various effective approaches to develop this scenario.
    Thanks.
    Moderator message: please do some own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 2:02 PM

    There are some standard reports which are already available. I could find a report RSEIDOCA, this sends mail based on the workflow. Please check if this is useful or it can be extended to meet your requirement.
    Regards
    Ranganath

  • Automate the website log in process using java program

    Acutally, on daily basis, I have to open website,loginto that, navigate toa
    link/page,export an excel sheet and do processing.Can I go ahead to automate the same
    through Java Program.
    Thanks,
    amol

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Idocs are not processed in the right order.

    Hi,
    I face a problem that when there are a large number of IDocs (Inbound) posted the Idocs are not processed in the right order.
    Msg type: MBGMCR
    any idea how this can happen?
    what is the solution?
    br
    Karen

    No answer

  • IdocReceiver not processing all the idocs produced from PFAL in OrgModeler

    Dear experts,
    We are on below Nakisa version.
    Name Nakisa OrgModeler
    Version 4.0 SP1
    Build 0910021700
    I ran the initial load for the OrgModeler and it produced around 500 idocs. When I followed the command line interface, it processed around 56 idocs. The idoc status becomes 03 (Data Processed to Port OK) at the R/3 end for all the idocs. However idocreceiver is skipping many idocs in between and processing only few. I checked the database for HRP1000 and HRP1001 and the records loaded are not even 20% of the records in R/3 for the objects and relationships(HRP1000 obj types C, O, Q,S and HRP1001 002/003/007/008/011/012 etc) we filter at the distribution model.
    I think  the issue might not be an authorzation problem as its fetching the records from SAP R/3 and loading few records in the database.
    I checked with my Basis consultant about another reciever running and grabing the missing records. He confirmed that only one idocreceiver running at nakisa end. I even happened to check the SAP gateway server(SMGW) and with TP Name NAKIDOC and symbollic destination NAK_RFC_DEST I can see only one record which is appearing on and off. When the record appear on the gatway server, the corresponding idoc being processed at command line interface. Till the other record appears on the sap gateway server, the idocs are missing at the command line interface.
    Below is the screen shot from idocreceiver. (After the idoc 1695358 it processed 1695366 then 1695372 etc)
    Any suggestions would be a great help.

    Dear All,
    My Basis guy finally realised that he started a Jco provider at the netweaver end and causing the issue. He stopped it and all the idocs processed successfully.
    I learned the below points and might useful for few folks.
    1.No idoc being processed and all the idocs failing with 'Bean IDOC_INBOUND_ASYNCHRONOUS not found on host'. It should be an authorization error and assigning the Authorization Object: S_IDOCDEFT (EDI_TCD = "WE30"; ACTVT = "03") will resolve the issue.
    2. Few idocs are being processed at idoc receiver end.
    i. Check for multiple idoc receivers which might be active and running.
    ii. Check the number of connections and timeout parameters and set them to the maximum.
    Thanks,
    Manohar

  • A warning message in the Inbound part of the IDOC

    Hi all,
    A warning message is being displayed for the Inbound part of the IDOC.
    Here is the message.
    No filters , No conversion , No version change .
    IDoc successfully processed in the ALE layer
        The IDoc has passed through the ALE layer successfully and can now be
        passed to the application. This transfer is either done online or as a
        background job, depending on the settings in the partner profile.
        If there are no further status records, the IDoc waits for the next run
        of the transfer report to the application.
        Success or failure when passing the IDoc to the application is
        documented in the subsequent status records.
    Actions in the ALE layer
        The parameter 'No filters' indicates whether the processing in the ALE
        layer led to segments of the inbound IDoc being omitted. The important
        criteria here are the settings in the segment filter and in the
        distribution model for this sender.
        The parameter 'No conversion' indicates whether field values were
        converted in the ALE layer. This is the case if the IDoc contains
        organizational units to be converted, or if the ALE conversion tool for
        this sender is activated.
        The parameter 'No version change' indicates whether the IDoc was
        converted into an earlier version of the IDoc type. This happens if the
        IDoc type of the sender is different from its own IDoc type.
    I have checked all the necessary Config settings and all of them are in place.
    Your help on this will be highly appreciated.
    - Surya.

    Hi,
    The IDOC  may have successfully passed through the application, but check whether the status of the IDOC is changed to 53.
    No filters, No conversions, No version change
    occurs when the IDOC is not processed fully.
    It may have stopped the processing without raising any error...
    Check the program, whether there is any piece of code which stops the processing of the IDOC without changing its status to 51.
    Sharin.

  • Inbound IDocs will only process immediately

    Hello.  I have been having an issue with our inbound INVOIC02 IDocs coming from our EDI server.  We are processing a high number of invoices and I wanted to change the processing from immediate to collective.  The immediate processing is causing a strain on our EDI server.  I would like the IDocs to come into the SAP system, but stay in a status 64 until a background job runs to process them.  I changed the partner profile for the vendor from Trigger immediately to Trigger by background program.  For some reason, the IDocs are still processing immediately. 
    Here are some of my settings:
    EDI side Function Module:  IDOC_INBOUND_ASYNCHRONOUS
    SAP side Function Module: IDOC_INPUT_INVOIC_MRM
    Partner profile setup:
    Partner no: (vendor #)
    Partn. type: LI (vendor)
    Message type: INVOIC
    Process code:  INVL
    Processing by function module: Trigger by background program.
    Please let me know if you have any recommendations as to how I can get these IDocs to process from a background program instead of immediately.  Am I missing another setting for this?
    Thanks,
    Lisa

    Hi Klaus,
    form the mentioned options, I would give enqueue / dequeue a second try.
    I would use customer (/sender) as key field for your locking object.
    If you try to set the lock right in the beginning of your FM, whole customer should be locked for processing. Second test is of course, if already a sales order exists.
    Maybe here the problem occurs: when you have some parts in update task, select for sales order is not successful for some (micro-)seconds.
    Solution for this part: use synchronic booking / commit work and wait. Maybe make a test with a select for VBAK in the end of your FM to test existence -> if not successfull, you know you identified your problem.
    If this is your problem, you should make a new enqueue after commit (because it will be deleted by commit) and wait until DB gives you new VBAK entry.
    I would start with a test, why all this different locking options don't work (instead of looking for a different locking option): make a select after your sales order creation. If this is not successfull, then here is your starting point.
    Regards,
    Christian

  • How to serialize the IDoc of DEBMAS by time sequence?

    Hi experts,
    We want to transfer customer master data from one client to the other.
    We have carried out the serialization distribution for message type DEBMAS
    and actived the change point.
    Scenario:
    time 1 : We created one "NEW" customer 100436.
    time 2 : We assigned the Head Office of "existed" customer100435 as 100436
    The time of the distribution job was arrived,
    the job started to run and failed to change "existed" customer 100435
    even though "NEW" customer 100436 has created sucessfully.
    We think the IDoc should be processed by time sequence,
    but it seems not.
    Did you think it is processed by customer key ascendence ?
    How do we define the process sequence of the IDoc?
    Any advice will be appreciated.
    Regards,

    But what if i want to check the format of date that my
    database supports ?
    Actually situation is :
    I am making a form designer by which user will inset
    date to a particular column. okay.
    now the format of date must match with the underlying
    format of database. Then only query will be
    successfull. Is it not so.?No.
    Basically you will be doing the following:
    Browser -> java.util.Date
    java.util.Date -> JDBC -> database
    JDBC does the 'conversion' work for you, you just need to put it in the java.util.Date.
    suppose database table-> column's format is
    YYYY/DD/MM Databases don't store dates like that. They usually (probably always) store it as a signed integer value which is relative to a specific date/time.
    When you use a database tool to look at the value the database tool converts it from the number to a format that looks familar to you.
    and user enters date in the format
    DD/MM/YYYY, then i will have show an error message to
    the user that the format of date that he has entered
    is wrong. No need for that.
    The user does need to put the date in in a form that you understand. So you can convert it to a java.util.Date.
    java.text.SimpleDateFormat can help with that.

  • How to automate the build and deploy?

    Is there any way to build and deploy component to UCM using command line? such as ant script? or is there anyway to run "component wizard" in a command line without GUI? I'm looking for a way to automate the build and deploy process.
    Thanks

    Here is link for build script using ant
    http://wiki.oracle.com/page/UCM+Ant+Buid+Script
    there are some videos in you tube also
    http://www.youtube.com/watch?v=QIT6gkEC2Tc

  • Idoc to be processed only when vl32n has been posted

    Hi All,
    I want the IDOC to be processed only when VL32N is been posted
    Regards
    Amey Kulkarni

    a

  • The IDOC INBOUND function is locking an object

    Hi ,
           I have created a wrapper bapi around IDOC_INPUT_SHPMNT , this is because i need to change the shipment using a BDC. No the problem is that once the control comes out of IDOC_INPUT_SHPMNT the locks are still maintained on the shipment.Now is this beacuse i am using WE19 to test the program or will i have manually realease the lock from this. Any pointers with function modules will be helpful.

    IDOC_INPUT_SHPMNT  will be locking the shipment. The lock will not be released until the IDoc has finished processing.
    You could remove the lock yourself.
    Can you not use a user exit in IDOC_INPUT_SHPMNT to provide your solution instead of running a BDC yourself. If your BDC fails how will this error be reported back to the IDoc. You would then not be able to re-process the IDoc either.

  • 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

  • How to stop an idoc from being processed further

    Hi Experts,
    I have a requirement where i have to stop the idoc from being processed in an user exit.
    I have to stop the idoc and give a suitable status message over there.
    It would be highly helpful if anybody tells me how to stop the idoc abruptly and giv the status messsage.
    Thanks in advance.
    Praveen.

    Hi,
    Check the below link
    https://forums.sdn.sap.com/click.jspa?searchID=11810720&messageID=3032674
    You need to find aproper EXIT.
    The avaliable options for you in the exit is
    IDOC_DATA
    Now if i pick the segment having shiped qty from the data record and check the same with the delivery qty your objective is half done.
    When the condition fails you need to update the IDOC with Error 51 saying that this is not possible .
    for that you need to bring your logic as
    LOOP AT IDOC_CONTROL.
    PERFORM LOGIC...
    ENDLOOP.
    FOR LOGIC .
    All the criteria and then update the status of the IDOC then error is generated and updated to the IDOc.
    PERFORM updatestatusidoc.
    endform logic.
    like this in
    form updatestatusidoc.
    IF subrc = 0 .
    t_idoc_status-docnum = f_idoc_contrl-docnum.
    t_idoc_status-status = c_idoc_status_ok.
    t_idoc_status-msgty = 'S'. -
    >denotes success
    t_idoc_status-msgid = 'ZXXX'.
    t_idoc_status-msgno = '000'. "
    t_idoc_status-msgv1 = itab-field.
    APPEND t_idoc_status.
    ELSEIF subrc = 1.
    t_idoc_status-docnum = f_idoc_contrl-docnum.
    t_idoc_status-status = c_idoc_status_error.
    t_idoc_status-msgty = 'E'. "denotes --->error
    t_idoc_status-msgid = 'ZXXX'.
    t_idoc_status-msgno = '001'. "
    t_idoc_status-msgv1 = itab-field.
    APPEND t_idoc_status.
    endif.
    endform.
    this has to be done to make the idoc to trigger error mode.
    Regards,
    Raj.

  • No processing log generated from the output type for the IDOC

    Dear experts,
    the output type which is triggered with a transmission medium Special Function has not generated any IDOC.
    The question is what is the role of a Special function and EDI transmission.
    In some cases the system has generated an IDOC and some cases not. The output is pickedup automatically, but
    does not always trigger an IDOC, Thats is the issue I am facing.
    Therefore in cases where there was no IDOC created there is no processing log generated.
    KIndly help.

    The status is green, and when I try to show the IDOC it  doesnt show and no processing log.
    The same output is processed for a delivery and it creates a IDOC but sometimes it doesnt.

  • Activating the IDOC Creation Process

    How or Where should I configure that an IDOC needs to be created followed by the Creation of the application document?
    Thank You.

    Hi Jenni,
    you need help of your functional consultant at every point so that you can clearly determine your application defnitions and configuration.
    1. Go to transaction NACE. There you can see all the generic applications listed. Find out the one relavant to your idoc type from the functional person. If you select your relavant aplication, and click on the "Output types", you will see a list of all the output types for each business transaction defined for that application.
    2. Again, ask your functional consultant, as to which output type is configured for your business transaction. Select that output type and go to "Processing routines".
    3. There you will be able to see different ways in which the idoc can be triggered. Most of the time , we use processing routine "A (Distribution (ALE))". There you will also see the report which will trigger the idoc.
    4. All the above mentioned customization is to be done by the functional consultant (or by technical after strictly seeking the permission). Once the output type is set, you go to the business application which is triggering your idoc and assign the output type & process it.
    Also, you can configure the output type so that it will be created and processed automatically once the document is created. you can check with your functional consultant for the same.
    Regards,
    Selva K.

Maybe you are looking for