Determine internal confirmation category at MM/SD transfer

Hi guys,
At a MM/SD transfer, I have both outbound and inbound delivey. Considering I have to use two kinds of mvt. types, depending on the situation, I should make the system determine a different internal confirmation category during the inbound creation, triggered at the goods issue, created through VL02N, regarding the outbound.
I think I should change the values at function ME_CONFIRMATION READAVIS, with imports T163D-IBTYP as default '2'.
Is there any standard way to do this, or any BADI I can implement to manipulate this value?
Best regards,
Marcelo Buosi.

Hi Plauto Abreu,
Thanks for your help, although, it didn't work, the program doesn't pass through this BAdi.
Any other sugestions?
Thanks,
Marcelo Buosi

Similar Messages

  • How to assign 2 Delivery Types to a single Internal Confirmation category ?

    Hi all,
    According to this transaction OMGZ that assign the Delivery type to the Internal Confirmation categories, I'll like to assign another Delivery Type to the Internal Confirmation category "2 Shipping Notification".
    I previously created a new Confirmation Control Key (0005) copy from the 0004 for the P.O & a new Confirmation category ZA (copy of the LA - Inbound Delivery).
    My issue is how to use the single Internal Confirmation category "2 Shipping Notification" to the both Inbound Delivery Types ZEL (copy of EL) and ZAL (copy of ZEL) ?
    Thanks for your reply !!!
    Ed

    Hi Steve,
    Thanks for your reply. I know that SAP standard system can't have two. My Client want to distinguish between 2 Delivery Types used for different businesses in the same SAP system. As every Inbound delivery Type will be used in other Z developpements programs. And we don't want to create confusion in our figures. But I thing we can use another PO type to make it.
    Ed

  • What setting in costumising determines Pickinng confirmation is mandatory

    Hi,
    Do let me know...What setting in costumising determines Pickinng confirmation is mandatory?

    Hi there,
    It depends on 2 factors:
    1) in 0VLP, at the delivery item catg level, select the field "relevant for picking". This will make the item relevant for picking.
    2) If the plant is warehouse WH managed, then you will need to create a transfer order TO to pick the quantity. Check in SPRO -> Entriprise structure --> LE --> Assign warehouse num to plant & storage loc. If your plant has a WH num assigned, then you will need to create a To to do picking. Once you create TO, you will have to confirm it in LT12. Else picking quantity will not be updated in VL02N. For this you will also have to define the source & destination storage bins.
    If plant is not WH managed, then you will have to enter the pick quantity manually in a delivery. Else system will not allow you to do PGI (based on 0VLP settings).
    Regards,
    Sivanand

  • Schedule line appears twice for PO confirmation category in MD04

    Dear All,
    In PO we have two confirmation category AB and LA. When I see in MD04 there are two schedule line as shipping notification of LA as well as for AB. From my analysis I found that it is appearing if the AB sequence is higher then the LA sequence. The sequence is the field which is visible in MD04 details of this shipping notification and also last column in Confirmation control Tab in PO.
    But if AB sequence is less then the LA it only shown LA as schedule line. Can you please let me know is this a standard proces or bug in SAP. Do we have any SAP notes to fix this. And whats the logic behind showing both PO confirmation as schdule line although as per process it should show the shipping notification which is corresponding to LA and ignore the AB confirmation key.
    Please let me know as earliest as possible
    Thanks
    Shashi

    HI Ragahvendra,
    Yes,You need to activate the validation check PO_ACCEPTED_CONF_PUBLISH for validation profile POC3 with following steps:
    SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles
    Validation Profile=POC3,
    Validation check=PO_ACCEPTED_CONF_PUBLISH
    status =active
    As you mention PO_ACCEPTED_CONF_PUBLISH is not there in standard validation then you need go for latest SP level.
    I am not sure about what is latest SP level for SNC 5.1 but i know latest SP level for SNC 7.0 is 6.
    That's why still PO confirmation line updates in ECC immediately eventhough Confirmation Delivery schedule went for approval.
    In SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles it does not check whether validation check exists in standard or not that's why when you add manually it accepts.
    Regards,
    Nikhil

  • Confirmation category for third party scenario

    Hi Friends,
    We have confirmation category ZA for in the purchase order if vendor delays the delivery of the material
    If PO qty is 20  & user has confirmed below dates
    Conf. Category   Delivery date         qty
    AB                     05.06.2014            10
    AB                     06.06.2014             10
    If vendor is delaying delivery of 06.06.2014 to 08.06.2014
    we put
    Conf. Category   Delivery date         qty
    ZA                     08.06.2014            10
    In our sales scehdule line in sales order when we update ZA line in PO it removes both the  confirmation of confirmation category AB.
    We want that ZA to replace on 2nd confirmation of AB.
    I want to know whether it is standard scenario that it will remove all the lines of AB from sales order schedule line. Also want to know whether there is any workaround for the same.

    Hi Kiran,
    This is pretty standard.
    During availability check, system proposed three three different dates.
    1. One time del. on req. del. dte: If system able to delivered on the exact date, then system will propose this date in the availability screen named under this one.
    2. Complete delivery: Here system gives you the date when you can make complete delivery.
    3. Delivery Proposal: Here system gives you the earliest delivery date even if it is partial delivery and the remaining quantity delivery.
    In your case, on 06.06.2014 you are completing your entire quantity to be delivered to your customer. So as per system assumption material will be available on or after 06.06.2014.
    So after 06.06.2014, system will replace all the quantity like complete delivery quantity.
    Regards,
    Raja Durai

  • Userexit which determine the confirm delivery date in order creation

    Hi,
    I need to obtain the ATP details which contain confirm delivery date of all the lineitem. The BAPI BAPI_MATERIAL_AVAILABILITY determine the material availability date but not the Confirm delivery date. But I require the Confirm delivery date which will be calculated based on picking, working day ...
    Is there any userexit available to determine the Confirm delivery date from the material available date.
    Pls help..urgent..
    Thanks
    Suresh Kumar

    Hi,
    The userexits related to the material availability during sales document processing are:
    User Exits For Availability Check
    The user exits named here are planned for projects that are to be carried out in agreement with SAP development as they may only be used in consultation with SAP. SAP provides no guarantee if they are used without our advice!
    USEREXIT_PLANT_SELECTION in program RV03VFZZ is an exception to this rule (see below).
    User exits in program FV45VFZZ
    USEREXIT_ADD_FIELD_TO_HEADER
    USEREXIT_ADD_FIELD_TO_LINE
    User exits in program FV45VFZY
    USEREXIT_DELIVERY_GROUPS
    USEREXIT_MVERF_INIT
    USEREXIT_QUOTA_KEY_VALUE
    User exits in program RV03VFZZ
    USEREXIT_AVAILABILITY_IN
    USEREXIT_AVAILABILITY_OUT
    USEREXIT_DARA_REFRESH
    USEREXIT_PLANT_SELECTION
    This might be of some use.
    Thanks and regards,
    Satya

  • Schedule line number determination - Schedule line category CP(MRP)

    Hello All,
    I want to know on what basis schedule line numbers getting determined.
    Schedule line category: CP-MRP
    Sales order line items getting confirmed based on the Planned order--> production order created through MRP run.
    I have created sales order line item 1 with 100 quantities. for example I created today. RDD also today.
    3 production order created.
    Those production orders confirmation date as below.
    Production order 1 - 60 quantities - 14.04.2014
    Production order 2 - 30 quantities - 16.04.2014
    Production order 3: 10 quantities - 18.02.2014.
    There are four schedule lines for the line item 1.
    All the 4 lines showed as per the confirmation date order.
    But the schedule line numbers are not as per the above order.
    For example,
    Schedule line number   ----- delivery date ----- Confirmed qty
    1.                                         09.04.2014            0
    3.                                         14.04.2014            60
    2                                          16.04.2014           30
    4                                          18.04.2014            10
    On what basis this schedule numbers getting determined? Is there any standard procedure ?
    Why schedule line numbers not inline with the confirmed date?
    Let me know if you need more information.
    Thank you.
    Regards,
    Rakkimuthu C

    Hi,
    Schedule line number is the number that uniquely identifies the schedule line .
    Use When an item has more than one schedule line, the system automatically assigns a unique number to each line. The number is displayed in the details screens for schedule lines.
    Note The schedule line number serves internal purposes and does not, for example, determine the sequence of schedule lines in the overview screen. The schedule lines on the overview screen are sorted by date.
    The schedule line number will get created automatically by the system. I hope this will clarify your doubt. Thanking you.

  • Determination of Movement during delivery for Stock Transfer

    While doing Stock transfer through SD ,we make delivery with refernce to STPO (Doc Type UD) through VL10B . How system determines movement type 641 in delivery ?

    Hi
    its via
    1) spro-sales and distribution-sales-schedule lines-define schedule line category
    2) spro-sales and distribution-sales-schedule lines-assign schedule line category
    3) Delivery type ( Eg NL) is attached to the item category in 0184
    Regards
    Sandeep

  • Free of charge Item determination in SO with cost and revenue transfer

    Hi,
    Please guide me on the followings.
    I have a following requirement for determining the free goods in the sales order .We have two plants
    1.     Plant 1 is for valuated materials
    2.     Plant 2 is for Free of charge Items
    Free of charge items which are given to the customers are supplied by the vendors and stored in the plant meant for the Free of charges items. But sometimes when free of charge items are not available in the stock then user take FOC item from the plant which is meant for the valuated materials and send it to the customers as a free of charge item.
    User wants to transfer the cost of the FOC item to the main item when FOC material is taken from the valuated plant and sent to the customer.
    Similarly  when there is no stock of material in the valuated plant then user take the same material from the Plant2(Non-valuated) and send the material to the customer. In this case user wants to have the revenue posted in the respective  G/L  Account.
    But it should also appear as a free of charge items in the billing document.
    Regards
    Rahul

    hi,
    transfer of cost from sub item to main item is configured in the delivery to billing copy control for the main item. go to VTFL  > select the required item cateogry > here at the bottom you will find a check box Cummulate cost. Tick it.
    Not really what you meant COPA purposes. But the pricing conditions are mapped to COPA value fields at KE4I transaction.
    regards
    sadhu kishore

  • Item category determination without Item category group

    Dear friends,
    I am using CRM 5.0. In transaction such as Lead, when  i am inserting product Item category is not determined.Prior to this i have done customizing in spro and Product Master.
    I am using this functionality under marketing organization so Item category group NORM is not working as i am not maintaining distribution channel, divison....
    Error comes in Lead transaction. When product is selected and saved as Item category is not determined.
    Plz help as its very crucial.Reward points will be awarded.
    with regard,
    Sachin Sonkar

    Hi sachin,
    refer the following link
    http://help.sap.com/saphelp_crm50/helpdata/en/6f/f26859448111d5992400508b6b8b11/frameset.htm
    hope this doc is more clear.
    cheers,
    madhu.

  • How to make use of a global internal table in SAP BW during transfer rules

    HI friends,
    I am ABAP consultant working on some APO info cubes. I have an issue during the upload of planning area data into APO info cube.
    Please help.
    I am using a transfer routine to find the TECHWEEK from a data base table ZGC_CALWEEK based on the on the calender month and calender week.
    Code I am writing is like below.
    *       FORM COMPUTE_/BIC/ZCALWEEK
    * Compute value of InfoObject ZCALWEEK
    * in communication structure /BIC/CSZT6DPPA
    * Technical properties:
    *     field name      = /BIC/ZCALWEEK
    *     data element    = /BIC/OIZCALWEEK
    *     data type       = NUMC
    *     length          = 000006
    *     decimals        = 000000
    *     ABAP type       = N
    *     ABAP length     = 000006
    *     reference field =
    * Parameters:
    *  -->  RECORD_NO       Record number
    *  -->  TRAN_STRUCTURE  Transfer structure
    *  <--  RESULT          Return value of InfoObject
    *  <->  G_T_ERRORLOG    Error log
    *  <--  RETURNCODE      Return code (to skip one record)
    *  <--  ABORT           Abort code (to skip whole data package)
    FORM COMPUTE_/BIC/ZCALWEEK
      USING    RECORD_NO LIKE SY-TABIX
               TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
               G_S_MINFO TYPE RSSM_S_MINFO
      CHANGING RESULT TYPE /BIC/OIZCALWEEK
               G_T_ERRORLOG TYPE rssm_t_errorlog_int
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
    *$*$ begin of routine - insert your code only below this line        *-*
    * DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
    DATA: LV_WEEK         TYPE ZGC_CALWEEK-APOWEEK,
            LV_MONTH        TYPE ZGC_CALWEEK-APOMONTH,
            LV_TECH_WEEK    TYPE ZGC_CALWEEK-TECHWEEK.
      LV_WEEK   = TRAN_STRUCTURE-CALWEEK.
      LV_MONTH  = TRAN_STRUCTURE-CALMONTH.
      SELECT SINGLE TECHWEEK INTO LV_TECH_WEEK
        FROM ZGC_CALWEEK CLIENT SPECIFIED
        WHERE  MANDT = SY-MANDT
        AND  APOWEEK  = LV_WEEK
        AND   APOMONTH = LV_MONTH.
      IF SY-SUBRC IS INITIAL.
        RESULT = LV_TECH_WEEK.
      ELSE.
        RETURNCODE = 1.
        ENDIF.
    *$*$ end of routine - insert your code only before this line         *-*
    ENDFORM.
    There are more than 50-80 million records that wil be transferred from planning area to info cube. The select statment is giving pathetic performance as this has to run 50-80 million times.
    After adding the select statment to find the TECHWEEK it is taking 4 times the time that used to take before writing the select statment.
    Is there a way that I can first fetch the data from ZGC_CALWEEK to one internal table and that internal table can be used using read statment during the transfer routine instead of writing select statement here.
    Please help in this case?

    Hi Ashutosh,
    Thanks for the reply,
    The structure of the ZGC_CALWEEK is as below. I have already created a secondary index on the table for this table for the fields APO WEEK and APO MONTH. This didn't help much on the performance.
    I am also planning to keep the ZGC_CALWEEK database table to be fully buffered and this may definitely improve the performance but I need to reduce the data base hits as less as possible.
    MANDT                           MANDT                           CLNT     3     0     Client
    TECHWEEK                           ZTECHWEEK                           NUMC     6     0     Technical Week
    FROMDATE_TECH     DATUM                           DATS     8     0     Date
    TODATE_TECH     DATUM                           DATS     8     0     Date
    APOWEEK                           /BI0/OICALWEEK     NUMC     6     0     Calendar year / week
    FROMDATE_APO     DATUM                            DATS     8     0     Date
    TODATE_APO     DATUM                            DATS     8     0     Date
    APOMONTH                           /BI0/OICALMONTH     NUMC     6     0     Calendar year/month
    The table ZGC_CALWEEK is in APO system, where the transfer rules are being executed.
    As you mentioned START ROUTINE, In the start routine Can I create an internal table let's say GT_CALWEEK with structure ZGC_CALWEEK and pull all the records (I have a max of 2000 records in this table) from ZGC_CALWEEK to GT_CALWEEK and Can I used the same internal table GT_CALWEEK in the transfer routine to read the TECHWEEK from internal table.
    Thank you very much again for you reply. Any help regarding this would be greatly appreciated.
    Best regards,
    Siva

  • Determining internal table structure dynamically

    Hi,
    I have a number of internal tables in my program which I declare using types. As an example:
    TYPES: begin of ty_hierarchy,
                   control_id(6)   type c,
                   node_id(10)     type c,
                   node_name       type bezei40,
                   material        type matnr,
                   node_level      type prodh_stuf,
                   node_parent(10) type c,
                end of ty_hierarchy.
    DATA: it_hierarchy type ty_hierarchy occurs 0.
    Further down my program I need to determine the structure of internal table IT_HIERARCHY dynamically. Because I have a number of internal tables, I need to determine which internal table is being processed. Therefore it's important that I know the structure of the table that I'm currently processing.
    I am aware of CL_ABAP* classes and functions like GET_COMPONENT_LIST. However because I have declared my tables using the TYPE statement the method/function cannot read my table structure correctly. If I changed my declaration to be as below, the method/function work! However I don't want to do this as I use field symbols to reference my internal tables and need to use the TYPE statement.
    DATA: begin of ty_hierarchy,
                   control_id(6)   type c,
                   node_id(10)     type c,
                   node_name       type bezei40,
                   material        type matnr,
                   node_level      type prodh_stuf,
                   node_parent(10) type c,
                end of ty_hierarchy.
    DATA: begin of it_hierarchy occurs 0.
                 include structure ty_hierarchy
    DATA: end of it_hierarchy.
    Does anyone know on how I can determine my  internal table structure dynamically but still keeping my internal table declarations using TYPE statement?
    Any help would be greatly appreciated with reward points .....
    Thanks
    Liam

    Hello Liam
    Both the ABAP-OO as well as the FM-based approach described by Eswar work well with your way of defining the itabs. I described three different ways how to get the structure of your itab dynamically:
    - directly using the itab
    - using a field symbol
    - using a data reference
    REPORT  zus_sdn_dynamic_itabs.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_hierarchy,
    control_id(6) TYPE c,
    node_id(10) TYPE c,
    node_name TYPE bezei40,
    material TYPE matnr,
    node_level TYPE prodh_stuf,
    node_parent(10) TYPE c,
    END OF ty_hierarchy.
    DATA:
      gs_hierarchy    TYPE ty_hierarchy,
      it_hierarchy    TYPE ty_hierarchy OCCURS 0.
    DATA:
      gt_comp         TYPE abap_compdescr_tab,
      gs_comp_a       LIKE LINE OF gt_comp,
      gd_type         TYPE abap_typekind,
      gs_comp    TYPE rstrucinfo,
      it_comp TYPE TABLE OF rstrucinfo.
    DATA:
      go_struct    TYPE REF TO cl_abap_structdescr,
      go_table     TYPE REF TO cl_abap_tabledescr,
      gdo_data     TYPE REF TO data.
    FIELD-SYMBOLS:
      <gt_itab>    TYPE table.
    START-OF-SELECTION.
      GET REFERENCE OF it_hierarchy INTO gdo_data.
      ASSIGN gdo_data->* TO <gt_itab>.
    * (1) Describe directly by using the itab
    *  go_table  ?= cl_abap_structdescr=>describe_by_data( it_hierarchy ).
    * (2) Describe indirectly by using field symbol
    *  go_table  ?= cl_abap_structdescr=>describe_by_data( <gt_itab> ).
    * (3) Describe by data reference to itab
      go_table  ?= cl_abap_structdescr=>describe_by_data_ref( gdo_data ).
      go_struct ?= go_table->get_table_line_type( ).
      WRITE: / 'ABAP-OO Version:'.
      gt_comp = go_struct->components.
      LOOP AT gt_comp INTO gs_comp_a.
        WRITE: / gs_comp_a-name,
                 gs_comp_a-length,
                 gs_comp_a-type_kind,
                 gs_comp_a-decimals.
      ENDLOOP.
      SKIP 2.
      CALL FUNCTION 'GET_COMPONENT_LIST'
        EXPORTING
          program    = sy-repid
          fieldname  = 'GS_HIERARCHY'
        TABLES
          components = it_comp.
      WRITE: / 'Function Module Version:'.
      LOOP AT it_comp INTO gs_comp.
        WRITE: / gs_comp-compname,
                 gs_comp-level,
                 gs_comp-leng,
                 gs_comp-type,
                 gs_comp-olen,
                 gs_comp-decs.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Automatic determination of Item Category -3rd Party Process

    Hi Guru's,
    Can we set a material as a third party material for a particular customer?
    Say aaa,bbb customers, and material xxx.
    When i create a sale order for the customer aaa, material xxx should have the item category as TAN.
    But for the customer bbb, the item category should be TAS, which will be automatically come without any manual change in sale order...
    Is there any configuration related to this. i.e., by changing a customer item category should be changed?
    If we maintain a different order type for the customers, that time it will act as per my requirements..
    Is there any way other than this?

    hello, friend.
    determining item category using order type is your best bet (e.g. if doc type CMR and item category grp BANS, propose TAS; if doct type ZMR and item category grp BANS, propose ZTAN).
    if you do not wish this, my suggestion is to create a new sales distribution chain (sales org + distribution channel), and create your customer in this new sales area (chain + material division).  you then create the 3rd party material in the new distribution chain, and enter the item category group.
    let's say you have the following sales areas:
    sales org + dist chnl + divi
    1000 + 01 + 01
    1000 + 02 + 01
    you then create material in these 2 sales areas.  now let's say you have 2 customers:
    aaa - material shld have item cat TAN (create customer master in sales area 1000 + 01 + 01)
    bbb - material shld have item cat TAS (create customer master in sales area 1000 + 02 + 01)
    now create material in the 2 dist chains
    1000 + 01, item cat grp NORM
    1000 + 02, item cat grp BANS
    of course, this means more master data maintenance.  however, try this and see if this works for you.
    regards.

  • Internal PC HD to Macbook data transfer

    I have a western digital 160BG HD that I bought and put into my Compaq desktop. Very similar to this (see link).
    http://www.bestbuy.com/site/olspage.jsp?skuId=7821949&type=product&productCatego ryId=pcmcat107700050004&id=1142294266684
    The desktop crashed and I bought a macbook. I pulled out the HD and trashed the comp. I now want to transer the data to my macbook. There is no USB port on the hard drive (it was an internal). Is there any way that I can connect this to my macbook and transfer the data? I have also heard that I can get a network storage device that will hold this type of drive and I can just hold my HD as a network drive. Basically, I just want to be able to get to the data on the internal HD that is now collecting dust. Can anyone help? Thanks in advance.

    If the hard drive you linked to is the drive you have, you can get an external SATA drive enclosure. Depending on your preference, you can get one that connects via USB, Firewire, or both (the choice is yours). You just need to make sure that you get an SATA enclosure. Here are some examples:
    http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=200009009210538071231054107131&name=SATA

  • Auto batch determination at the time of picking by transfer order

    Hello,
    Our problem is, at the time of creation of transfer order with reference to delivery, system can not pick up the batches automatically as per the SLED. We have to manually enter the batches as per the SLED. Could you please guide me step by step procedure of automatic batch determination as per SLED at the time of creation of transfer order with reference to out bound delivery? (Please state step by step procedure of automatic batch determination as per the SLED at the time of picking with transfer order)
    Thanks
    Milind

    Hi,
    As for remaining shelf life please check OSS note 33396, 72771. Additonally this may also help:
    http://www.renet-web.net/2008/09/05/sap-batch-determination-made-easy/comment-page-1/
    As for sorting according to SLED date please read OSS note 769036.
    Regards,
    Csaba

Maybe you are looking for

  • Not able to edit Service Contract from WEBUI beacause of error

    Hi, I am trying to edit Service Contract from WEB UI. But, when ever I say edit, it is giving error saying "Document is being distributed. Changes are not possible". Can you please let me know, why such error comes..and how to rectify that. Thanks, S

  • Customize the selection dropdown of report export

    The application is using Crystal Report Viewer of Crystal Report 2008 in ASP.net environment. Can I force the export to be just PDF: either just PDF in the dropdown or the export button just exporting to PDF? Thanks

  • Problem reading japanese mail subject line

    I am using javax.mail.Message.getSubject() method to read the Japanese subject line of the mail, but when i see the string returned by this method, it has some junk characters. Can anyone please tell me how to read japanese subject line?

  • Need Help Exporting for Web

    Hello all. I have a 3:45 second video I editing that I am sending for a client to upload to their player and I am having trouble getting it compressed enough to their liking. I'm using FCP 7. The video is 1280x720, 24fps and I am scaling the export s

  • Oracle 10g agent

    Hi, Could someone please refer to the Oracle site/page or any other that I can get info about the latest Oracle agent and download if possible. Thanks