What is the mechanism behind change documents.

Dear Experts,
As we all know Change pointers is applicable only for Master Data changes.But in my situation I have to trace changes to a transaction data like (sales order delivery status) and trigger a ALE for IDoc generation ,if the delivery status is confirms.
So my question is ,Is there any way we can implement the change pointers concept to this type of scenario.
Please participate   activity in this discussion.
thanks,
jeevan.

You might want to search SDN or Google - the ALE/EDI scenario with order output is very common and I'm sure you'll find a lot of information.
Your SD functional specialist should be able to help you with the output configuration. It is done in SPRO or in NACE transaction (orders are under V1 - Sales). You might want to create a new output type for the IDocs.
As far as the additional requirements when the IDoc should and should not be created - this could be handled with the requirement routines. They are assigned in the output configuration (access sequence). This is actually the only part where ABAP is needed, everything else should be done by your SD consultant.
Here is a rather old book, but it's a good starting point (and free):
http://www.angeli.biz/www5/books/IDocBook/IDocBook.pdf
If you're planning to deal with IDocs a lot, I'd definitely recommend investing in the IDoc "bible" by A.Nagpal.

Similar Messages

  • What is the mechanism behind processing credit card payment on net?

    Excuse my ignorance, i just completely dont have any knowledge about it. Here is what i thought: when a customer submit his/her credit card information on a e-commerce site, the site's server will make remote request to Bank's(?) server, which would verify the information user has provided, payment would be proceeded if those information is correct and sends message back to the e-commerce site's server. Or if the payment cant not be proceeded,the e-commerce site's server receives error message possibly saying the user's credit card info can not by verified. someone plz correct me if there are any mistake.
    So, how can i simulate this mechanism on a single pc? What i thought was i need to set up a db on mysql which simulates the bank's db, stores people's credit card info. For the e-commerce site i run on Tomcat, i may set up db connection(JDBC) to this db and verify user's credit card info. But i dont think this is how it works in reality, isn it? It would be possibly using java RMI(i am just guessing, havent digged into this area yet) to complete the task. So, if this is the case, can i simulate it on a single pc? Or do i have to phycially have two PCs, have both of them connected to my house's LAN, one runs e-commerce website on tomcat, the other runs mysql db server, then i can start simulating it by using java RMI? This is just something i've been wondering these day. As the uni's long holiday getting closer, i am thinking of giving myself a project gotta be something like this, so i would not get bored during the holidays. I really wish someone would explain me some ideas. Many many thanks...

    If you're asking if you can run the database server on
    the same machine as Tomcat, yes you can. (Although in
    a real e-commerce site, that would be less secure than
    having the database server behind a firewall.)
    yes, i am runing both mysql db and Tomcat on my pc. So, i am wondering that i could possibly set up two separate databases, one holds data for whatever e-commerce site i am going to build, and the other simulates the bank's database that stores peope's credit card information, which can be accessed by the e-commerce site's JSP pages thru RMI for the purpose of validating credit card information. On the other hand, honestly, i am even asking myself what's the point or purpose of doing it in such a way? In fact, this is one of my subjects' project, that we've been given much flexibility about the way we simulate/implement the interaction between e-commerce site and bank's database. The goal is just trying to make it as close to what's happening in reality as possible. I was thinking of just creating a table that holds users' credit card information and put it with other e-commerce's site db tables altogether. But that just sounds like too far away from how it is done in reality, doesnt it? That's why i came up with the above ideas, what still not sure if it's proper way of doing it. Jesus, i am missed....
    If you are asking how an e-commerce site really
    interacts with a bank for credit card validation, I
    have no idea. But you could simulate that with a
    database, although I'm pretty sure the real method
    doesn't involve JDBC or RMI or any Java-specific
    technology.so, does anyone have ideas about how it is implemented in real life?
    many many thanks...

  • What is the use of change pointer concept in ale?

    what is the use of change pointer concept in ale?
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 5:10 PM

    ALE Architecture:
    It consists of an Outbound process, an Inbound process, and an Exception – Handling process.
    Outbound Process:
    ALE Outbound Process in SAP sends data to one or more SAP Systems. It involves four steps.
    1. Identify the need of IDoc: This step starts upon creating a application document, can relate to a change to a master data object.
    2. Generate the Master IDoc: The document or master data to be sent is read from the database and formatted into an IDoc format. This IDoc is called as a Master IDoc.
    3. Generate the Communication IDoc: The ALE Service layer generates a separate IDoc from the Master IDoc for each recipient who is interested in the data. Separate IDocs are generated because each recipient might demand a different version or a subset of the Master IDoc. These recipient-specific IDocs are called Communication IDocs and are stored in the database.
    4. Deliver the Communication IDoc: The IDoc is delivered to the recipients using an asynchronous communication method. This allows the sending system to continue its processing without having to wait for the destination system to receiver or process the IDoc.
    Inbound Process:
    The inbound process receives an IDoc and creates a document in the system.
    1. Store the IDoc in the database: The IDoc is received from the sending system and stored in the database. Then the IDoc goes through a basic integrity check and syntax check.
    2. Invoke the Posting Module: The control information in the IDoc and configuration tables are read to determine the posting program. The IDoc is then transferred to its posting program.
    3. Create the Document: The posting program reads the IDoc data and then creates a document in the system. The results are logged in the IDoc.
    Over view of IDocs:
    IDoc is a container that is used to exchange data between any two processes. The document represented in an IDoc is independent of the complex structure SAP uses to store application data. This type of flexibility enables SAP to rearrange its internal structure without affecting the existing interface.
    IDoc interface represents an IDoc Type or IDoc data. IDoc Type represents IDoc’s definition and IDoc Data is an instance of the IDoc Type.
    IDoc Types:
    IDoc type structure can consist of several segments, and each segment can consist of several data fields. The IDoc structure defines the syntax of the data by specifying a list of permitted segments and arrangement of the segments. Segments define a set of fields and their format.
    An IDoc is an instance of an IDoc Type and consists of three types of records.
    i. One Control record: each IDoc has only one control record. The control record contains all the control information about an IDoc, including the IDoc number, the sender and recipient information, and information such as the message type it represents and IDoc type. The control record structure is same for all IDocs.
    ii. One or Many Data records: An IDoc can have multiple data records, as defined by the IDoc structure. Segments translate into data records, which store application data, such as purchase order header information and purchase order detail lines.
    iii. One or Many Status records: An IDoc can have multiple status records. Status record helps to determine whether an IDoc has any error.
    Message in IDoc Type:
    A Message represents a specific type of document transmitted between two partners.
    Outbound Process in IDocs:
    Outbound process used the following components to generate an IDoc. A customer model, and IDoc structure, selection programs, filter objects, conversion rules, a port definition, an RFC destination, a partner profile, service programs, and configuration tables.
    The Customer Model:
    A customer model is used to model a distribution scenario. In a customer model, you identify the systems involved in a distribution scenario and the message exchanged between the systems.
    Message control:
    Message control is a cross application technology used in pricing, account determination, material determination, and output determination. The output determination technique of Message control triggers the ALE for a business document. Message control separates the logic of generating IDocs from the application logic.
    Change Pointers:
    The change pointers technique is based on the change document technique, which tracks changes made to key documents in SAP, such as the material master, customer master and sales order.
    Changes made to a document are recorded in the change document header table CDHDR, and additional change pointers are written in the BDCP table for the changes relevant to ALE.
    IDoc Structure:
    A message is defined for data that is exchanged between two systems. The message type is based on one or more IDoc structures.
    Selection Program:
    Is typically implemented as function modules, are designed to extract application data and create a master IDoc. A selection program exists for each message type. A selection program’s design depends on the triggering mechanism used in the process.
    Filter Objects;
    Filter Objects remove unwanted data for each recipient of the data basing on the recipients requirement.
    Port Definition:
    A port is used in an outbound process to define the medium in which documents are transferred to the destination system. ALE used a Transactional RFC port, which transfers data in memory buffers.
    RFC Destination:
    The RFC destination is a logical name used to define the characteristics of a communication link to a remote system on which a function needs to be executed.
    Partner Profile:
    A partner profile specifies the components used in an outbound process(logical name of the remote SAP system, IDoc Type, message type, TRFC port), an IDoc’s packet size, the mode in which the process sends an IDoc (batch versus immediate), and the person to be notified in case of error.
    Service Programs and Configuration Tables:
    The outbound process, being asynchronous, is essentially a sequence of several processes that work together. SAP provides service programs and configuration tables to link these programs and provide customizing options for an outbound process.
    Creation of IDoc:
    Basic Type:
    Basic IDoc type defines the structure and format of the business document that is to be exchanged between two systems.
    Segments:
    Segments form the basic building blocks of an IDoc type and are used to store the actual datta. A segment type is the name of a segment and is independent of the SAP elease. A segment definition is the release-specific name of a segment.
    Steps in creating Segments:
    T.Code WE31
    Enter the name for your segment type and click on the create icon.
    Type the Short text.
    Enter the variable names and data elements.
    Save and Go back.
    Go to Edit -> Set Release.
    Repeat the steps to create more segments.
    IDOC TYPE:
    Business data is exchanged with an external system using the IDoc Interface.
    IDoc types (Special Structures) An IDoc type is defined through its permitted segments. Segments can be dependent on each other (parent and child segments). The IDoc interface can check for each IDoc whether thhe segments contained are compatible with thhe definitiion of its type. This systax check is activated or deactivated in the Partner Profiles.
    Steps in creating IDoc Type:
    T.Code WE30 to create IDoc Type.
    Enter the Object Name, Select Basic Type and click Create Icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDoc name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press enter
    The system transfers the name of the segment type to the IDoc editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation.
    Save it and go back.
    Go to Edit -> Set Release.
    Message Type:
    Steps in Creating Message Type:
    T.Code WE81.
    change the details from Display mode to Change mode
    After selection, the system will give this message "The table is cross client (See help for further info)". Press enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back.
    Assign Message Type to IDoc Type:
    T.Code WE82
    Change the details from Display mode to change mode.
    After selection, the system will give this message "The table is cross client (See help for further info)". Press enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 5:10 PM

  • What is the use of change pointer technique in IDOC

    hi
    could anybody suggest me
    what is the use of change pointer technique and how to use it
    thank you
    kalyan.

    Change pointers are used for changes to the master data objects are flagged for distribution by SMD Tool.i.e.shared Master Data.
    You need change pointers to distribute changes with the ALE SMD tool. If you do not use this tool, you do not need to write change pointers.
    You can deactivate change pointers and activate them again with the transaction BD61
    The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
    The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
    The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
    You can increase the rate of processing by using the Analyze Change Pointer and Reorganize Change Pointer functions.

  • What is the tcode  to change the contents of sales order

    hi
    what is the tcode  to change the contents of sales order

    SD Transaction Code Flow:
    Inquiry / Document type IN
                              create chan  disp             tables updated
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP

  • What is the Porcess behind root.sh and orainstRoot.sh scripts run by root

    What is the Porcess behind root.sh and orainstRoot.sh scripts run by root, please replay the details wts behinds.

    http://sites.google.com/site/catchdba/Home/what-orainstroot-sh-and-root-sh-scripts-will-do
    $ sudo /local/mnt/oraInventory/orainstRoot.sh
    AFS Password:
    Changing permissions of /local/mnt/oraInventory to 770.
    Changing groupname of /local/mnt/oraInventory to dba.
    The execution of the script is complete
    $ sudo /local/mnt/oracle/product/11.1.0.6/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
       ORACLE_OWNER= oracle
       ORACLE_HOME= /local/mnt/oracle/product/11.1.0.6
    Enter the full pathname of the local bin directory: [usr/local/bin]:
       Copying dbhome to /usr/local/bin ...
       Copying oraenv to /usr/local/bin ...
       Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    Finished product-specific root actions.

  • What are the consequences of changing the scratch disc??

    What are the consequences of changing the scratch disk? Everything was fine with my project until I tried to work on a new project for someone else. I uploaded new footage to a new session and changed the scratch disk to my other external hard drive. Now there is confusion with my initial project..

    This is something we all live with. You have to be careful going back and forth between projects, if you are using different scratch disks for each. If you are editing a project on one scratch disk, then start a new project on another, remember to switch back to the original scratch disk when you go back to the original project. Otherwise render files will wind up on the wrong drive, or worse, you will capture to the wrong drive. Each issue is correctable by managing your media over to the proper drive, and deleting then deleting from the other.

  • What is the price to change the body of macbook pro 15 inch?

    what is the price to change the body of macbook pro 15 inch?

    https://www.techrestore.com/mac/
    http://www.dttservice.com/macbookprounibody.html
    http://www.myservice.com/macbookpro.html

  • What is the impact by changing gl account contra account: acquisition value

    Hi experts
    what is the impact by changing gl account  (contra account: acquisition value in asset accounting(AO90)  to the different company codes and different countries. Please review and send across step by step points to us
    Warm regards
    Sreenivas

    hi,
    thnaks for reply, but we cannot reverse as it is initially uploaded directly in asset reconciliation account, moreover, we are already in production and we are yet to run the depriciation from april, finanlly we decided to post the difference amount in reconciliation accounts with OASV, but till now opening upload account shows zero balance, once we post the difference amounts directly in reconciliation accounts this initial upload gl account shows the carryforward balance from march. is there any other alternative,

  • What is the risk of changing the order of the security providers?

    I have developed a SFTP solution for Webmethods. Webmethods has IAIK (class iaik.security.provider.IAIK) as its default DH provider. To get the SFTP solution to work, I had to change the DH provider to SunJCE.
    I did that through changing the order of the security providers in the
    java.security file
    in C:\j2sdk1.4.2_13\jre\lib\security
    Now it is
    security.provider.1=com.sun.crypto.provider.SunJCE
    security.provider.2=sun.security.provider.Sun
    security.provider.3=com.sun.net.ssl.internal.ssl.Provider
    security.provider.4=com.sun.rsajca.Provider
    Before it was
    security.provider.1=sun.security.provider.Sun
    security.provider.2=com.sun.net.ssl.internal.ssl.Provider
    security.provider.3=com.sun.rsajca.Provider
    security.provider.4=com.sun.crypto.provider.SunJCE
    security.provider.5=sun.security.jgss.SunProvider
    A lot of other webmethods services uses the same server, so if we change the order of the security providers, it will affect all of these. So what I want to know is what is the risk of changing the order of the security providers?

    Check here for compatibility of 3rd party Software you may be using...
    http://roaringapps.com/apps:table
    Also note that Rosetta is no longer supported in Lion and Mountain Lion...
    You will need more RAM... Get the Maximum you can for your Mac...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com
    The above site also has videos on how to Install RAM should you need it...

  • What is the system variables of document number in General Ledger PLD?

    Dear all,
    Would anybody kindly tell me what is the system variables of document number in General Ledger Print Layout Designer?
    The default print layout use transaction number (system variables 272), however, my client wants document number to be displayed in the transaction number column.
    Regards,
    Simon Chiu

    Hi
    The only list available for Supported variables is for the version 2007A and for some specific localizations like Brazil and India.
    For the 2007A version the list is available in the following link:
    http://service.sap.com/smb/sbo/pld
    'How To Use the PLD Variables File in Release 2007 A '
    But in general the variables are for documents not for reports.
    In this case I believe there's no variable and you may need to fill a requirement in the Forum for that.
    Paulo Calado
    SAP Business One Forums Team

  • What is the concept behind using table PA0002 and structure p0002.

    Hi,
    What is the concept behind using table PA0002 and structure p0002.
    Many times, I have seen Looping at structure e.g. p0002, p0006 etc. and data is processed and also seen Looping at table PA0002, PA0006 etc. with further appropriate subtypes if any to retrieve a value and process the same.
    In which context tables like PA,HRP,IT etc. are used and structures p0001,p0002 etc. are used.
    Regards,
    Ameet

    HI,
    As mentioned  that that Structure Pnnnn is user as a internal tablw when a LDB is used.
    Ex.
    TABLES: PERNR.
    INFOTYPES: 0001.
      GET PERNR.
        PROVIDE * FROM P0001 BETWEEN PN-BEGDA AND PN-ENDDA.
        WRITE:  / P0001-PERNR,
                  P0001-STELL,
                  P0001-BEGDA,
                  P0001-ENDDA.
        ENDPROVIDE.
    Here it is important to declare the infotypes you want to read  and so the system will create internal tables  ex. P0001.
    Tables PA0001 are database table with following fields
    MANDT
    .INCLUDE  PAKEY
    .INCLUDE  PSHD1
    .INCLUDE   PS nnnn
    Thanks,
    Poonam.

  • What is the concept behind MASTER_IDOC_DISTRIBUTE

    What is the concept behind MASTER_IDOC_DISTRIBUTE ?

    Hi Manjunath,
    Please check the Documentation of the Function Module in SE37
    This function module is the interface from the application to the ALE layer on the outbound side. The application can pass an IDoc, the so-called master IDoc, as an internal table using the parameters MASTER_IDOC_CONTROL and MASTER_IDOC_DATA.
    This IDoc is then converted into one or communcation IDocs and stored in the ALE layer. IDocs for which no errors occurred are passed to dispatch control.
    In the table parameter  COMMUNICATION_IDOC_CONTROL the header records for the communication IDocs created are retturned. You can tell whether processing was successful from the field STATUS.
    A COMMIT WORK must be dispatched in the calling program, otherwise the IDocs may not be dispatched.
    Best regards,
    raam

  • Could you tell me what is the reason behind all this?

    Hi
      Zp0001, we have 510 pcs in stock, but for some reasons we can’t commit the orders that we have on the system. When we go into a xyz order 308 for example), the system commits only to February, even if we could do a partial shipment.
    Could you tell me what is the reason behind all this?

    Please look into availability check for that particular material,
    based on the availability check the system determines whether to
    confirm the sales order (if the sales order qty > inshe stock (either
    rejection/partial confirmation - depends upon the availability check),
    followed by determination of delivery date

  • What is the role of Changing Tab infunction module se37

    Hi. All,
    Any body can help me that what is the role of changing tab in function module.
    i am very confuse to take this. please tell me with code ( code implementation)
    not only theritical.
    Regards
    Mohd
    Moderator message: please search for information, these forums are no substitute for ABAP training.
    Edited by: Thomas Zloch on Mar 1, 2012

    SAP help portal
    ht[http://help.sap.com/saphelp_erp60_sp/helpdata/en/2d/351ee6448c11d189420000e829fbbd/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/2d/351ee6448c11d189420000e829fbbd/frameset.htm]
    Configuration for definition of formula parameter
    Customizing > Quality Management > Quality Inspection > Results Recording > Define Parameters for Calculated Characteristics
    As you know, you can assign the formula for inspection characteristic in inspection plan.
    Regards
    Luke

Maybe you are looking for

  • Adding new field in ListDef.xml file

    Hi Guys, I want to add few new fields(columns) in the List of Equipment's Measurement Point page. This list page displays the fields which are included in the either header data or in the item of the specified BO.ie. say         <managerName>com.sap.

  • Adobe Photoshop CS6 Installation Failed?

         I have recently been trying to download Photshop CS6 but the Installation Fails and a Window pops up telling me that: " A Conflicting or Prerelease version of Adobe Photoshop CS6 exists on this computer. The conflicting version before installing

  • SQL Statement / index on function ??

    Hello My environment is : Oracle 9.2.0.7 In "top sql sessions" I obtained that sql statement as below consumes many ressources. When I use "SQL Analyzer" ... no recommandation was specified but I wonder if an index on function may be use to optimize

  • Continuous Service Date

    Hi Guys/Dolls Is there a function module that I can use to obtain the continuous service date of an employee? Many thanks in advance. Raj

  • How to make a layer exclusive to a page in InDesign CS6?

    As I am just transitioning over to InDesign from working in Illustrator, how do I make a layer exclusive to just one page in a multi page document? What am I making? I'm putting together a document with 10 separate, single page, adverstisements but I