Reg. Custom MATMAS IDOC

Hi Gurus,
I created one custom idoc based on matmas. I want to raise that idoc whenever material created or changed (Changes only send to thirdparty). How can we do this.
Thanks & Regards
Krishna

HI krishna,
goto WE61 to activate change pointers first.
then run the program RBDMIDOC.
Regards,
Chinna

Similar Messages

  • MATMAS idoc with classification details - reg

    Hi,
    I am working in a project related to the transfer of Material Master from one system to another ( Both are R/3 systems).
    I am currently  using the message type MATMAS with basic type MATMAS05. With the above message type i am able to generate an idoc from source system with all of the details except for the classification details.
    For classification i have configured the message type CLFMAS and CHRMAS, in the CLFMAS i am able to successfully generate an idoc with BD91/BD92 tcodes. But when the idoc is generated, the idoc gives the list of charactersistics managed in the class at each segment level but not able to retrieve the values maintained by me during the material master creation. In order the target values for each of the characteristics in the class is empty.
    Please clarify me with the following queries:-
    a) Is that really required to push both CLFMAS and CHRMAS for a material master classification related field values ?
    b) How to get the characteristics values maintained in the material master at the idoc level ?
    c) How to link the CLFMAS generated idoc and the MATMAS idoc to link the relationship?
    Thanks for the understanding.
    Thanks and Regards,

    Classification of a material has to be send with CLFMAS IDOC separate from the material.
    Usually you first distribute all characteristics and classes, then the materials, finally the classification.
    You have to enter the  new material number in segment E1OCLFM field OBJEK of your classification Idoc.

  • How to extract data from custom made Idoc that is not sent

    Hi experts,
    Could you please advise if there is a way how to extract data from custom made idoc (it collects a lot of data from different SAP tables)? Please note that this idoc is not sent as target system is not fully maintained.
    As by now, we would like to verify - what data is extracted now.
    Any help, would be appreciated!

    Hi,
    The fields that are given for each segment have their length given in EDSAPPL table. How you have to map is explained in below example.
    Suppose for segment1, EDSAPPL has 3 fields so below are entries
    SEGMENT          FIELDNAME           LENGTH
    SEGMENT1         FIELD1                   4
    SEGMENT1         FIELD2                   2
    SEGMENT1         FIELD3                   2
    Data in EDID4 would be as follows
    IDOC           SEGMENT                          APPLICATION DATA
    12345         SEGMENT1                        XYZ R Y
    When you are extracting data from these tables into your internal table, mapping has to be as follows:
    FIELD1 = APPLICATIONDATA+0(4)        to read first 4 characters of this field, because the first 4 characters in this field would belong to FIELD1
    Similarly,
    FIELD2 = APPLICATIONDATA+4(2).
    FIELD3 = APPLICATIONDATA+6(2).  
    FIELD1 would have XYZ, FIELD2 = R, FIELD3 = Y
    This would remain true in all cases. So all you need to do is identify which fields you want to extract, and simply code as above to extract the data from this table.
    Hope this was helpful in explaining how to derive the data.

  • FILE  to  IDOC  SCENARIO   NEED  MANDATORY FIELDS IN  MATMAS IDOC

    Hi
       I'm  learning a scenario like File to Idoc  which is i need some what are the mandatory fields for  creting the message mapping.. between source file and MATMAS IDOC...  because it was showing several fields.
    is there any way to find out the  fields we need to map compulsory...  for sending IDOC successfully.
    Thanks
    Babu

    Hi Babu !
    Log into the R/3 system, transaction WE60, enter the idoc type MATMAS01 or 02, 03, 04, then press F8 or go to Documentation menu, HTML Format.
    It will display a document, telling you which fields are optional and which mandatory.
    Regards,
    Matias
    PS: please award points if helpful.

  • How can I include Customer Hierarchy in Customer master IDoc -DEBMAS06 ?

    Hi,
    I am generating Customer master IDoc using basic message type DEBMAS06. But when I include customer hierarchy data while creating customer master, it is not included in any of the segments. The segment containing the data from KNVH is not included in standard.
    How do I include this hierarchy data in the IDoc? If I create a segment, under which basic segment should it  be included and how to update the data in the segment?
    Can anybody help?
    Points assured.
    Best Regards,
    Rajendra

    Hi
       You can use LSMW :-
    1) Create a project , sub project and an object.
    2) execute it from 1 st screen to enter the object.
    3) You will find proces steps.
    4) In Maintain Object Attributes  choose Program Name RFBIDE00.
    or I-DOC or the way you want the input to be.
    5) You can proceed from there following the instruction..

  • Customer master idoc scenario

    Hi gurus,
           customer master idoc should be sent based on customer group in sales area data of customer data.
    for example if customer group is 01 then this customer master data  should be sent as idoc and if customer group is 02 then this data should not be sent.
    How can this requirment be fulfilled.
    Thanks in advance
    sameer

    >>u can use synch-Asynch bridge using BPM
    This can not be done via sync-async bridge.There are 2 reasons for this
    1.He has file adapter as sender and that doesn't support synchronous scenarios.
    2.He has standard IDOC as receiver.there is no way you can fetch customer# from IDOC without writing a custom program,Thats why i said he need to either use RFC/Proxy or do some custom development.
    Thanx
    Aamir

  • Customer Master Idoc DEBMAS

    Hi
    I kindly ask you how can I send customer master IDOC in full. I am using change pointer and change pointer allows only to be send ,changed fields other fields are filling with '/' character. Is there any way to send this '/' what is in original

    Idoc type will change with the SAP release version with changes in the segments. You may see the difference in segments if you Compare DEBMAS01 and DEBMAS06 segments.  Always use the Idoc type which of the current SAP Release.

  • Multiple MATMAS IDoc getting created through RBDMIDOC program

    Hello All,
    I am creating MATMAS Idocs by RBDMIDOC proram, but as MATMAS message type is used in multiple distribution models ( i.e. MATAMAS is being sent to multiple partners), its creating multiple IDocs.
    I want my IDoc to get triggered only for a particular partner. How can i acheive this ?
    Searched on SDN but did not found solution.

    As the standard settings, IDOCs will be transmitted to all the Partners which are maintained in WE20 (Partner Configuration).  You can restrict the triggering of IDOC based on some condition using the Business transaction event MGV00100 (Publish & Subscribe).  This event is called from Function module MASTERIDOC_CREATE_MATMAS (Line number 2074).  Documentation of Standard FM SAMPLE_INTERFACE_MGV00100  reads
    * Event rissen by the ALE outbound process for MATMAS.
    * It allows to modify the idoc's control header the idoc data aswell
    * as serialization information created by the standard SAP outbound
    * process.
    * Raising the EXCEPTION ERROR will prevent the IDOC from being
    * submitted to the ALE layer.
    * BE CAREFUL WITH ANY CHANGES TO IDOC_CONTROL. IT MAY EFFECT YOUR WHOLE
    * ALE-SCENARIO
    You have to copy the Standard FM SAMPLE_INTERFACE_MGV00100 to a Z function module and assign it using transaction code FIBF.  Search SCN to get more details about configuring Business transaction events using FIBF.

  • Create a matmas idoc based on PIR information

    Hello friends,
    can you please help me on the following points please :-) ?
    I need to create matmas idocs and these idocs should be sent on a web portal identified on our SAP system as a logical system. The vendors will have access only to the materials they supply. For this reason, I need to send in the matmas the GLN code corresponding to the vendor for which we have created a purchase information record. This way, on the web portal the display of matmas information will be organised according to GLN codes.
    Question :
    how can we create the MATMAS idocs according to purchase information records? I mean how can I create matmas idocs selecting the materials supplied by specific vendors???
    is there any standard way to do it on SAP? or has it got to be done a specific way. and if so, do you have any idea on how to do it?
    Thanks in advance for your very precious help,
    Kind regards,
    Karenn

    are you thinking about manual creation in BD10, or something automatic?
    BD10 has the standard F4 material search help.
    If you need to do it regular and manually, then you may consider creation of a new included search help where you can search based on info records.

  • Filtering out MATMAS IDoc based on a condition

    Hi All,
           We are distributing a Material Master IDoc (Message Type MATMAS / IDoc Type MATMAS05) from an ECC 6.0 (WebAS 700) system to an external Non-SAP system via SAP XI.
           Now our requirement is that the users will maintain a Z-table with all the SAP plants that are relevant for the external system. They can add or delete plants from this table in the future
           If the MATMAS Idoc is created/extended for a plant which is not in the Z-Table then it should not get distributed.
    E.g. If MATMAS IDoc contains plant 5000 and 5000 is not in the Z-Table then the Idoc should not even be created
    We Tried a lot of enhancements: -
    SMOD Enhancement - MGV00001
    Enhancement Spot - ES_SAPLMV01 at different call up points
    But none of them give the required exact result.
    If we implement the enhancement spot inside the function module MASTERIDOC_CREATE_MATMAS, we get a message "1 Master IDoc created, 0 Communication IDocs created". So something is getting created and that's incomplete anyway.
    So I am not sure how reliable this is
    <b>One last approach I have is</b>: -
    1) Send the IDoc to XI (without filtering)
    2) Let XI look at the Plant code and compare with the Z-Table in ECC (via a Z-RFC function module) and then decide whether to send the IDoc or not send it to external system
    Please let me know if my approch is correct or I am missing something here
    Thanks and Regards,
    Aditya

    Hi Aditya,
    If the Communication Idoc is not created it means that the IDOC is not sent out of the system. The Master Idoc creation does not mean the Idoc is sent to the XI adapter.
    The purpose of Restricting at the Plant level will be satisfied if you delete the Idoc data with in the function module MASTERIDOC_CREATE_MATMAS.
    It will work. Consequently you can add an additional check in XI to do this check, but this will increase the number of connections made to R3.
    Hope it helps.
    Thanks,

  • Custom inbound Idoc error handling/ Workflow

    Dear Experts,
            I have a requirement where in I created a custom inbound idoc, but now i need to handle the errors in the workflow and notify the users thru workflow on an error.
    Can some one please provide me a step by step guide on how to create a organizational unit, position and assign users to the position... and any other steps that need to be configured to notify the user on the error.
    I'm pretty new to all these organizational uints and workflow related stuff. Any step by step would really be helpful.
    Thanks for your time.
    -Amit.
    Moderator message: sorry, these forums cannot replace proper training, if there is step by step guides out there, then please use the search functions.
    Edited by: Thomas Zloch on Oct 31, 2010 11:50 AM

    Vittal,
    1. If your requirement is for a SAP Standard Basic Message type and a Z extension: Then you simply have to find out the 'Standard Task' associated with basic type. You shouldn't worry about extensions. The standard task will be triggered at input error.
    2. If your requirement is for a Z basic type i.e. you have created a customer IDOC for a custom processing: There are many dependencies on how you can achieve this. Firstly, you need to know how you're are processing this Z_IDOC. Are you using a standard FM or custom workflow or custom FM? There should be some triggering event within the processing of this Z_IDOC which will raise a certain flag when the error you want to capture happens (or when there is a generic error). You can configure this event in binding objects to trigger a workflow task. If you take a look at any standard tasks, you'll get an idea how the triggering event happens.
    Once the workflow task (you can use custom task or use a standard task i.e. by triggering a standard event within the IDOC processing program) is triggered, you can either send it to SAP inbox, e-mail, trigger another processing etc. This is altogether another story.
    So bottomline: For custom IDOC processing, you need to trigger an event when error happens. This can be a custom event or a standard event. This event should be linked to a task (custom/standard - check in SWETYPV). Bind all of these in PFTC. Once the task is triggered, you can do whatever you want to do with it.

  • How to Create IDOCs for a Custom Basic IDOC Type

    Hi friends,
    I Have a Custom Basic IDOC Type.
    For that IDOC Type i need to Create an IDOC for every Header Item.
    The Header Item may have variation (Different) number of Line Items.
    in this case can i Use
    MASTER_IDOC_DISTRIBUTE and create the Idoc for each Header Item.
    or is there any way to create the IDOCs
    Thanks in Advance.
    Ganesh.

    Hi ,
    If I am not wrong you need to pass data via fm "MASTER_IDOC_DISTRIBUTE".
    So you can transfer row by row data into SDATA filed of structure type :EDID ,
    by concatenating the data into one field of type sdata. and passing it into the fm.
    I.e defining a internal table of type EDIDD.
    Try this :
    DATA : itab TYPE TABLE OF edid,
           itab1 TYPE TABLE OF edidc.
    LOOP AT itab2 INTO wa_itab2.
    CONCATENATE wa_itab2-t1 wa_itab2-t2 wa_itab2-t3 wa_itab2-t4 wa_itab2-t5
      INTO result.
      itab-sdata = result.
      APPEND itab.
      all function 'MASTER_IDOC_DISTRIBUTE'
       exporting
         master_idoc_control                  =itab1
      OBJ_TYPE                             = ''
      CHNUM                                = ''
       tables
         communication_idoc_control           =
         master_idoc_data                     =itab.
    EXCEPTIONS
      ERROR_IN_IDOC_CONTROL                = 1
      ERROR_WRITING_IDOC_STATUS            = 2
      ERROR_IN_IDOC_DATA                   = 3
      SENDING_LOGICAL_SYSTEM_UNKNOWN       = 4
      OTHERS                               = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Why customer master idoc named like DEBMAS?

    hi,
    i am just curious know why customer master idoc named like DEBMAS?
    vendor master data idoc as cremas?
    any German abbreviation or English abbreviation behind this will be appreciated.
    thanks & regards
    Raja
    Message was edited by:
            Raja

    To my knowledge I do not think that the naming has anything to do with the German translations since in German:
    Customer = Kunde and
    Vendor     = Verkäufer....
    However the naming has some connection with the Business Case behind customers and vendors. In SAP, a customer is a business partner whose account you debit for money, hence the name DEBMAS and a vendor is a business partner whose account you credit money, hence the name CREMAS.
    PS: Reward points and close the question if you find this helpful.
    Regards.

  • Itegration with Websphere Message Broker and Customer Master IDOC

    Hello All. I am new to this forum. I have a couple of questions.
    What I am trying to do: I have to interface to SAP with Websphere Message Broker which has inbuilt nodes to interface with SAP using BAPI or ALE to send Customer Master Record (create/update/delete)
    The questions I have:
    1/ Has anyone done this? What did you use BAPI or ALE?
    2/ When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    Thank you

    Hi;
    Similar issue has been answered at -Steven Chan blog*
    From blog:
    Hello, RM,
    I have not seen any Oracle-produced documentation along those lines. I don't think there are any Oracle teams that are investing in producing documentation for IBM WebSphere.
    I would suggest contacting IBM to see whether they have produced any WebSphere-specific documentation.
    Regards,
    Steven
    Referance:
    http://blogs.oracle.com/stevenChan/entry/ebusiness_suite_release_1211_now_available
    Ps: You can rise SR for your issue also
    Regard
    Helios

  • Creating new material using i/b MATMAS IDOC

    Hi mates,
    I'm trying to create a material in R/3 using an inbound MATMAS IDOC. The material type I use is confiugured for internal number assignment. So, I'm leaving the E1MARAM-MATNR blank.
    But, the IDOC failing saying 'No Material Transfered'.
    I'm using '005' for the field MSGFN in E1MARAM, E1MAKTM, E1MARMM etc. Is this the right value?
    I'm trying to create a material with only the basic view data maintained.
    Whats wrong/missing in my config?
    I appreciate ur inputs.
    thx in adv
    praveen

    Hi Praveen,
    Use WE19 transaction to execute the function module IDOC_INPUT_MATMAS01.
    Use different values for the MSGFN field and check it
    Regards
    Arun

Maybe you are looking for

  • SQL Query failure in Webdynpro application involving GP

    Hi, In one of the WDJ applications I am using, there is creation of GP instance involved and within the callable object of GP, back end connectivity is obtained through RFC. This application is not working properly and when I took traces of the same,

  • Newbie need help with Web BEx setup!

    Out of curiosity, I decided to install Netweaver so I can have a play with it. I am a complete newbie to Netweaver therefore I apologise if this is out of context... Here's my question: How do one go about getting Web BEx to work? Whenever I activate

  • Building JDK 1.4.2.13 in Windows

    I am trying to build JDK 1.4.2.13 in Windows. I am using Windows XP (instead of NT) and is the only difference from the informaiton given in build instructions document part of JDK 1.4.2.13. I am trying to build a JRE package from the JDK source whic

  • HT1933 Why can't I move and scale pictures for the back ground

    I try to make my personal pics the screen saver and it doesn't let me move and scale it so it fits the screen.... The old system worked but this one doesn't. It gives me the option but I can't do anything.

  • InDesign crashing on save as file size passes 4GB; loading error 6, HELP!

    I am working with some large files in InDesign. Today, about 5 or 6 times, when my INDD file passed 4.25GB it would crash. It would say that it was a loading error 6 or something like that. Multiple reports have been sent. Once it crashes, it becomes