IDoc trigger at customer creation

Dear Gurus,
I have developed a custom IDoc. Now i want to send this customer master IDoc to the legcy system whenver a new customer is created or existing customer is modified.Ive sent IDoc from BD12,it is working fine,now i want to send it at runtime.Is there any customizing part required to trigger the IDoc at creation if the customer master record ???
please help me out.
Reward points for helpful answers.
Cheers,
Deepthee Kasal

Hi Deepthee
Please correct me.
U need that a idoc will be created in one system and this idoc will go to legacy system. Now are these both systems SAP. Or which is sap and which not.
If the system is non sap and legacy is sap, then a XML file is sent from non sap and this is converted to idoc (DEBMAS) and processed in SAP and created or change customer master.
Now if there is some sap system and it will create idoc after cration of customer and send to non sap to update. SAP doesnt provide o/p determination on customer masters. Here wyou will define a new idoc type use copy of DEBMAS and then create a idoc in sap for this and convert to XML and sent to legacy.
Hope this helps
Kind Regards
Sandeep

Similar Messages

  • Problem in INVOIC02 Idoc trigger for Customer

    We are trying to issue outbound invoices( Message type INVOIC / basic type INVOIC02) to the customer.
    We have configured the output type ZINV in NACE and are using while creating the invoice.
    This Customer is configured in the KU  partner types thriugh WE20.
    But when we try to create the invoice from VF03 and save for the output type then IDOC doesnt get trigerred.
    Whats missing ?
    Regards.

    Hi Amber,
    Then you click enter button.It is asking to create object with that include name ZXBC425G01U01 in a pop-up.You  should select YES option.It will ask package . Give the package name and save.Then include program is created and allowed you to write your own code.
    Thanks,
    Prasad GVK.

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • How can we trigger an IDOC based on Orders creation.

    Hiii...experts,
                            After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
    If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
    when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
    And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
    so, how can we trigger an IDOC based on Orders creation..
    pls help.
    Ram.

    Use IDOC_OUTPUT_ORDERS for creating IDOC
    you need to maintain condition records & output type
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM

  • Auto Trigger DEBMAS IDoc for a customer change

    Hello Experts,
    I have a business case where in I need to auto trigger the DEBMAS IDoc when ever customer details are changed. What is that I need to do in SAP to trigger the IDoc automatically.
    Please help
    Thanks in Advance,
    Suma

    Hello Suma,
    Please follow this.....
    Automatic generation of IDOC when we change the MASTER DATA:
    Change Pointers:
    Change documents are working based on change document technique which
    tracks changes made to the key documents (Material Master, Customer Master,
    Vendor Master.Etc) in SAP.
    Changes made to the keydocuments are recorded in the change document Header
    table i.e. CDHDR and Item table CDPOS, Additional change pointers are written
    in the BDCP and BDCPS tables.
    Change pointers technique is used to initiate the outbound process automatically
    when master data is created or changed.
    A standard program RBDMIDOC is sechuled to run on periodic basis to evaluate the change pointers for a message type and starts the ALE process for distributing the Masterdata to the appropriate destination.
    'Object' is collection of fields of different database tables. T.code for creating an object
    is SCDO.
    Configuration for Change Pointers:
    1. BD61 Active change pointers generally
    - Check the checkbox "Change pointers activated -generally"
    - Save it
    2. BD50 Active change pointers for Message Type
    Message Type Active
    DEBMAS Check the check box
    3. BD52 Maintain Table Views
    Enter the Message type "DEBMAS" and press enter.
    For example
    OBJECT TABLE NAME FIELD NAME
    DEBI KNA1 NAME1
    5. WE21 Port
    6. WE20 Partner Profile
    7. BD64 Distribution Model
    Use RBDMIDOC program.for executing this program we need to give message type like
    MATMAS or
    DEBMAS or
    CREMAS
    depending on your requirement.
    go to SE38 tcode Maintain variants then use the same back in scheduling.
    STEPS IN BACKGROUND SCHEDULING:
    Use tcode SM36
    Click Job wizard in the button set
    Click Continue
    Enter Job name and press continue
    Select ABAP program and press Continue
    enter Program name and press continue
    and again press Continue
    set Schedule type immediately and continue
    Select periodic job checkbox, press continue
    Select none of the above and click on other periods – give one-minute and then press create
    Press continue and then press complete.
    Hope this resolves your issue....
    please reward if helpful...
    Thanks,
    Sree

  • IDOC trigger using Z change pointers for standard SAP table

    For IDOC trigger, is using custom change pointers on standard SAP master data tables, a good idea? A seasoned abaper told me "it will mess with the standard" and further told to go with scheduled job.
    So, for example, say that my data for table T001K is updated via transports in PRD and I need to transfer this updated data via IDOC to an external system. Since there is no standard message type for this data, I will create a new one. Further, I will create a new change pointer for table T001K (it already has six fields with their data elements activated for Change Documents). Then I link the message type and the new change pointer. And so on an so forth. I have followed the procedure given here:SAP Tips: A to Z of Custom Change Pointer
    Now, the question is, will this be a good idea to capture data and trigger IDOC? Or a batch program with calls to standard FM to read CDHRD/CDPOS be a more suitable option.
    I need to know if a near instantaneous data transfer (and an effecient one as far as the system performance and reliability is concerned) can be acheived. If there is any other way of doing this, I am not aware of it!
    Any one has any input/experience on this?

    Hi Viktor,
    I think the batch program approach would be a good solution as the by this way you are taking matter into your own hands rather giving control to the SAP framework because you may have to test out the other approach as to how the standard SAP framework is behaving for custom change pointers.
    Thanks,
    Ravi

  • Automation of idoc collect  during customer planned system outage

    Hi All,
    In our landscape we are dealing with customer through IDOCs , now  we have preplanned system outage of customers  and  every customer has its own planned downtime . Now we want to collect the idoc for the customer
    during their downtime and trigger after the downtime . Can we automate this process to collect the idoc during the specific time and then the release .
    Has anyone tried to change the partner profile (automated) during specific time to put  idoc in collect mode and then trigger immediatly as most of the planned downtime is in night an no one around for changing this ?
    Thanks in advance
    Regards
    Vijay

    I found a thread about this.

  • How to restrict Duplicate Customer Creation in SAP

    Dear all,
    How can we restrict duplicate customer creation in SAP SD.
    We are into retail sector, across the store customers are being created by different employees.
    in this way for many customers more than one business partner records are being created.
    we are looking for a sytem wise functionality to restrict the customer master creation (for Sold to party only) if name1, telephone number and street field values are same, then system has to stop customer creation by giving an error message.
    Is there any standard functionality to address these requirement. If so how could we configure it.
    Any of you can help us to solve the issue. your solutions and help will be highly appreciated.
    thank you.
    Raghu ram.
    Edited by: Raghu Ram on May 26, 2008 5:34 PM

    Hi,
    2 solutions :
    - Procedure manually (no SAP) ;
    - Use extension SAP (SMOD : SAPMF02D) to check with differents data before recording.
    No solution in standard.
    Regards,
    Lionel

  • CRM E-Commerce BOB Web shop - Duplicate check for New Customer Creation

    Hi,
    In CRM E-Commerce BOB Web shop we have a requirement wherein new customer creation should go through a duplicate check. Only unique customers should be created as BP in backend GUI, in case a customer already exists with the same credentials, BP should not be created and user should get a message that the customer already exist in the system.
    Currently the system is not preventing me from creating new customers with same credentials.
    In case anybody has worked on the similar requirement or has any idea about the same, Kindly help.
    Regards, Vipul
    Edited by: vipul_kumar02 on Jun 21, 2011 4:20 PM

    Hi,
    Any pointers for function module used for creation of a new BP for a new customer request in BOB Web shop?
    Is it same as B2C Web shop?

  • Customer Creation - Want to pass custom field data to KNA1(Customer Master)

    Hi,
    I have created BAPI for customer creation which uses standard program RFBIDE00 for customer creation.
    I have appended new custom field(ZZATTR1) in the table KNA1 and its currosponding stucture used in the standard program BKNA1.
    Import parameters of my BAPI is one structure which is having this custom field, on executing this BAPI it creates the customer but data which I give through this field is not getting transfered in the table KNA1.
    This sstandard progaram uses file to containing customer information, In the BAPI I on the data from the structure to the file and further it gets submitted to the program.
    My requirement is to pass the data of teh custom field which I have created, How to achieve this ?
    Pls Suggest.
    Regards
    Vishal

    Hi Vishal,
    When implementing a customer exit (i.e. field, user etc) have you ever wanted to be able to read additional
    field values available in the main SAP program but not available in your exit. Now with the use of
    field-symbols you can have access to any field available in the main SAP program. The code below
    demonstrates how this is done within a field exit on BSTNR which can be tested using transaction
    ME21. Information on creating field exits can be found here. 
    FUNCTION field_exit_bstnr.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(INPUT)
    *"  EXPORTING
    *"     REFERENCE(OUTPUT)
    create field symbol
      FIELD-SYMBOLS: <status>.
    Assign value of variable from calling prog to field symbol
      ASSIGN ('(SAPMM06E)RM06E-BSART') TO <status>.
    Display value retrieved in message
    Note: Messages of type i and w are not allowed
      IF sy-subrc = 0.
        MESSAGE e003(zr) WITH <status> 'kkk'.
      ENDIF.
    ENDFUNCTION.
    Rewords some point if it is helpful.
    Rgds,
    P.Naganjana Reddy

  • FIDCCP02 IDOCs : Details for Customer Invoice Clearing

    We are planning on using FIDCCP02 IDOCs to post customer invoice clearing.
    The IDOC gets created however when we check the IDOC status, it states that "Document does not contain any valid line items
    Message no. F5079"
    Can someone please let me know which segments and what fields we need to populate specifically for Invoice Clearing?
    We are populating the following segments:
    E1FIKPF
    -- E1FISEG
        ---E1FISE2
        ---E1FINBU
    --E1FISEC
    --E1FISET
    EDIDD     Data Records     
    SEGNUM     Segment Number                          000001
    SEGNAM     Segment Name                          E1FIKPF
    BUKRS     Name of global company code     ABCD
    BELNR     Accounting Document Number     3510452953
    GJAHR     Fiscal Year                                                2011
    BLART     Document Type                           AB
    BLDAT     Document Date in Document     20110329
    BUDAT     Posting Date in the Document     20110329
    MONAT     Fiscal Period     3
    WWERT     Translation Date                          20110329
    USNAM     User Name                                                TEST
    TCODE     Transaction Code     FB05
    WAERS     Currency Key     USD
    GLVOR     Business Transaction     RFBU
    AWTYP     Reference Transaction     BKPFF
    SEGNUM     Segment Number     000002
    SEGNAM     Segment Name     E1FISEG
    BUZEI     Number of Line Item Within Acc     001
    BSCHL     Posting Key     40
    KOART     Account Type     S  : G/L accounts
    SHKZG     Debit/Credit Indicator     S  : Debit
    DMBTR     Amount in Local Currency     42.79
    HKONT     General Ledger Account     0000113434
    SEGNUM     Segment Number     000003
    SEGNAM     Segment Name     E1FISE2
    SEGNUM     Segment Number     000004
    SEGNAM     Segment Name     E1FINBU
    KUNNR     Customer Number 1     0060000006
    PYCUR     Currency for Automatic Payment     USD
    PYAMT     Amount in Payment Currency     42.79
    SEGNUM     Segment Number                          000005
    SEGNAM     Segment Name                          E1FISEC
    BUZEI     Number of Line Item Within Acc     001
    SEGNUM     Segment Number                          000006
    SEGNAM     Segment Name                          E1FISET
    EDIDS     Status Records     
    EDIDS     Status Record Number     1
    Thanks

    We are planning on using FIDCCP02 IDOCs to post customer invoice clearing.
    The IDOC gets created however when we check the IDOC status, it states that "Document does not contain any valid line items
    Message no. F5079"
    Can someone please let me know which segments and what fields we need to populate specifically for Invoice Clearing?
    We are populating the following segments:
    E1FIKPF
    -- E1FISEG
        ---E1FISE2
        ---E1FINBU
    --E1FISEC
    --E1FISET
    EDIDD     Data Records     
    SEGNUM     Segment Number                          000001
    SEGNAM     Segment Name                          E1FIKPF
    BUKRS     Name of global company code     ABCD
    BELNR     Accounting Document Number     3510452953
    GJAHR     Fiscal Year                                                2011
    BLART     Document Type                           AB
    BLDAT     Document Date in Document     20110329
    BUDAT     Posting Date in the Document     20110329
    MONAT     Fiscal Period     3
    WWERT     Translation Date                          20110329
    USNAM     User Name                                                TEST
    TCODE     Transaction Code     FB05
    WAERS     Currency Key     USD
    GLVOR     Business Transaction     RFBU
    AWTYP     Reference Transaction     BKPFF
    SEGNUM     Segment Number     000002
    SEGNAM     Segment Name     E1FISEG
    BUZEI     Number of Line Item Within Acc     001
    BSCHL     Posting Key     40
    KOART     Account Type     S  : G/L accounts
    SHKZG     Debit/Credit Indicator     S  : Debit
    DMBTR     Amount in Local Currency     42.79
    HKONT     General Ledger Account     0000113434
    SEGNUM     Segment Number     000003
    SEGNAM     Segment Name     E1FISE2
    SEGNUM     Segment Number     000004
    SEGNAM     Segment Name     E1FINBU
    KUNNR     Customer Number 1     0060000006
    PYCUR     Currency for Automatic Payment     USD
    PYAMT     Amount in Payment Currency     42.79
    SEGNUM     Segment Number                          000005
    SEGNAM     Segment Name                          E1FISEC
    BUZEI     Number of Line Item Within Acc     001
    SEGNUM     Segment Number                          000006
    SEGNAM     Segment Name                          E1FISET
    EDIDS     Status Records     
    EDIDS     Status Record Number     1
    Thanks

  • I am trying to trigger a custom event using a program but does not work ..

    HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
    below is the code...
    {Key = '0010001115'. "Sales Order Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = 'ZXXXXXXXF'
        objkey                        = KEY
        event                         = 'ZEVENT'
      CREATOR                       = ' '
      TAKE_WORKITEM_REQUESTER       = ' '
      START_WITH_DELAY              = ' '
      START_RECFB_SYNCHRON          = ' '
      NO_COMMIT_FOR_QUEUE           = ' '
      DEBUG_FLAG                    = ' '
      NO_LOGGING                    = ' '
      IDENT                         =
    IMPORTING
      EVENT_ID                      =
      RECEIVER_COUNT                =
    TABLES
      EVENT_CONTAINER               =
    EXCEPTIONS
      OBJTYPE_NOT_FOUND             = 1
      OTHERS                        = 2}
    Please guide me if i am missing something.

    Hi Sunny,
    I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             =  'ZXXXXXXXF'
        OBJECT_KEY              = key
        EVENT                   = 'ZEVENT'
    *   COMMIT_WORK             = 'X'
    *   EVENT_LANGUAGE          = SY-LANGU
    *   LANGUAGE                = SY-LANGU
    *   USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    IMPORTING
       RETURN_CODE             = rcode
       EVENT_ID                = event_id
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    Regards,
    Saumya

  • PROBLEM IN CUSTOMER CREATION

    hi
    friends
             when i am creating customer master data by xd01 an erros is coming----
    Sales area INSO ID CP is not defined for customers
    this is my sales area
    i have checked all set up
    sales organisation to distribution channel
    sales organisation to division
    set up sales area
    even in database table TVTA entry is there
    also customer creation screen if i click all sales area tab i sales area is not appearing
    though it is coming
    but it is allowing me to creat customer under company code view through fd01.
    i am working in ecc 6 version this is totally new system & i am configuring sd module 1st time.
    plz give some quick solution 
    ambarish

    Dear Ambarish,
    The Enterprise Structure Configuration you have already checked & as mentioned by you, it sounds to be appropriate.
    As per my understanding, you are facing an issue with Sales Area Tab Pages. There are 2 recommendation, which I can suggest:
    1. Check the configuration setting in VOR1 & VOR2, & ensure that the distribution Channel & Division are maintained appropriately for the Sales Organization.
    2. Also ensure to check Account Group setting:
    2.1.1     Account Group
    2.1.1.1       Maintain Number Range for Account Group
    Use
    The purpose of this activity is to control number range of Account Group.
    Procedure
    Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for Creating Customer Master Data --> Create Number Ranges for Customer Accounts --> Select the Icon to maintain Number Range
    Transaction Code: SPRO
    Data to be maintained:
    No | From      | To | Current No | Ext (Tick in Check Box)
    01 | 0000000001 | 0000099999 | 0 | No
    02 | 0000100000 | 0000299999 | 0 | No
    XX | A | ZZZZZZZZZZ |      Yes
    2.1.1.2       Assign Number Range to Account Group
    Use
    The purpose of this activity is to maintain number range of Account Group.
    Procedure
    Access the activity using one of the following navigation options:
    IMG > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Assign Number Ranges to Customer Account Groups
    Transaction Code     : SPRO
    Data to be maintained:
    Group | Name | Number Range
    0001 | Sold-to party | XX
    0002 | Goods recipient | XX
    0003 | Payer | XX
    0004 | Bill-to party | XX
    2.1.1.3       Define Account Groups with Screen Layout (Customers)
    Use
    In this step, you determine the account group of the customer.
    Procedure
    Access the activity using one of the following navigation options:
    IMG > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Define Account Groups with Screen Layout (Customers)
    Transaction Code     : SPRO
    The groups indicated below are a few examples. There are many groups in Standard SAP & if we require additional Group, it can be copied from appropriate group & maintained.
    Group | Name
    0001 | Sold-to party
    0002 | Goods recipient
    0003 | Payer
    0004 | Bill-to party
    0005 | Prospective customer
    0006 | Competitor
    Select Sold-to-party > go to Details > Double Click on General data / Company code data / Sales data. It will take to next screen which details Tab Pages of General data / Company code data / Sales data. Double Click on Tab Page for example: Address, Control, Marketing & so on. Here you can maintain whether the field is to be Suppress, Req. Entry, Opt. entry or Display
    IS THIS MANDATORY IN TOTALLY NEW SYSTEM WHEN I WILL BE CREATING ENTERPRISE COMPONENT ALAWAYS I NEED TO COPY ? BECAUSE WHEN I AM COPYING IT FROM STANDARD IT IS PERFORMING AS PER EXPECTION
    It is not Mandatory, but a recommended Practice. The Advantage is when we copy from Standard, by default it updates all relevant table, which sometimes misses out if we are creating without using copy functionality.
    Regards,
    Rajesh Banka
    Edited by: Rajesh Banka on Jun 28, 2008 9:08 PM

  • File to IDOC scenario: Create customer master and then return customer no

    Hi all.
    I have a scenario to pass xml file to sap XI to generate IDOC to create customer master in SAP. My problem is that I need to return customer no. created in SAP from IDOC. Is there any solution to do this? Someone told me that BPM could be used for doing this but I don't know the steps.I have no problem in create customer master in SAP. My only problem is how to return customer no.  Any help would be appreciate. Thank you.
    Best Regards,
    Pavin

    >>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

  • IDOC script in custom element forms

    Hi,
    I am using Site Studio 10gr4.
    I was wondering if its possible to use IDOC script inside custom element forms. What I want to acheive is to display a combox box inside a custom element in a static list. The values inside the combobox are retreived from one of the views (created inside Configuration Manager in the content server).
    Your help will be appreciated.
    Many Thanks

    OK, I found the answer :).
    I checked in the custom element element form as an HTM. Chaning it to HCSP fixed the issue :).

Maybe you are looking for

  • Hi, I want to know how many can you hace with the dame id?

    Hi I have a friend, who I would like to share my ID with, but I don't know if there is a limited amount of devices you can use with the same account. Could you please tell me.

  • How to run stored procedure in DOS command line????

    Hi, I want to run a stored procedure in DOS command line? (My_Stored_Procedure is the stored procedure that I want to run ) This is what I did in DOS prompt C:\>sqlplus scott/tiger exec lMy_Stored_Procedure <Return> Obviously it is NOT working. Pleas

  • Where has my Itunes content gone?

    I opened itunes today and many things were gone i.e. all apps and podcasts, and all of my playlists have gone.  when I plugged in my iphone to itunes it also showed no apps ,podcasts music. what could be wrong?

  • Can "notes" be organized alphabetically"

    Can notes be organized in alphabetical order ... or do they appear only in the order in which they are created? Thanks

  • Urgent- returnable packaging issue

    Hi guys, am working on returnable packaging issue Scenario:If the customer does not returns the preslings then sales order is created for presling and issued to customers with proper invoicing am creating a sales order with order type CLN(customised