General - IDOC doubt

Hi ,
i have a general question regarding master_idoc_distribute.
in the FM we will be passing the control data , IDOC data and will get the communication data .
we have defined all the Partner profile, ports , rfc as well.
the question i have in my mind lets say i have created a sales order and wants to send data through master_idoc_distribute to another system.
My confusion here is :
will be sufficient if i pass the control data and IDOC data into the FM master_idoc_distribute to create an idoc in the other system or am i missing something . Please suggest.
Regards,
Ry

Hi Madan,
Thanks for the info . But my question here , not especially Sales order any application process we decide , if i use the FM master_idoc_distribute . will it automatically transfer the data to other system providing the partner profiles , ports and RFC's are defined ( apart from these are there any other configuration needs to be done to trigger the idoc to be transferred to other system ).
Do we have to define Distribution model when using EDI . Please suggest.
Regards,
Ry

Similar Messages

  • IDOC - doubts

    Hi Experts,
    I have few doubts regarding Idoc.
    1. Max size of an Idoc
    2. How many times a sigment can get repitated in Idoc (maximum)
    3. What is use of Trust system in logical system SM59
    4. in Distribution model, where filter objects/documents are stored.
    Waitng for your valueble answers.
    Regs
    Rams

    Hi,
    Please find some answers below
    1. Max size of an Idoc - 1000
    2. How many times a sigment can get repitated in Idoc (maximum) - You can set the maximum number while creating the segments
    3. What is use of Trust system in logical system SM59 - If you want to pass data to other SAP or non SAP system, an RFC connection is required to do so....Here in IDOC you require to create a partner profile (WE20).
    4. in Distribution model, where filter objects/documents are stored.: Check BD64 transacction and you can find the filters there for the distribution model
    Reward if usful
    Regards
    shiva

  • IDOC Doubt

    Hi all,
    Is this the place to ask a doubt related to IDOC.. If so, please help me on my issue. This is actually the configuration to transfer data from IDOC (RFC Destination) to XI (RFC Destination).
    An IDOC can be send from SAP in 2 formats I believe.
    Thru Transactional RFC port and File port.
    In both the cases the structure/format of the data that I recieve is different. Is there some way that I can make the format same using some settings??
    I actually need the format coming out of File port to be same as that of RFC port so that it transforms the data to XI's RFC destination without any alterations in the format.
    Please let me know if you need more clarifications.
    Thanks
    Anju

    Hi
    Also check this blog by suraj
    /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    he handles the file xml port too
    regards
    krishna

  • ALE & Idocs doubts

    Hi  Experts,
       I have big doubts in ALE & Idocs
    1.There are lot of function modules to create idocs.
      So how to find the relavent function modules for our
      requirement.Is there any criteria for this.
    2.When will we go to create idocs through BAPI,when we
      have both systems(sending & Receiving) are SAP.
    3.In INBOUND Idocs processing program,do we need to
      compulsary use BDC to update the data in conserned
      tables?
    Advanced Thanks for your replies

    Hi Murali,
    u can findout the list of fm related to the concerned msgtypes in <b>WE57</b> tcode.
    We have standard inbound function modules wich takes care of process/updation in inbound side. (Se37--> search by IDOC_INPUT* ).
    if those doen't suits to ur req. u can develop ur custom one and use BDC to update.
    Thanks
    eswar

  • General design doubts

    Hi,
    Can anyone answer the below general doubts. Thank you
    1 How to draw the sample architecture diagram of a shopping cart what should we cover in the archetecture.
    2 If classA creates classB then should we show that as dependeny relation or as association relation.
    3 In ejb uml diagram service locator creates the remote interface that is a dependency or a association what relation is that
    4 In ejb uml diagram bussiness delegate uses the remote interface that is a dependency or a association what relation is that
    5 The service locator locates home the business delegate creates remote from the home now should we show home ,remote,bean in uml diagram or only showing the remote is sufficient as in url http://java.sun.com/blueprints/patterns/BusinessDelegate.html where OCPAdminFacade is a remote interface and in diagram is it shown as business delegate and service locator accesses it but home and bean are not shown

    1 How to draw the sample architecture diagram of a
    shopping cart what should we cover in the
    archetecture.What do you want the reader of your diagram to understand? include everything he needs to understand this. remove everything he does not need. This might include additional diagrams.
    Sorry, but I don't think there is a more precise answer to that question.
    >
    2 If classA creates classB then should we show that as
    dependeny relation or as association relation.- I guess you are talking about objects of classA and objects of classB and not the classes itself, since classes are normally assumed to be permanent things and therefore can not be created.
    - classA depends on classB. since the objects of classA, nor the classA itself hold references to classB this should be modelled as a dependency
    >
    3 In ejb uml diagram service locator creates the
    remote interface that is a dependency or a association
    what relation is thatIf it really creates it it is a dependency ... if it contains a collection of the interfaces it would be an association ... In some cases it is really hard to tell the difference and sometime it might even be irrelevant.
    >
    4 In ejb uml diagram bussiness delegate uses the
    remote interface that is a dependency or a association
    what relation is thatagain, if it just uses it (gets it from somewhere, does something with it and then looses the reference) it is a dependency (<<uses>> stereotype) if it keeps a reference it becomes an association.
    >
    5 The service locator locates home the business
    delegate creates remote from the home now should we
    show home ,remote,bean in uml diagram or only showing
    the remote is sufficient as in url
    http://java.sun.com/blueprints/patterns/BusinessDelegat
    .html where OCPAdminFacade is a remote interface and
    in diagram is it shown as business delegate and
    service locator accesses it but home and bean are not
    shownThe question is: does your reader care about these classes or not.
    If he does, they should be included in the diagram, if he does not they shouldn't ...
    it really is that simple (and of course difficult ;-)
    regards
    Spieler

  • General IDOC FIailures

    Hi GURUS,
    What arethe common reasons for failure of idocs???is there any blog listing the various type of failures in IDOCS..both inbound and outbound...??
    Please let me know if you have any idea
    Regards,
    Sri

    What is "common" or "general"? If there are lists online, you can find them yourself via searching. There might be some for the technical problems around  IDocs. However during inbound processing of messages any error might occur that also occurs during "normal" processing, e.g. while entering a purchase order manually. Too many to list, you might as well dump T100 and look at that.
    Thomas

  • Xi: File to Idoc doubt

    Dear all,
    I am working on File to Idoc. I am doing some fields are constants and some fields are let it be. When i am  executing this sceenario, in XML file contains the data those i dclared as constants and remaining fields are not appearing in XML payload. If anybody have file to Idoc scenario, please forward me. Gr8 help for me?
    regards,
    anjireddi

    Hi Raman,
    1.Use the constant function from your graphical mapping tool under message mapping.
    then test the mapping using the test tab,you can even use your originial XML or insert your own values.
    after that check again.
    it is possible that a higher hirarchy elemnet above your XML element has not been created due to mapping error.
    check it as well.
    good luck
    nimrod

  • ALEs/IDOCs doubt

    Hello Friends,
    I need suggestions for this typical issue
    The business scenario is like that when we are creating <b>purchase orders</b> in one server it should create <b>sales order</b> in the another server automatically.
    In the outbound it is moving without any error, and in the inbound side it is getting <b>51-status code</b> after I am trying to post the idoc with respective process code.In the <b>error</b> it is shows the message like “<b>The material number for item 000010 could not be identified”.</b>
    Thanks in advance
    Ramu.

    HI,
    Adding further...
    Although both Purchase Order & Sales Order use the same idoc type orders01, the data content will be different.
    for example...the purchase order will have purchasing related data like purchasing organization, purchasing group, vendor etc...
    however, sales order idoc requires the data like, sales organization, division, distribution channel, sold-to paty etc,...
    You have to do the conversion of the PO idoc to an SO idoc(this has to be done after the inbound requirements for a sales order idoc is studied)...
    Thanks,
    Renjith

  • OUTBOUND IDOC Doubt

    Hi Team
    My Scenario is to send IDOC from ECC to 3rd party, so outbound IDOC. Whn i am sending the idoc from ecc , there is a number 16 bit number being generated in the xml file. but i want this number to be truncated to 12 bit as the receiver system(3rd Party system) couldnt match upto the 16 bit number.
    Please provide me ur valuable suggestions how to achineve this.
    Awaiting for your responses
    thanx in advance

    >
    Stefan Grube wrote:
    > Are you using graphical mapping tool? Then you can use the arithmetic function "formatNumber"
    > In this function you set attribute: 000000000000 (12 times)
    > But this will only work, when you are sure, that you have always a number and never a text.
    or another option would be to do a subString - standard String function can help

  • EDI: Idoc doubt

    hi friends
    my question is ......when i create the delivery document ,system send the shippping notification (idoc) to the customer . there
    customer side how they receive the data and which T-CODE  they have to used. i have the confusion about the  idoc between
    sender and receiver (customer).
    withe regards
    dinesh
    Edited by: code acess on Mar 21, 2011 5:44 AM
    Edited by: code acess on Mar 21, 2011 6:43 AM

    hi satish
    thanks for your support. i need clarification
    1.my customer has a SAP system, so they are able to see the delivery document .I Found i doc number withthe out put in the
    delivery number. In what way customer know the delivery number has been generated .
    wiht regards
    dinesh
    Edited by: code acess on Mar 21, 2011 8:27 AM
    Edited by: code acess on Mar 21, 2011 8:32 AM

  • General task doubt

    Hi,
    i have created a dailog task and made a general task in my workflow.
    i have done agent assignment through rule for this task.
    My Question is,
      is there any problem making task as genral task?
    Thanks & Regards,
    Sankar.

    Hi
    If you have made a task a general task - and the agent resolvement fails, the workitem will be send to <b>all</b> your SAP users. So in my opinion you should avoid this whenever possible, and if not - you should always make an effort of ensuring that the correct agent always are found.
    A solution I often recommend is to use your Security Roles as your allowed agents. By doing this you can ensure, that the agent receiving a task also is allowed to perform it,
    If you are using a workflow rule, this can be archived by flagging the "Terminate if Rule resolution Without Result".
    Regards
    Morten Nielsen

  • Ale idoc doubt

    hi,
             when i send any material/customer from client 000 to 800.While,sending everthing goes ok till bd10,when i check in receiver 800 by tcode we02,it comes there also ok,but when i run tcode bd11/bd13 for getting the stuffs.one error comes
    Could not determine recipients for message type DEBFET
    Could not determine recipients for message type MEBFET
    HOW TO CORRECT THIS.
    Thanks,
    Gaurav

    Hi gaurav,
       BD10 is used to send the material to the ale layer.
    Then using bd11 in the receiving system u have to receive that material.
    BD10 will not transfer the material to the receiving system directly.
    Regarding ur error it might be some problem in ur customizing of the things.
    Regards...
    Arun.

  • General cloning doubts mostly while running adcfgclone

    Hi.
    While running the adcfgclone script, I am often asking myself what each question actually, really means . . .
    Does anyone out there know precisely what the following are asking for?
    Do you want to preserve the Display set to :1.0 (y/n) [y] ?
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:
    Does the target system have more than one application tier server node
    Does the target system application tier utilize multiple domain names
    Thanks !
    DA

    Dan,
    Do you want to preserve the Display set to :1.0 (y/n) [y] ?This is for the DISPLAY environment variable that need to be set in the context file, and in the CM script (one usage of setting this variable is to view bitmap concurrent requests).
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:See (Note: 356433.1 - Using Oracle Applications Release 11i with Virtual Hostnames and Business Continuity).
    Does the target system have more than one application tier server nodeWhen you have more than one application tier node (for example, load balancing).
    Does the target system application tier utilize multiple domain namesThis is also applicable when more than one domain is used (for example, load balancing).
    Regards,
    Hussein

  • Idoc enhancement with ABAP

    Hi all,
    we are currently in a project to implement SAP HR as HR master and distribute HR master data to other legacy systems using SAP XI.
    There will be two different interfaces from SAP HR to XI, one for real-time updates of changes (delta) and one for batch updates of complete records. We use SAP R/3 4.7 ext2 and want to use Idoc type HRMD_A06 which contains all HR data (we will have to add segments for two infotypes, but that is not the problem).
    The problem is that there is some information we need to distribute that not automatically gets included in this Idoc type (such as SAP personell number for manager of the org.unit an employee belongs to). My guess is that this has to be filled using some custom ABAP.
    Does anyone have any experience with adding such information to an Idoc? We can always find a suitable field in the Idoc to store the values if we only can retrieve the correct information. 
    And secondly, how do we make sure this extra information is stored for the correct employee segment in the Idoc?
    Finally, can we implement this function module so that it runs after the general Idoc is created, runs through the entire IDoc and adds the correct information for each employee segment, and then send the finished IDoc to XI? This goes for both real-time interface (implemented using change-pointers) and batch interface (scheduled job to collect master data).
    Any information or experience on this matter will be highly appreciated. Any other suggestions to how this problems can be solved are also welcome.
    Thanks in advance.
    Best regards, Kenneth Eriksen

    Hi Kenneth,
    Sorry for the misleading information abt the user exit at the first place.
    For batch process,
    1. Run PFAL transaction.
    2. Follow the same process to determine the manager in user exit EXIT_SAPLRHAL_003. set the parameter flag as 'X'. Also export the parameter 'Flag' to memory id in the user exit after the process.perform the logic to determine manager pernr only if infotype 0001 is filled.
    3. Second user exit EXIT_SAPLRHA0_001 will follow the previous exit. Import the parameter from memory id. if flag eq X. no process.
    4. Manager pernr will be passed.
    For change-pointer process,
    only 1001 information should be triggered by change-pointers.
    1.)run rbdmidoc to trigger change-pointers for hrmd_a.
    2.)user exit EXIT_SAPLRHAL_003 will be executed internally in the first step. should not perform manager logic as no 0001 infotype filled. It means parameter FLAG is blank.
    3). in the user exit EXIT_SAPLRHA0_001 , perform manager logic for change-pointers only if flag eq space.
    following logic should be followed :
    a.) IDOC_DATA fill contains the 1001 records.
    b.) loop at idoc_data.
        read each record and determine 0001 infotype for all employees with new manager(as described in my first reply). append the 0001 records into idoc_data_temp.
    c.) process each record by record in idoc_data.
    d.) after the endloop. move all the records from idoc_data_temp to idoc_data.
    now idoc_data will contain only 0001 records no 1001 records.
    e.) again loop at idoc_data, perform manager pernr logic.
    The change-pointer process is just overriding the standard process and manipulating custom records.
    this is the one way of achieving the solution.
    The other solution to achieve change-pointers is to perform lot of customization.
    1.) create a custom program to read the change-pointers from bdcpv table to read the unprocessed records for message type hrmd_a.
    2.)create infotype 0001 records from 1001 data.
    3.) also perform manager pernr logic for 0001 records as we are not calling standard transaction(master_idoc_create_smd_hrmd).
    4.) follow the logic in the sample program to create idocs.
    FUNCTION ZSKIT_CREATE_IDOCS.
    ""Local interface:
      DATA:
    *·······control·record·for·the·IDoc
              IDOC_CONTROL LIKE EDIDC,
    *·······data·records·for·the·IDoc
              T_IDOC_DATA LIKE EDIDD OCCURS 0 WITH HEADER LINE,
    *·······table·for·the·IDocs·created·by·MASTER_IDOC_CONTROL
    T_COMM_CONTROL LIKE EDIDC OCCURS 0 WITH HEADER LINE,
    *·······partner·type·for·logical·system
    C_PARTNER LIKE EDIDC-RCVPRT,
    *·······help·variable·for·the·check·if·an·IDoc·has·to·be·created
    H_CREATE_IDOC.
    *·variables·specific·for·this·example
      DATA:
    *·······field·strings·with·IDoc·segment·structure
      E1XITEM LIKE ZSKILL_CAT occurs 0 with header line,
    *·······data·to·be·put·to·the·control·record
      C_MESSAGE_TYPE LIKE EDIDC-MESTYP VALUE 'XAMPLE',
      C_BASE_IDOC_TYPE LIKE EDIDC-IDOCTP VALUE 'XAMPLE01',
    *·······segment·types·to·be·put·to·the·data·record·table
      C_HEADER_SEGTYP LIKE EDIDD-SEGNAM VALUE 'E1XHEAD',
      C_ITEM_SEGTYP LIKE EDIDD-SEGNAM VALUE 'ZSKILL_CAT'.
      E1XITEM-SKILL_ID = '12345678'.
      E1XITEM-SKILL_TYPE = 'SKI'.
      E1XITEM-SHORT_TEXT = 'Test'.
      E1XITEM-LONG_TEXT = 'Test skill'.
      E1XITEM-TENANT_ID = 'check1234'.
      E1XITEM-BEGDA = sy-datum.
      E1XITEM-ENDDA = sy-datum.
      E1XITEM-SKILL_UP = '01234567'.
      E1XITEM-SKILL_DOWN = '3456789'.
      append E1XITEM.
      clear  E1XITEM.
      E1XITEM-SKILL_ID = '12345678'.
      E1XITEM-SKILL_TYPE = 'Test'.
      E1XITEM-SHORT_TEXT = 'Check'.
      E1XITEM-LONG_TEXT = 'check skill'.
      E1XITEM-TENANT_ID = 'test1234'.
      E1XITEM-BEGDA = sy-datum.
      E1XITEM-ENDDA = sy-datum.
      E1XITEM-SKILL_UP = '01234567'.
      E1XITEM-SKILL_DOWN = '3456789'.
      append E1XITEM.
      clear  E1XITEM.
    *···put·the·application·item·record·to·the·IDoc·segment
      loop at e1xitem.
    *···append·record·to·IDoc·data·table
        T_IDOC_DATA-SEGNAM = C_ITEM_SEGTYP.
        T_IDOC_DATA-SDATA = E1XITEM.
        APPEND T_IDOC_DATA.
      ENDLOOP.
      idoc_control-rcvprt = 'LS'.
      IDOC_CONTROL-RCVPRN = 'DI2440'.
      IDOC_CONTROL-MESTYP = 'ZSKIT'.
      IDOC_CONTROL-IDOCTP = 'ZSKIT'.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
    *·in·update·task···"if·application·document·is·posted·in·update·task
      EXPORTING
      MASTER_IDOC_CONTROL = IDOC_CONTROL
      TABLES
      COMMUNICATION_IDOC_CONTROL = T_COMM_CONTROL
      MASTER_IDOC_DATA = T_IDOC_DATA.
    *exceptions
    *···········error_in_idoc_control··········=·1
    *···········error_writing_idoc_status······=·2
    *···········error_in_idoc_data·············=·3
    *···········sending_logical_system_unknown·=·4
    *···········others·························=·5.
    *·A·commit·work·has·to·be·done.·It·could·also·be·done·in·the·calling
    *·application.
      COMMIT WORK.
      READ TABLE T_COMM_CONTROL INDEX 1.
      IF SY-SUBRC <> 0.
    *·no·IDoc·was·created,·you·can·react·here,·if·neccessary
      ENDIF.
    ENDFUNCTION.
    5.) also set the change-pointers records as 'processed' status using standard function module.(search for function module starting like change_pointers_read_mode_set)
    Please decide between 2 solutions .
    Also revert back for any  concerns.
    Regards,
    Senthil

  • BD87 hide "idoc entries in tRFC queue" by assigning to status or other meth

    Hi,
    I am working on the inbound side of an idoc interface for message type MATMAS. My problem is that when I enter in BD87 there are more than 400 hundred entries in "idoc entries in tRFC queue". Now, whatever filter I put on the first screen this line appears. Even, if I enter with a specific idoc number. These entries are obviously outbound errors and are completely irrelevant to the interface I am working on but will make the reprocessing screen unnecessarily complicated for the users. So, basically I want to allow the end user to filter out these messages.
    I noticed that the errors "idoc entries in tRFC queue" aren't associated to a status and I was wondering if it is possible to give them a status value and so make them sensitive to a status filter. But if this isn't possible any solution to hide these error messages from the end user would be equally valid.
    I know someone will probably suggest that the best solution would be to remove all old entries from tRFC queue in SM58 and that there shouldn't be so many idoc in entries in the tRFC queue. The problem is that it is not my role to monitor tRFC in production and if it has not been regularly monitored up to now then it probably won't be in the future.
    Many thanks in advance,
    Jamie.

    Hi Jamie,
    To the best of my knowledge the shown outbound RFC entries in BD87 are a feature that cannot be suppressed. I.e. in the coding of BD87 one can see logic where it automatically checks for outbound RFC errors and adds those to the output.
    In general IDoc status 03 should be associated with the outbound RFC errors. Yet, when one sees those in BD87, the IDoc status field is empty. Along your train of thought I had also previously tried to suppress those displayed IDocs by adding a filter for suppressing status 03 or blank status, but nothing helps. And as you correctly point out, even when using BD87 on a single IDoc (e.g. specified via IDoc number), the transaction will still display the outbound RFC errors.
    So unless somebody else has some good idea or insight, I'm afraid you're stuck with that behavior.
    Cheers, harald

Maybe you are looking for

  • Unable to start OBIEE 11g Sevices on Windows 7

    Hello, I have successfully installed OBIEE 11g server on windows machine 64 bit When I start BI services from all programs I get following error : SVR_GRP = JAVA Memory arguments: -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:-UseSSE42Intr insics WLS S

  • How do i delete a word document using shortcut?

    I have just bought a MacBook air & have installed Word etc onto the machine. I cant find how to delete documents in Word, it used to be easy!

  • Is there a way to alter the file name given to the attachments in an email button?

    When ever I click the standard email button, I get an attachement with random alfa and numeric characters for the file name.  Is there any way to change the files names to match a data field in the form or start with something I choose? Thanks, Judy

  • [SOLVED] startx and blackscreen

    hi guys, I'm still trying to set up Arch. So, I followed everything line per line the beginner's guide but I've a problem with STARTX. When I run it, I get a Blackscreen and nothing happen, also if I press CTRL+ALT+DELETE nothing happens, if I press

  • Temp tables in procedure

    Hi, I am trying to develop a procedure in which i have to create four tables to improve the performance of the procedure. is there any other way in which i can do this? i don't want to create four table objects. if i use global temporary table. then