Create Outbound  extended IDOC for venodr create & change (XK01 & XK02)

Dear all,
My requirement is as below:
I have to populate an extended IDOC of the standard IDOC CREMAS in the following cases.
1. When a new vendor is created from XK01 with classification characterstics value for supplier status as 'YES'.
2. When a vendor is changed by adding a partner function OA in the partner function.
3. We have to purposefully fail the IDOC when the partner function OA is deleted in XK02 transaction.
4. We have to purposefully fail the IDOC when the main vendor is blocked or deleted(XK05 or XK06).
Since i am new to IDOC, i tried many things but its not working.
I tried by the change pointer method for the standard IDOC but it will create the IDOC in all cases which we don't want it should be created only when supplier status is 'YES' and new partner function OA is created.
Regards,
Manjunath

hi,
I know how to extend an IDOC, but my question is after extending an IDOC i have to populate that outbound IDOC only in some cases.that is when a vendor is created with supplier status as YES, when a vendor is changed by adding an partner function.
I want these checks know where to make these checks before creating an outbound IDOC.i want to knaow a common point where i can make these checks like an exit.
i found 1 exit fo all the cases EXIT_SAPMF02K_001 but in this exit we will have the vendor number because it is exit before save.
Now  i am looking into the FM 'MASTERIDOC_CREATE_CREMAS' in which we have an exit 'EXIT_SAPLKD01_001'.
Regards,
Manju

Similar Messages

  • I want IDOC for Vendor master updation ( XK01 &XK02 )

    Hi
    I want to do LSMW in IDOC method for this vendor updation.
    So I want IDOC for Vendor master updation ( XK01 & XK02 ).
    I want to do both create vendor and change also.
    Regards,
    Ravi
    Edited by: kandukuri ravi on Dec 1, 2008 2:56 PM

    Hi,
        For Vendor Master using IDoc's for LSMW,Use Message Type = CREMAS and Basic Type = CREMAS05.
    For Basic type 01,02,03...05 are versions which includes more fields in basic type so better use latest version.
    Hope it will help you.
    Regards,
    Sudhakar Reddy.A

  • Create directly an IDOC for a sales orders

    HI,
    I would like to know if it exists a program to create an output IDOC for a sales order directly as does the program
    RBDSEMAT for materail / product.
    With RBDSEMAT we give the product's numeber the message type and the logical system.
    Of course before was customizing all the ALE flow.
    But for sales orders (VA02 / VA01) I don't find any program which allow us to have the same function.
    Does this program / function exist? I want juste to give the sales order number  the logical system and the message type.
    Thanks you
    Henri

    Funtion Module IDOC_OUTPUT_ORDRSP is used by standard SAP when output determination is used. I think you can populate the control record and use this function module directly. This will return the IDoc data, but the IDoc will not exist on the Database.

  • Incorrect message type in IDOC for Purchase order change

    Hi Gurus.
    Please advise on below.
    We have several purchase orders that are configured to trigger IDOC upon change. But accidentally, someone has deactiveted the automatic proposal of EDI message type for these Purchase orders which resulted to not transmitting purchase order change documents automatically.
    As a workaround, we have proposed to create EDI message manually during Purchase order change. But upon checking in tcode WE09, message type is ORDERS which is PO create instead if ORDCHG for purchase order change.
    Please kindly advice on why it is behaving like this for purchase orders with EDI message previously deactivated.
    Thanks in advance.
    Acel.
    To simulate.
    Create PO. go to messages, select EDI message then deactivate permanently. Save PO. Release PO if needed. Change PO. go to messages, EDI is not automatically proposed. create EDI message mamanually. Save PO. Release PO id needed. check tcode WE09, for PO create, no IDOC since it was deactivated permanently. For PO change, IDOC was triggered but with incorrect message type ORDERS instead of ORDCHG.

    Hi Acel,
    You will need to check the settings in transaction WE20 - You will be using a Partner Profile to determine the outbound message, either for each vendor or a generic one.
    on the outbound parameters, you will need to ensure that ORDCHG is set up as a message type. If not, add it, ensuring that you use the message ORDCHG, the basic type (or extension) that you are using, usually ORDERS05 and make sure that in message control, you have process code ME02 set up. This should enable the correct message type to be determined.
    Regards,
    Rob

  • Extended IDOC for transaction VL02N : Error 51

    Dear,
    I am Working on Extended IDOC for transaction VL02N (Outbound Delivery) and stuck in Inbound with Error 51: Specifications for units and quantities contain errors VBPOK-MEINS TO LIPS-MEINS MT.
    Message no. VL282
    How to resolve it?
    At Outbound Programmed at EXIT_SAPLV56K_002 and at Receiver did WE57, BD51, WE42, WE20 and using listed below programs.
    Function Module - IDOC_INPUT_DELVRY      - SAP Standard
    Function Type - F (Function Module)
    Basic Type - DELVRY03      - SAP Standard
    IDOC (Enhancement) - ZDELV - Custom
    Message Type - ZDELVRY - Custom
    Process Code      - DELV      - SAP Standard
    Thanks-
    Varun

    Hi varun,
    in SAP you have a few keys that not only have a description depending on language but also the key itself varies from language to language. You can see that if you double-click on a unit field like i.e. MARA-MEINS: On domain level it will show a conversion exit. If you try the conversion exit function modules, you will find out that i.e. PC english pieces will be mapped to internal ST wich comes from the german Stück which is the translation of pieces.
    Be aware that this special logic may apply for document types, partner types and a few more (?).
    So, in IDoc processing this may cause harm. I did not analyze DELVRY03 structure and processing, I don't know any of your data, I haven't seen any line of your code, I don't know what you actually implemented.
    So now it is your turn to check what you pass in the unit fields and how this is handled.
    Regards
    Clemens

  • How do I create a desktop Icon for Adobe create pdf?

    How do I create a desktop icon for Adobe create pdf?

    Hi, ken.
    You can access ExportPDF from your computer more quickly in three ways:
    You can download and install the CreatePDF Desktop Application. More info is here. With this application, you can drag PDF files onto a desktop icon and have those converted to Office files. (If you subscribe to the CreatePDF service, this application will also allow you to create PDF files.)
    You can download and install the newest Adobe Reader and access the service using Reader's Tools Pane on right. Then, any time you have PDF open in Reader, you can (with a couple of clicks) convert that PDF to an Office file.
    You can drag the webpage icon from your browser to your desktop. This will create a shortcut to the ExportPDF website on your desktop. Here are some instructions for doing that using Internet Explorer or Firefox.
    Let us know if you have additional questions or issues.
    Dave

  • Steps to create outbound CREMAS IDOC from ERP

    Hi,
    Can you please share the steps to create outbound IDOC from ERP system?
    Business requirement is that whenever a new vendor is created in the ECC system, SAP should trigger an outbound vendor IDOC CREMAS from ERP system. Also whenever the vendor data is changed then the entire vendor details should be passed to outbound IDOC and not just the delta changes. Change pointer can be configured but to create idoc for full vendor records.
    I guess we can use CREMAS.
    Can anyone please share the steps to configure it in ERP?
    Regards,
    Sandeep

    1. Read the file using OPEN DATASET and read and fill up the segment info and fill the EDIDC header data
    and then call function
    CALL FUNCTION 'INBOUND_IDOC_PROCESS'
        TABLES
          IDOC_CONTROL       =  i_edidc
          IDOC_DATA          =  i_edid4.

  • Userexit for extended idoc for std. idoc WMMBID02 for T.Code MB1A & MB1B

    Hi,
    Which userexit we have to use to populate values in to extended idoc fields of the standard inbound idoc WMMBID02?
    Pls share ur experience.
    Thanks & Regards,
    Balaji

    Hello using this you can find out used user exit
    1.From SE93 get the program name corresponding to the transaction.
    2. then se38 - > enter program name -> attribute -> display
    3. Get the package from here.
    4.  Go to SMOD . Do f4 on enhancement -> information system. enter your package here
    5. You will get the list of all the available exits for the package.
    List could be a long one.Now best thing to do is to sit with your functional analyst. find out approproate exit from the description. put a break-point there. ask functional analyst to run the transaction. if transaction stops at the break point that's the exit you want

  • LSMW Vendor Create /Change (XK01/XK02) by IDOC CREAMS05 for CONTACT PERSON

    Hi Experts,
    Can you Please help me for CONTACT PERSON (create/ change) upload for vendor using the IDOC type CREMAS05.
    which structure is appropriate for CONTACT PERSON in CREMAS05
    Thanks in advance,
    Babumiya Mohammad

    okay, this screen is not active in my system. (are you doing retail?)
    if it is address data, then it is usually transmitted with the ADR3MAS idocs
    this is at least the case for customer contacts.
    Edited by: Jürgen L. on Feb 20, 2012 5:13 PM

  • Unable to Create or Extend customers for some of the co_cds

    Hi Folks,
    We are creating customers for some of the company codes to client org. it has number of company codes. we are able to extend customers Except Italy, Iraq and Nigeria Co_cds. The reason given is that field KNB1_QLAND is not on screen SAPMF02D 0610. This field is for With Holding Tax. Recently we have upgraded to ECC 6.0 version from R/3 4.7. what is cause to not creating customers for some regions.
    Please give some needful suggestions.
    Thanks
    Vinay.

    Hi Vinay,
    It looks like that in the customization "Assign withholding tax type to company code" in SPRO, subject to w/tx is selected in customer master data section. So, system is expecting the relevant informtaion. Check in Customer account group field status (T. code OBD2), the Withholding tax country field might have been set as suppressed. Check it and correct the same.
    BR
    Amitash

  • 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

  • Extended Idoc for Purchase Order

    Hi Gurus,
    I have a requirement to extend a basic idoc type Orders. I know the process of creating a "z" segments and "z" idoc type but where should write the code to process the additional segments for ORDERS.
    ( FOR Master data i can find the Customer exit to process the "z" fields but i don't know where should i write the code to process the transactional data).
    plz let me know u'r knowledge.........
    Regards:
    TMR.

    check in orders out bound process code FM
    there you can find the exit for the smae
    Thanks and Regards
    S.Janagar

  • Outbound EDI IDOCs for G/L document posting

    Hi All,
    I'm trying to generate outbound IDOCs from G/L documents (FB70, FB75 transactions).
    Of course INVOIC IDOC type does not work for this.
    Does anybody know which is the IDOC type for G/L documents?
    Really appreciated any help.
    Thanks and regards!
    Beatriz Balones
    SD and MM Senior Consultant

    Hi
    it means you can use this document type only if you post the document by B.I (It's special usage).
    This characterist is setted in customizing (trx OBA7).
    You should choose another document type or change that configuration if you think it's wrong.
    In my system the flag "Batch Input Only" for SA is space.
    Max
    Message was edited by: max bianchi
    Message was edited by: max bianchi

  • Extended idoc for CREMAS04

    Hi Friends,
    I added custom segments to standard idoc CREMAS04 (i.e., I extended the Standard idoc CREMAS04).
    I want to populate data to custom segments using standard transaction BD14(Send vendor).
    Can you please suggest me what is the USER EXIT name for populating data to custom segments through transaction BD14.
    Iam using message type as CREMAS
    Bye
    P.Kumar

    Hello Praveen,
    There is a BADI available for extending CREMAS: VENDOR_ADD_DATA_BI (as of 4.7) or in previous releases you can use enhancement VSV00001.
    Regards,
    John.

  • Creating a Function logic for dynamically created XML buttons

    Hi!
    It's me...... again! Now I've dynamically created some buttons using XML. They're spread around the stage and I've modified a tooltip script to give each button a tooltip on Mouse_Over. But to se the logic and make it work using AS3 is hard (for me). I want a function that accept to parameters: Tooltip text and  Object to tooltip.
    In my code I get this error msg when initiating the function on dynamically created buttons:
    1118: Implicit coercion of a value with static type flash.display:Sprite to a possibly unrelated type flash.display:MovieClip.
    I beleive there are more than one thing here needing a fix.
    Can someone have a look and give me a pointer?
    Thanks
    function contentTooltip(ttt:String, ttclip:MovieClip):void {
        ttclip.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
        function mouseOverHandler(e:MouseEvent):void {
            ttip.descr.text=ttt;
            ttip.x=stage.mouseX;
            ttip.y=stage.mouseY-15;
            ttclip.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
            ttclip.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
            ttip.visible = true;
        function mouseOutHandler(e:MouseEvent):void {
            ttip.visible = false;
            ttclip.removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
            ttclip.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
        function mouseMoveHandler(e:MouseEvent):void {
            ttip.x=stage.mouseX;
            ttip.y=stage.mouseY-15;
    contentTooltip("Scale button",scale_btn);
    contentTooltip("Hide button",hide_btn);

    I totally agree with what Ned says and suggests. Nevertheless, I would like to support your thinking process.
    From the way you wrote the tooltip functionality it is apparent to me that you conceptualize as a programmer. Again, as Ned said, nested functions are evil. BUT, in a way, what classes accomplish is encapsulation/nesting of properties and functions under the same umbrella. It actually feels that what timeline does in general is nesting named functions within a single function we have no access to.
    How you wrote the code is actually a blueprint for a class that could handle the functionality. You, perhaps, are very ready to start coding with classes - not on the timeline.
    With that said, for the sake of theory, here is how your functionality can be rewritten on timeline:
    scale_btn.toolTip = "Scale button";
    test_btn.toolTip = "Test button";
    hide_btn.toolTip = "Hide button";
    scale_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
    test_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
    hide_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
    var overTarget:MovieClip;
    function mouseOverHandler(e:MouseEvent):void {
         overTarget = e.currentTarget;
         ttip.descr.text = overTarget.toolTip;
         ttip.x = stage.mouseX;
         ttip.y = stage.mouseY - 15;
         overTarget.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
         overTarget.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
         setChildIndex(ttip, numChildren - 1);
         ttip.visible = true;
    function mouseOutHandler(e:MouseEvent):void {
         ttip.visible = false;
         overTarget.removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
         overTarget.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); 
    function mouseMoveHandler(e:MouseEvent):void {
         TweenMax.to(ttip, .5, { x:stage.mouseX, ease:Quart.easeOut } );
         TweenMax.to(ttip, .5, { y:stage.mouseY - ttclip.height / 2, ease:Quart.easeOut } );
         //ttip.x=stage.mouseX;
         //ttip.y=stage.mouseY-ttclip.height/2;

Maybe you are looking for

  • Business partner in Fact Sheet for Individual object

    Hi Folks, I am unable to see the assigned business partners on the Fact Sheet for an Individual object.  I have created the iObject in the portal.  Here, I could not assign any BP's during the creation as the system does not have this option.  I then

  • OAS 4.0.8 Error (FRM-99999,Registry.dat is missing

    Hi I installed OAS 4.0.8 on NT 4 SP5 and then configured. I ran all the services manually using command prompt and no error was detected, but when I tried to access my Developer 6 Forms files through browser, I got this Error after the Splash Screen

  • Mac Mini Printer Compatiblity Problems in Firefox and Safari

    Can anyone recommend a printer brand that will allow me to print the content from Safari or Firefox? What a pain in the butt this is. I can't get either to print selected content off the Web, unless I save it as another document, and print it from th

  • Hyperlink within an Image

    Hi you all, I really cannot figurate out how to make a standalone image that could just being clicked and then send the browser to a web page. I've got a little logo designed in Illustrator CS3, in the attribute features I write the whole web address

  • Online Number never activated

    I purchased an online number using my skype credit.  It said it would take up to 2 weeks to content .. 5 weeks later I am still waiting.  What should I do?