Difference between Archived and Existing Outbound delivery

Hi All,
I am passing a deleted delivery into CDHDR table.
Normally if a document is deleted, CDHDR-CHANGE_IND field will be updated as "D". But it is appearing as "U" (Update).
But CDPOS-CHNGIND field correctly updated as "D" (Delete)
Is it a standard behaviour.
Regards,
Raja Durai

This seems to be standard behaviour. When you delete a delivery, the system will call function LIEFERUNG_WRITE_DOCUMENT in the update task to write the change documents. During the delete of the delivery, the function module is called here:
SAPMV50A FORM BELEG_CHANGE_DOCUMENTS
    CALL FUNCTION 'LIEFERUNG_WRITE_DOCUMENT' IN UPDATE TASK
         EXPORTING
              objectid                = lf_aenderungsobjekt
              tcode                   = sy-tcode
              utime                   = sy-uzeit
              udate                   = sy-datum
              username                = sy-uname
*             PLANNED_CHANGE_NUMBER   = ' '
*             OBJECT_CHANGE_INDICATOR = 'U'
*             PLANNED_OR_REAL_CHANGES = ' '
*             ICDTXT_LIEFERUNG        = ' '
              n_likp                  = ls_new_likp
              o_likp                  = ls_old_likp
              upd_likp                = lf_upd_likp
              upd_lips                = lf_upd_lips
              upd_vbpa                = lf_upd_vbpa
              n_vbuk                  = ls_new_vbuk
              o_vbuk                  = ls_old_vbuk
              upd_vbuk                = lf_upd_vbuk
The data object " OBJECT_CHANGE_INDICATOR" is the one that holds the value that will eventually end up in field CDHDR-CHANGE_IND. At the above code, you can see the delivery deletion program does not pass anything to this data object (OBJECT_CHANGE_INDICATOR = 'U' is commented out). However, when nothing is passed to this data object by the calling program, the system will autmoatically fill the field with "U"; you can see this by displaying the import parameters of FM LIEFERUNG_WRITE_DOCUMENT in SE37.
For the system to write a value of "D", the delivery program would have to call function 'LIEFERUNG_WRITE_DOCUMENT' like this:
    CALL FUNCTION 'LIEFERUNG_WRITE_DOCUMENT' IN UPDATE TASK
         EXPORTING
              objectid                = lf_aenderungsobjekt
              tcode                   = sy-tcode
              utime                   = sy-uzeit
              udate                   = sy-datum
              username                = sy-uname
*             PLANNED_CHANGE_NUMBER   = ' '
             OBJECT_CHANGE_INDICATOR = 'D'
*             PLANNED_OR_REAL_CHANGES = ' '
*             ICDTXT_LIEFERUNG        = ' '
              n_likp                  = ls_new_likp
              o_likp                  = ls_old_likp
              upd_likp                = lf_upd_likp
              upd_lips                = lf_upd_lips
              upd_vbpa                = lf_upd_vbpa
              n_vbuk                  = ls_new_vbuk
              o_vbuk                  = ls_old_vbuk
              upd_vbuk                = lf_upd_vbuk
I do not think this would be considered a bug however and believe the system behaviour you are seeing is probably considered standard behaviour.

Similar Messages

  • Difference between in and exist?

    difference between in and exist?

    Note the name of this forum is "SQL Developer *(Not for general SQL/PLSQL questions)*", so only for issues with the SQL Developer tool. As AlexAnd suggested, please post these questions under the dedicated [SQL And PL/SQL|https://forums.oracle.com/forums/forum.jspa?forumID=75] forum.
    Regards,
    K.

  • Differences between archiving and inactivating a qualitative lookup within the Data Admin toolkit.

    Hi,
    Can you please let me know what could be the difference between archiving and Inactivating the Qualitative Lookup in Data Admin Tool Kit.
    Thanks,
    Rohini M

    When you inactive or archive something it is no longer available for selection.   The difference between inactive and archive is that inactive items will still appear available for searching purposes while archive items will not.  
    So lets say you have the following:
    List A
       - Item 1
       - Item 2
    List Items
    If you were to inactivate Item 1, end users would no longer see it available for selection when using the qualitative extended attribute.  However when they search for specs based on the extended attribute they would still be able to select Item 1 so they could find objects that used that value. If you were to archive Item 1, end users should no longer see it available for selection anywhere - including searching.
    Lists
    If you were to inactive or archive the entire List A, you would no longer see it available for selection when setting up qualitative lookup extended attributes.   I don't think there is anywhere you can search for extended attributes by lookup list currently out of the box so these would act similar.  If there was a place to search for extended attributes by lookup list then it would follow the same rules as above.

  • Difference between "Archive/restore" and "Export/import"

    What's the difference between the utilities "Archive/restore" and "Export/import"?
    Which utility must I use for putting my maps from a development environment to a production environment?
    For the moment I am using version 9.0.3.
    I will migrate to 9.2 when the version for AIX is available.

    Marc,
    You should use OWB Metadata Export/Import utilities (not to be confused with Database Export/Import utilities).
    The Archive and Restore utilities will be desupported in the next release of OWB.
    The exact differences are documented in "OWB 9.2 User Guide", page 15-12, "Differences Between Archive and Export" and page 15-23, "Differences Between Restore and Import". The same sections are available in "OWB 9.0.3 User Guide", pages 11-45 and 11-46 respectively.
    Nikolai

  • Difference between Technical and Business transaction archiving?

    Hi Guys,
    Can any one explain the difference between Technical and business transaction archiving with practical example?
    When we will go for Technical archiving and when we will go for business transaction archiving?
    Thanks,
    Vinod.

    Hello Vinod,
    To me, Archiving Objects can be separated into 3 categories; Technical, Master Data and Transactional.  Technical Archiving would include archive objects such as IDOC's, BC_SBAL (application logs), BDCLOGPROD (batch input logs), etc.  Master Data Archive Objects would include MM_MATNR (material master), FI_ACCPAYB (vendor master data), FI_ACCRECV (customer master data), etc.  And, Transactional Archive Objects would include FI_DOCUMNT (financial documents), SD_VBAK (sales orders), MM_EKKO (purchase orders), etc.
    Techincal Archive Objects usually are easier to implement and require less resources.  Master Data and Transactional Archive Objects usually take longer to implement as they will require business testing and sign-off.
    This is a high-level explanation and I hope it helps answer your questions.
    Best Regards,
    Karin Tillotson

  • Difference between RL and RLL delivery

    Can anybody suggest me:
    What is difference between RL and RLL delivery created for PO
    And what's the use of these

    Hi,
    RL - Delivery Type used for Vendor Return w.r.t. Return PO (i.e. PO with 'Return' indicator and MvT 161)
    RLL - Delivery Type for Return to Vendor in MIGO with option Return Delivery --> Material Document (GR Doc) with MvT 122
    Go to T Code - 0VLK and check field 'Order required' for Delivery Types RL and RLL

  • Differences between C350D and C350

    Hello,
    what is the differences between C350D and C350?
    Thanks

    Hi There,
    C3x0D was designed as an outbound only box, the idea being that your internal servers would send mast amounts of mail to the C3x0D and we process and deliver.
    The main differences are:
    1: Multiple IP Interfaces
    Deliver from 256 source addresses to minimise rate limiting issues
    2: Configurable Source IP per destination
    Nominate specific source IP for certain destinations
    3: Virtual Gateways
    10,000 Concurrent connections, delivery queue per destination
    4: Domain Key signatures
    Validate you are the trusted source of the mail
    5: Destination Controls
    Control delivery rates to suit ISP acceptance policies
    6: Configurable Bounce profiles per destination
    Customize retries and delay periods for differing destinations
    7: Message and Content Filters
    Apply disclaimers, unsubscribe information and tracking headers
    8: Optional Sophos engine
    Ensure clean mail only is sent
    More information on the support portal regarding C350D, or messenger me and I will send you the pdf.
    Laters :)

  • Difference Between SCA and SDA

    Hi,
    I am preaparing for the SAP Certification exam , my exam is on 20 of this month . Can anyone explain me the difference between SCA and SDA .How are they different from each other and the benefits of using them.
    appreciate quick responses.

    Hello,
    Here u go ...
    The Software Deployment Archive (SDA) is the delivery format for SAP applications in programming languages other than  ABAP, for example applications of the J2EE Engine. It is an archive format that is compatible with ZIP and that can be used as a container for other archives. The SDA contains the manifest information, that is package-related data of the contained archive (e.g. jar, war) and an SAP manifest containing additional information about the software logistics. Larger entities can be created in SCA format in the second step from the different SDAs. A Software Component Archive (SCA) is the physical representation of a version of a software component. It contains a selection of SDAs that describe a precise version. Updating an SCA always results in a new version of the software component.
    I hope this solves your question
    Thanks
    Pankaj

  • Difference between 122 and 161 movement type

    Hi,
    Can anyone explain me the difference between 122 and 161 movement type?
    How will be the finance postings?
    Can these movement types will be used in outbound delivery? If so,what kind of scenarios this can be used?
    Thanks
    Srini

    Hi
    Both are belongs to vendor return
    1. 122 - return to vendor -total  consignment - return total received gr qty
         Migo - return delivery with 122- j1is - credit memo
    2. 161 - here you have to crate the return po. return to vendor for partial qty.
         after po- gr - j1is-credit memo
    Laxman

  • What is the difference between DSo and Infocube

    Hello,
             Kindly tell me what is the difference between DSO and Infocube?
    And please tell me how to take the desicion that in whichi case we can use DSO and in which case we can use Infocube..

    Hi ,
    DataStore object serves as a storage location for consolidated and cleansed transaction data or master data on a document (atomic) level.
    This data can be evaluated using a BEx query.
    A DataStore object contains key fields (for example, document number/item) and data fields that can also contain character fields (for example, order status, customer) as key figures. The data from a DataStore object can be updated with a delta update into InfoCubes and/or other DataStore objects or master data tables (attributes or texts) in the same system or across different systems.
    Unlike multidimensional data storage using InfoCubes, the data in DataStore objects is stored in transparent, flat database tables. The system does not create fact tables or dimension tables.
    Use
    The cumulative update of key figures is supported for DataStore objects, just as it is with InfoCubes, but with DataStore objects it is also possible to overwrite data fields. This is particularly important with document-related structures. If documents are changed in the source system, these changes include both numeric fields, such as the order quantity, and non-numeric fields, such as the ship-to party, status and delivery date. To reproduce these changes in the DataStore objects in the BI system, you have to overwrite the relevant fields in the DataStore objects and set them to the current value. Furthermore, you can use an overwrite and the existing change log to render a source delta enabled. This means that the delta that is further updated to the InfoCubes, for example, is calculated from two successive after-images.
    An InfoCube describes (from an analysis point of view) a self-contained dataset, for example, for a business-orientated area. You analyze this dataset in a BEx query.
    An InfoCube is a set of relational tables arranged according to the star schema: A large fact table in the middle surrounded by several dimension tables.
    Use
    InfoCubes are filled with data from one or more InfoSources or other InfoProviders. They are available as InfoProviders for analysis and reporting purposes.
    Structure
    The data is stored physically in an InfoCube. It consists of a number of InfoObjects that are filled with data from staging. It has the structure of a star schema.
    The real-time characteristic can be assigned to an InfoCube. Real-time InfoCubes are used differently to standard InfoCubes.
    ODS versus Info-cubes in a typical project scenario
    ODS
    why we use ods?
    why is psa  & ods nessasary
    Hope this helps,
    Regards,
    CSM Reddy

  • Whats the Difference Between BOM and Components??

    Hi all,
    I tried to create a SubContracting PO,i found BOM and Components in Item <b>Tab</b>
    but if i click components and BOM same data details exists,then whats the difference between component and BOM??
    and also Pls give me method of Creating PO with BOM
    Thanks a lot in advance

    Dear Veeranna Chavadi,
    This is some infirmation about BOM in PO subcontract
    1) The purchasing department processing time defined for the plant
    2) The planned delivery time from the material master record or purchasing info record
    3) The delivery date
    4) The goods receipt processing time from the material master record
    For Ex:
    Processing time Planned del. GR processing
    Purchasing time time
    Release PO Delivery Date
    date date date required
    Date required: 10.09.2007
    GR processing time: 2 days (working days)
    Planned delivery time: 10 days (calendar days)
    Purchasing dept processing time: 2 days (working days)
    Requirement date less GR processing time, planned delivery time, and purchasing department processing time.
    Hope you understand, this is as per the SAP help.
    what happen to u r query, if BOM is exploding please close this thread as answered
    Hope this helps you
    Prem.

  • Difference Between BADI and User Exits

    Hi..
    generally BADIs & User Exis are used exensively in SAP SD...
    Can anybody throw some light waht is difference between them ...
    Kindly please reply......
    Regards
    Nisha

    Hi
    ifference Between BADI and User Exits
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    As with customer exits two different views are available:
    In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
    In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
    All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.
    What is difference between badi and user-exists?
    What is difference between enhancements and user-exists? and what is the full form of BADI?
    I have another doubt in BDC IN BDC WE HAVE MSEGCALL (i did not remember the > correct name) where the error logs are stored, MSEGCALL is a table or structure.
    What is the system landscape?
    1) Difference between BADI and USER-EXIT.
        i) BADI's can be used any number of times, where as USER-EXITS can be used only one time.
           Ex:- if your assigning a USER-EXIT to a project in (CMOD), then you can not assign the same to other project.
        ii) BADI's are oops based.
    2) About 'BDCMSGCOLL' it is a structure.  Used for finding error records.
    3) Full form of BADI 'Business addins'.
    3) System land scape will be depends on your project
        Ex:- 'Development server'>'Quality server'-> 'Production server'......

  • Difference between Userexits and BADI

    Pls give me the Difference between Userexits and BADI.

    Hi,
    hope this is helpful
    Difference Between BADI and User Exits
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software. 
    As with customer exits two different views are available:
    In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object. 
    In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
    All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.
    What is difference between badi and user-exists?
    What is difference between enhancements and user-exists? and what is the full form of BADI?
    I have another doubt in BDC IN BDC WE HAVE MSEGCALL (i did not remember the > correct name) where the error logs are stored, MSEGCALL is a table or structure.
    What is the system landscape?
    1) Difference between BADI and USER-EXIT.
        i) BADI's can be used any number of times, where as USER-EXITS can be used only one time.
           Ex:- if your assigning a USER-EXIT to a project in (CMOD), then you can not assign the same to other project.
        ii) BADI's are oops based.
    2) About 'BDCMSGCOLL' it is a structure.  Used for finding error records.
    3) Full form of BADI 'Business addins'.
    3) System land scape will be depends on your project 
        Ex:- 'Development server'>'Quality server'-> 'Production server'......

  • What is difference between modify and update i am using

    hi
    what is difference between mofify and update
    my requiremen is to have three condition checkec while mofifying or updating from a internal table
    the three fields are
    cus no
    status
    date these all are primary key in the database table
    so which sould i use modify or update
    there might be entry already existing in database table or new entry to be created if already existin it should check on the primary keys and updatat if not it should add a record
    pls suggest whihc to use and how to implement the check on teh threee primary key
    like if modify ztable from table it_test
    now where condition ? can be used or not with modify? and if yes how
    if not should i use update will update create a new entry if no entry is there and please give syntex
    regards
    Arora

    Hi Nishant Arora,
    Modify: It works in performing two actions.
    They are: Insert + Update.
    For Example If a record that is exited in database, so you are modifying that record, it updates that particular record.
    Similarly, If the is not existed in the database, you are modifying it, it inserts a new record.
    Update: Update means just it updates the status, I mean it only updates the record. It doesn't inserts any new record if that particular record is not present in the database.
    These are the cases you need to write these statements.
    Syntaxes: :
    Go through this links please.,
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/968aa8b2384dd9835f91e7f8470064/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
    Reward points if useful
    Cheers,
    Swamy Kunche
    Edited by: Swamy Kunche on Jun 11, 2008 2:41 PM

  • What is Difference between SXMB_MONI and SXMB_MONITOR?

    what is Difference between SXMB_MONI and SXMB_MONITOR?
    Can any explain to this question.please?

    Hello,
    Both are same.
    SXMB_MONI is area menu which will contain all multiple transactions pertaining to monitoring.
    SXMB_MONI contains some functions viz monitoring for Bridging, Archived Msgs, Job overview, persistence layer analysis.
    SXI_monitor directly leads to the message monitoring for the IS, which is part of the SXMB_MONI.
    SXI_MONITOR directly executes the monitoring report.
    Thanks,
    Satya

Maybe you are looking for

  • Imapd service "Leak  Memory"

    I already have Java Communications Suite 6 Working , but, I have a Leak Memory problems with imapd process. I have the server with 30 imapd process, 30 mshttpd process, and 30 pop process running to balance the load of the users. All work fine(the CP

  • Dynamic sort in ALV

    hi all, HOw can we write the dynamic sort in ALV. regards, AJ

  • How to center 6 divs in a container div - horizontally

    I'm trying to build a Fluid Grid website with DW CC. For now I have a problem which I can't solve. I have six links in a nav bar. Every link has different block sizes, so I arranged that with CSS. Now I like to have those divs, which are in a contain

  • Reducing voice memor file size

    Greetings. I recorded a voice memo on my 5G ± 1 hr with a Belkin TuneTalk. I used the "low" quality setting to record, yet the file is still huge a 155 MB WAV file, . Is there a way to decrease the file size (for e-mailing), either by converting the

  • MXF files in FCP5/6

    Hi, quick question-- Am I right in assuming MXF files cannot be as easily imported and edited in FCP 5.1.4 as well as FCP 6? I run a computer lab at a college and our machines are running 5.1.4, and one of our students shot on a Panasonic HVX200, whi