How to trigger IDoc CLFMAS after saving in transaction MM01 OR MM02

HI,
whenevr a characterististic for a material is created or changed in transaction MM01/MM02 , idoc clfmas should be triggerred with the characteristic values.
whenevr we save in transaction mm02, a user exit EXIT_SAPLMGMU_001 will be called from where v need to trigger the idocs.
Can anybody suggest me how do i trigger the idoc from the user exit
Its urgent
thanks ,
loveena

Hi,
You can use any of the FMs in the user exit as per your requirment direct or SMD to trigger the idoc   
CLA1_CREATE_CLFMAS           
CLA1_CREATE_CLFMAS_DIRECT    
IDOC_INPUT_CLFMAS            
MASTERIDOC_CREATE_CLFMAS     
MASTERIDOC_CREATE_CLFMAS_BY_OB
MASTERIDOC_CREATE_REQ_CLFMAS 
MASTERIDOC_CREATE_SMD_CLFMAS 
Regards.

Similar Messages

  • How to trigger IDOC in a batch job?

    hi,
    My requirement is that a batch job must run on R/3 side to check if bank data are created or changed.Any creation or update in table BNKA will trigger an IDOC
    If a record is created IDOC BANK_CREATE01 should be triggered and
    If a record is changed/deleted IDOC BANK_CHANGE01 should be triggered
    A background program should run periodically (every hour) and check the table CDHDR for object class BANK.
    The program must check if any new entry exist in the table since the last run.
    New records can be identified according to the fields UDATE and UTIME.
    According to the change indicator (CHANGE_IND) the program will determine if the IDOC_CREATE (changeID=I) should be run or IDOC_CHANGE (changeID=U or D).
    If change ID=D, then deletion indicator will be set in the CHANGE IDOC.
    Can anybody tell me how will i write the code for this and how to trigger IDOc as i very basic knowledge in ABAP
    Thanks & Regards,
    Loveena

    hi
    whenever changes made to an application document.u want to replicate these changes in target system u have to work with cahngepointers
    RBDMIDOC is the program which u have to schedule background
    regards
    Nagesh.Paruchuri

  • How to trigger IDOC'S from SAP

    Hi All,
    How to trigger IDOC's from SAP(ECC 6)..where can we check this in mii 11.5 weather it is fail/success
    Thanks,
    Abhi

    You can trigger LOIPRO, LOIPLO and a few others manually from POIT (SAP Txn).  Master Data related to orders can be triggered from POIM.  Depending on which IDocs you which to generate, there are other transactions to trigger different IDocs.
    You can also use Triggers from MII to generate IDocs in SAP using CLOI_DOWNLOAD_TRIGGER_MDAT (POIM equivalent) and CLOI_DOWNLOAD_TRIGGER_TRANS (POIT equivalent).
    There is also a rather nice post which detailed the process of using change pointers to automate the IDoc generation and download, but I am having trouble finding it.  Will continue to look and will post link when I find it.
    Regards,
    Mike
    I couldn't find the post I was looking for, but there is an informative note 390635 which may help.
    Edited by: Michael Appleby on May 5, 2009 1:29 PM

  • Fields are still in EDIT mode even after Saving the Transaction in UI

    Hello Experts ,
    We are facing one problem in UI .
    We have added the BLOCK " Subject" in Complaint transaction ( BT120H_CPL) .
    We are able to fill the data in the fields for subject block like " Code, Code Gruppe etc, but even after saving the transaction these fields are in Edit mode .
    Can anyone give some pointers/solution to this ?
    Regards
    VB

    Hello,
    if the fields are in Edit mode or closed is controlled by the attribute VIEW_GROUP_CONTEXT of the controller class (*IMPL).
    There are also methods to change this VIEW_GROUP_CONTEXT depending on the requirement like "DISABLE_VIEW_GROUP_CONTEXT".
    But as i understood you correctly you do not have a own developed view but a SAP standard view. In this case i would create a OSS-Message for the issue.
    But feel free to do some debugging on this VIEW_GROUP_CONTEXT.
    Best regards
    Manfred

  • How to trigger idocs(outbound)

    Hi SapAll.
    here i just created a sample idoc to file scenario in SAP-NETWEAVER-XI/PI7.0 ,i just want to know on how to trigger the list of idocs that i explained below at sender SAP-R/3 side  .
    MATMAS.MATMAS05
    SRVMAS.SRVMAS01
    CREMAS.CREMAS04
    ACC_EMPLOYEE_EXP.ACC_EMPLOYEE_EXP02.
    will be waiitng for a good and quick answer.
    bye.
    regards.
    Varma.

    BD10 for Matmas
    BD12 FOR cremas
    BD14 FOR DEBMAS
    BD16, BD18 etc..
    And once the IDocs are generated use the program RSEOUT00 to push them out.

  • How to trigger Idoc?

    Hi,
       I did all design and configuration steps and ALE configuration steps for Idoc to file scenario. Can any one tell me how to put idoc that this scenario should work??

    Hi Pavani,
    WE19 -> u can enter either basic type or message type.
    click on create
    go to menu object->edit control record
    there give the receiver system paramters and source system parameters
    after that double click on idoc segments, window opens with all the fields, give data and click on Test Idoc outbound processing.
    check the status in we02.
    Regards,
    Ravi.

  • How to trigger idoc using commnad line?

    Hi abap gurus,
    anyone knows how we can trigger idoc using commnadline like STARTRFC.EXE.
    Please let me know its very urgent.
    Thanks,
    Jack.
    Edited by: Alvaro Tejada Galindo on Feb 15, 2008 2:34 PM

    solved on my own

  • How to trigger idocs when GR is done

    Hi Guru's
    Need to trigger idoc's when GR(Goods Receipt by Order(Supplier))is done(Idoc type: DELV01, Message type WHSORD).
    How can this be done for MIGO as there will not be any output type for MIGO.
    (EXample for sales order we do have output type to trigger idocs)
    Thanks!

    Hi Prince,
    As mentioned earlier, you can configure output type for ME (Inventory Management) in transaction NACE. You can copy existing WE01 output type and configure your custom type for your suppliers(vendors).
    You or functional team has to set up a procedure in NACE transaction to automatic determination of your newly configured output type.
    Once you are done with output type configuration, you need to maintain partner profile for your related vendors in transaction WE20. You need to maintain outbound parameters like partner type, role, message type, etc in partner profile.
    I think now you are ready testing. Good luck!!
    Regards,
    Pranav

  • Dictionary Search Help - how to trigger an event after F4 help

    Hi,
    I been searching the web lately to find a way to trigger an event after using the F4 input help.
    Here is an example of what I would like to do:
    - I have a WD form with a inputfield in it.
    - The input field is bound to datalement "LIFNR".
    - In my context I have specified the Input Help Mode to "Dictionary Search Help"
    - And the Dictionay Search Help is set to "KRED"
    A user will the click on F4 to start the Search help, then pick a LIFNR and the WD inputfield wil be filled.
    What I want is to trigger an event when this is happening.
    Does anyone have som tips or guides for me regarding this problem?
    Thanks in advance! =)

    Hi Mathias Hagen
    Actually there is no straight way of doing this , but still you can trigger a event in F4 search help ...  below is very informative blog to trigger the F4 search help by chris
    Firing a WDA event on using a Search Help - how to do it, without an NDA
    regards
    Chinnaiya P

  • Which trigger is raised after saving the details entered  in the block

    Hi,
    I am creating a form which should allow user to create tables by providing tablename , columnname and columntype. For that , I have a temporary table named NEWTABLE with columns named TABLENAME , COLUMNNAME and COLUMNTYPE.
    Upon running the form, the user enters TABLENAME , COLUMNNAME and COLUMNTYPE . Which trigger gets fired after all those records are inserted into that table. I tried using POST-INSERT but it is firing after each and every record gets inserted into the database table.
    Could u suggest the trigger name or else could u suggest any alternate method to perform that task .

    Use the classic key-commit trigger.
    Write there the following:
    post; -- this does insert/update/delete for the records in the form's data block
    after which you should call a stored procedure that receives as params the column names and column types in pl/sql tabels, plus the table name for the table to be created and does:
    'execute immediate create table ...'
    Still, it's quite unusual to create DB objects from forms. What if you need to indicate the tablespace? And what about indexes? What if you need partitions?
    Normally tables are to be created by developers and/or DBAs, not just any user, and those would use different tools (not Forms!), the most simple being SQL*Plus.

  • How to Trigger IDOC for GR in SAP?

    Hi Gurus,
    I am making the configs for triggering an IDOC whenever a GR document is posted. Could you please advice on what are the configs need to be done and also on the Message type for the Idocs on the same?
    Thanks in Advance,
    Saakithyan

    It is possible.But you need to maintain output condition record to trigger idoc once GR is posted.
    Check below Idoc message types this may help your requirement
    MBGMCR01     BAPI Posting of goods mvts with MB_CREATE_GOODS_MOVEMENT
    MBGMCR02     Post goods movements with MB_CREATE_GOODS_MOVEMENT
    MBGMCA01     Reverse goods movements with MB_CANCEL_GOODS_MOVEMENT

  • How to process idoc auto after material creation

    i have some requirement in idoc,
    the idoc should be process auto after creating material using mm01,
    after creating material using mm01 it should be transfer to receiver system using idoc,
    please help me out
    thanks in advance

    Hi,
    This is a generic question and you should check first ALE configuration guide.
    Further on the you need to configure the IDOC sending mode in the partner profiles ( WE20) - Message type.
    Example screen shot>
    Thanks,
    Kiran

  • How to trigger an SMS after creation of Activity / Interaction Record

    Dear Experts,
    Our Client requirement is to trigger an SMS immediately after creation of an Interaction Record. I want to define an Action for this.
    But what processing type should I use for SMS, (like Method Call, Smart Forms Mail / Fax / Print and Workflow). We are using an external service provider domain to send SMS to our customers. It has been configured in SCOT.
    But from CRM configuration front there is no specific processing type for SMS. then how system reads telephone number from the BP master.
    Kindly help me to resolve the issue, your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    Raghu,
    In your case you could copy a "print" action method class and create a z-version.  Then modify the print action method so that the smartform output triggers a call to your output type.
    Or you could just code a new method that creates a new BCS send request using the CL_BCS document and your output type.
    It just depends on how whether you want to use smartforms to build the message or build it in some other method.
    Take care,
    Stephen

  • Trigger IDoc DELVRY03 after Inbound Delivery create

    Hi,
    Inbound delivery is created through an Inbound IDoc and I want to trigger an outbound DELVRY03 IDoc when the Inbound Delivery is created.
    How do I trigger this?
    Regards,
    Sneha

    You have to setup output control,let me say one example
    when you create delivery ,then immeditely output type will trigger LD00,you need to set up partner profile ,according to that outbound idoc will trigger.

  • CS02 - trigger a mail after saving

    Dear Sapians,
      I come through a requirement in which , i have to trigger a mail to authorized user with detail of changes done in CS02 by unauthorized user.
    I got a BADI 'BOM_UPDATE'  'CHANGE_AT_SAVE'.
    And as per my understanding change detail are in table CDHDR and CDPOS.
    And in above table data is loaded after CS02 is saved.
    So, no detail of recent changes done is reflected in CDHDR and CDPOS .
    So, I am looking for some USER-EXITS or BADI , which help me out in this scenario.
    Scenario is :--
      a).
          When changes are done in CS02 by some UNAUTHORIZED USER, changes has to be verified by AUTHORIZED USER, so change detail has to be send to AUTHORIZED USER.
    Awaiting for your reply
    Thanks,
    Jeet

    Dear Vivek,
      You are very correct .
    Sorry for not discussing the whole scenario.
    Actually , If some unauthorized user gas done some changes in CS02  than BOM Status is to be '2',
                    so mail is needed to ask authorized user permission to set BOM status '1'.
    But in the same time , authorized wanna know what changes are done. and changes are recorded in cdhdr and cdpos tables which is updated after after bom is saved not in between.
    That why mail is needed.

Maybe you are looking for

  • Journal entries in Data Transfer workbench

    Hi all When I try to Upload journal entries with debits and credits using data transfer workbench I get an error says Unbalanced transaction. I tried lot of things to change but still no go. can someone guide me with this data migration thanks vinodh

  • Problem in file attachment functionality in ERP.

    Problem in file attachment functionality in ERP in Invoice Workbench and PO documents. The error is Page Not Found. Regards Sridhar

  • Retouch - What does it do?

    Can anyone tell me what Retouch actually does apart from blur the photo? Are there any settings to change what it does?

  • Solaris 10 sparc boot dvd

    Hi, i need to make standalone jumpstart bootable solaris 10 sparc dvd but i have some problems with the new installation process. i readed all the scripts in the boot process but i don't now what i need to change and where i need to change it in orde

  • Document not sent error

    Hi all, I am using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send the file to external address. It worked fine on dev and after transporting to Q, the same prog is failing and giving the error as DOCUMENT NOT SENT. I tried to debug the FM also to under