Item Catefory redetermined

Hi,
We creata a sales order in SAP through a inbound interface from legacy system ... All the information comes from the interface including pricing & item categoroes.
We have two item categories ZC00& ZC01. The interface is sending ZC00  as item category for a SO to be created in SAP... however when the order is created through the EDI inbound process the SO Iitem category is changing to ZC01.... ZC01 is the default item category which should be proposed by the system if no item category is sent. since we are sending in this case the item category" ZC00"... i am surprised how come it is changing the item category toZC01 ... any suggestions or inputs would be appreciated
Thx,
vinay

Hi Vinay,
Did you check the IDOC to make sure the item category you're sending in is mapped correctly?  The system won't assign a non-default item category so the most probable cause is an incorrect inbound order.
If you are doing this as a 1 time sales order conversion and the problem persists you can always make the default Item Category ZC00 during the conversion and change it back after you do your sales order load.
Just throwing out ideas...
Cheers,
Johnny

Similar Messages

  • Item category redetermination

    Hi friends
    I have a requiremnet in VA01 transaction.
    Requirement :
         when iam entering line item in sales order
          ie :
         material no     quantity
          40                 10
       after entering the value and press enter it will determine item category and pricing in the background and will display the values on to the screen.
    ie : after pressing enter iam getting these values
       material            quantity      item category      pricing
        40                     10               TANN                ABC
    now my client requiremnet is when is changes the materail
    ie :
      material from 40 to 41   and press enter
    in background it will determine again the item category and pricing .
    But the processing should not done ie : it should take the item category and pricing of material 40 only.
    ie : when the material is changed the item category and pricing should not be redetermined.
    How can i stop that process.
    is it possible.
    To stop this which user exit should be used.
    Regards
    PRIYANKA.

    Hello,
           If you are using ECC 6.0, then you can find an Enhancement Point in the Program MV45AFZZ where you'll find several Routines relevant for determining Item Category. Choose the appropriate one and create an Enhancement Implementation for your requirement.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Deriving/ change the item category from handling unit

    Hi SAP GURUS,
    In vl01n I want to derive the item category based on the handling unit. Hnadling unit is derived from the payment terms.
    Please let me know the required configuration or the development for this.
    Thanks

    i need ur help regarding the Sales order item category redetermination.
             we are having two item categories YNAE and YNAG and it contain schedule  line categories CP and CB ( i.e for item category  YNAE schedule line category is CP and 
             for item category  YNAG schedule line category is CB), for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
             For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG
             which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule on SAVE and its delivary dates are also not getting determined properly. If press the option ATP check at the schedule line level than very things will getting corrected in the order.
    i am using UPDKZ = U  in both xvbap and xvbep for changes
    I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

  • Plant Determination for Third Party Material as Child Item in Sales Order

    Hi All,
    We have an issue with the Plant Determination for Third Party Material as Child Item in a Sales Order.
    Even when a Delivering Plant is maintained for the child item which is a Third Party Material, the plant of the Parent Item is only populated as the Default plant in the Sales Order
    Can someone explain the reason behiind this determination.
    P.S.- For all non -Third PartyChild Items (with non-Third Party Item Catefory & Material Type), the Plant is population correctly as per Delivering plant in Material Master.
    TIA.
    Regards,
    Sridhar

    Hi,
    Thanks everyone for the feedback.I agree with Samir Danish.It is a standard functionality of SAP which does not allow free goods for BOM material.
    However, can someone suggest work around to deal with this issue.I mean if any one has been doing any work around for this issue then please let me know.It s becoming critical for me.
    Regards,
    BM

  • Sales Order Line item category not getting Re detemining Correctly

    Dear all,
                I need  help regarding the Sales order item category redetermination.
                we are having two item categories YNAE and YNAG and it contains schedule  line categories CP and CB ( i.e for item         category  YNAE schedule line category is CP and for item category YNAG schedule line category is CB),
    for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
    For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule line on SAVE and its delivary dates are also not getting determined properly. If i press the option ATP check at the schedule line level than very things will getting corrected.
       I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

    USEREXIT_PRICING_PREPARE_TKOMP is the wrong location - that exit is for pricing communication preparation only.  Your primary location for item category determination is USEREXIT_SOURCE_DETERMINATION (MV45AFZB).  In your simple scenario, you could consider making an availability check at this point with some assumptions and then assign the item category accordingly.  Otherwise, you can re-assign item category and schedule line category in USEREXIT_MOVE_FIELD_TO_VBEP.  The exit is called once before ATP (for ATP-relevant schedule line categories) and once afterwards.  The call is recursive if you re-assign another ATP-relevant category.

  • Shipping date redetermination

    Hi All,
    I have a query on the shipping date redetermination.
    If a sales order is created 10days back with the schedule line getting confirmed on the same day (for ex lets say  : 19/03/08).
    At that time the delivery document is not created.
    When I try to create a delivery document today the system gives me a error message saying
    " Since the outbound delivery is not to be rescheduled           
    (according to the agreement), the shipping dates are taken     
    from the order and not redetermined. Therefore, the pick date  
    that was originally planned and then copied into the outbound  
    delivery may be in the past.                                   
    However, make sure that the material staging data of the       
    items is redetermined in order to guarantee a correct          
    availability check for materials."
    After analysing the message it seems that the system cannot redetermine the date to todays date as the date in teh sales order in teh past and this is due to the setting made in the IMG.
    I would like to know where is the setting done.
    Any help will be of great help.
    Regards,
    Pandi

    Marc Chow wrote:
    It appears that my shipping date for a iPad 3g 32gb is scheduled for May 26th. The date of my order was May 12th with the shipping schedule of 7-10 business days. Do you think I will get it in California by June 4th with the Memorial Day Holiday etc...? Does apple use exclusively fed-ex?
    June 4 is the Friday after Memorial Day, and May 26 is this Wed. I doubt if they'll stop transporting packages over the holiday weekend, so I think there's a good chance you'll get it by June 4 (9 days after it ships).
    I believe all shipping is via FedEx and they may all ship from China, unless they've built up stock in a CONUS warehouse.
    Read this thread to get a feel for how delivery goes
    http://discussions.apple.com/thread.jspa?threadID=2434227&tstart=0
    Seems pretty fast.
    Phil
    Message was edited by: w7ox

  • Credit management for consignment sale

    Hi,
    It is well accepted that in Standard SAP , for consignment sale process credit check is done in Consignment issue level as in this phase material stock is logically got diminished from valuated stock. But business dynamics need some solution with nature of business needs and from that point we need that how the same can be managed with consignment fill up. Consignment fill up is the stage where material is moved from plant gate to reach consignment agent's premises which is geographically may be located far away and this is the phase where user can want the credit check before dispatching more quantity with that of payment have received or with a threshold value of credit limit though the stock is under ownership of plant and that same will be transferred to customer after consignment issue.
    now we have configured system in that way, KBN and KEN item category has been configured  perfectly as needed(like credit indicator checked for KBN and unchecked for KEN item category).
    But the problem is faced like following way.
    Suppose I am doing a transaction of delivery against a consignment fill up order with value of 2 Lakh with that much credit limit and after making the delivery it got updated in FD32 open sales value (2 Lakh) which is correct in this context.
    Secondly at the time of consignment issue delivery further open sales value is not updated with 2 Lakh which is also correct(as credit check is inactive as it should not be update the open sales value as 4 Lakh)
    Lastly when we are preparing the consignment commercial invoice with reference of consignment issue delivery then after posting 2 lakh got updated in receivables in FD32 which is also correct but at the same time open value should be diminished to zero which is not updating and this is wrong as then credit exposure is calculated wrongly for next transaction. so huge value will be accumulated in open sales value for consigmeet agent and the same cannot be rectified by standard program RVKRED77 like normal customers.
    So please explore what may be the solution for the same(may be any configuration setting) or if there any another correction program exists.
    Regards
    Indranil

    Dear Mr. Lakhshmipati,
    Thanks for your reply.
    I need the input to be given that we are running the credit check with update group 000015 . So in this case S066- OEIKW will not update anytime.
    As per note 492831 is declaring that for consignment fill up if the credit indicator is active but the table S066 - OEIKW will not update for open sales value in case of consignment fill up
    But we have tested that after creation of the delivery against consignment fill up open sales value updated in FD32 (as item category KBN has set as credit active) and the same figure is coming from the table S067 - OLIKW.
    But it is not duplicated with creation of the delivery from consignment issue(as for item catefory KEN this check is inactive) and after creation of the commercial invoice receivable got updated but same value should be cleared from S067 - OLIKW.
    You can understand the situation.
    Now there can be three aspects of it. Please check my points below and suggest if I am wrong.
    1. For update group 000015, this table S067 is updated for delivery of fill up in standard SAP but never adjusted in after that and also there is no standard program for correction. So in this case either we have to forcefully update the table (by exit or by program) though it should not be the practice as there may be some inconsistency or we should discard this process.
    2. We have to deactivate the credit check at consignment fill up level and to carry with credit check at consignment issue level as in that case under update group 000015 , after creation of commercial invoice posting receivables got updated with modification of open sales value by diminishing that much value.
    3. We have to withdraw the credit check for case of consignment agent.
    please suggest if any other aspect keeping in mind that we have to try our best to reach the requirement of credit check at consignment fill up stage as material should be blocked for delivery before vehicle starts from factory gate.
    with last effort if there is really no way , so we have to go with standard SAP.
    Regards
    Indranil

  • Service and operation options are not visible in catch event.

    I have created a file adapter service and calling the same using throw and catch event.I have created service call type conversation which is configured in throw event with default conversation option.But when i am trying to config same in catch event my service name and operation does come up.
    Any idea ?
    http://postimg.org/image/orb03h29x/

    Hi Madhu,
    My Understanding:
    1. When you enter the main/header product in the item details, the item catefory for the header product gets determined.
    2. Your components can also be seen below as sub-items automatically, but the item category is not determined.
    Tell me if my understanding is correct.
    If Yes, u need to maintain the item category determination for the sub-items or components as well.
    Transaction Type: Put the service order transaction type
    Item Category Group: Check the item category group of your component product in COMMPR01 (Material tab/ Sales and Distribution Tab)
    Item Category Usage: Leave it Blank
    Main Item Category: Put the header product item category
    Item category: Put the desired item category here.
    Also ensure that in the customizing of the header item category, u have maintained the Structure Scope as A- Single Level Explosion of Structured Products.
    Regards,
    Shalini Chauhan

  • Condition for material check

    Hi all,
          In VA01 if the user enters line items with material no and presses enter and later decides to change
    the material no the item category and price is redetemined for that particular material number, this is the standard functionality provided by SAP .
        But according to my requirement when user enters material no and changes it the item category redetermination should not happen.
    For example :  If I enter material no as 52 and later changed it to 53 the item category should not be redetermined , i.e, it should be of 52 itself.
    Thanks & Regards
    Jerry

    Hi Martin,
    Thanks for the reply!!!
    I tried using this BADI but the problem is item category value is getting redetermined before this BADI getting executed....
    I also used user exit USEREXIT_CUST_MATERIAL_READ USING US_KUNNR but the first item category value is getting refreshed .......
    Thanks  & Regards
    Jerry

  • Copy Control - Copy 0 quantity

    Hi,
    User has a requirement that whenever they create credit/debit memo with reference to an order, the quantity(VBAP-ZMENG) and net value(VBAP-NETWR) fields should come in as 0. I'm thinking of including a code that forces those fields to be 0 however I'm not sure if i should add it to the existing include program or create a new routine and add it to that. For reference i'm adding include program as i don't know where exactly should i add this code in the program.
    Please advise.
    FORM DATEN_KOPIEREN_151.
    IF CVBAP-POSNR IS INITIAL.
    MESSAGE A247 WITH '151'.
    ENDIF.
    Fields which are copied
    ENHANCEMENT-POINT DATEN_KOPIEREN_151_01 SPOTS ES_SAPFV45C.
    $$-Start: DATEN_KOPIEREN_151_01----
    $$
    ENHANCEMENT 25 /SAPMP/FDE_SD_SAPFV45C. "active version
    *MILL 0016 01 WZ Merkmale in der SD-Pos. eingabebereit
    copy of global-local structure
    VBAP-MILL_SE_GPOSN = CVBAP-MILL_SE_GPOSN.
    ENDENHANCEMENT.
    $$-End: DATEN_KOPIEREN_151_01----
    $$
    VBAP-MATWA = CVBAP-MATWA.
    VBAP-MATKL = CVBAP-MATKL.
    VBAP-ARKTX = CVBAP-ARKTX.
    VBAP-BWTAR = CVBAP-BWTAR.
    VBAP-PRODH = CVBAP-PRODH.
    VBAP-PMATN = CVBAP-PMATN.
    VBAP-MEINS = CVBAP-MEINS.
    VBAP-VRKME = CVBAP-VRKME.
    VBAP-UMVKZ = CVBAP-UMVKZ.
    VBAP-UMVKN = CVBAP-UMVKN.
    IF NOT VBAP-VKGRU EQ VKGRU_REP_REPARATURANFO.
    VBAP-VKGRU = CVBAP-VKGRU.
    ENDIF.
    VBAP-VKAUS = CVBAP-VKAUS.
    IF NOT CVBAP-GRKOR IS INITIAL
    AND VBAP-GRKOR IS INITIAL.
    VBAP-GRKOR = CVBAP-GRKOR.
    ENDIF.
    VBAP-FMENG = CVBAP-FMENG.
    VBAP-ATPKZ = CVBAP-ATPKZ.
    VBAP-RKFKF = CVBAP-RKFKF.
    VBAP-SPART = CVBAP-SPART.
    VBAP-WAERK = CVBAP-WAERK.
    IF NOT CVBAP-PRCTR IS INITIAL.
    VBAP-PRCTR = CVBAP-PRCTR.
    ENDIF.
    VBAP-ANZSN = CVBAP-ANZSN.
    VBAP-SERAIL = CVBAP-SERAIL.
    ENHANCEMENT-POINT DATEN_KOPIEREN_151_10 SPOTS ES_SAPFV45C.
    $$-Start: DATEN_KOPIEREN_151_10----
    $$
    ENHANCEMENT 61 OI0_COMMON_SAPFV45C. "active version
    Copy Exchange Data SO3K002011 JAQ
    PERFORM COPY_EXCHANGE_DATA. "SO3K002011 JAQ
    IS-Oil enhancement - default pipeline fields SO3K002011 CEF
    MOVE-CORRESPONDING CVBAP TO OIC_PIPE. "so3k120207
    MOVE-CORRESPONDING CVBAP TO OID_EX. "so3k120207
    MOVE-CORRESPONDING OIC_PIPE TO VBAP. "so3k120207
    MOVE-CORRESPONDING OID_EX TO VBAP. "so3k120207
    Manual conditions and multiple ship-to's in contracts "SO4K003766 RKS
    if cvbpa-kunnr eq kuwev-kunnr. "SO6K001141 RKS
    if not cvbap-oic_dland1 is initial and "SO6K001141 RKS
    not cvbap-oic_dregio is initial and "SO6K001141 RKS
    not cvbap-oic_dcounc is initial and "SO6K001141 RKS
    not cvbap-oic_dcityc is initial. "SO6K001141 RKS
    KUWEV-LAND1 = CVBAP-OIC_DLAND1. "SO4K003766 RKS
    KUWEV-REGIO = CVBAP-OIC_DREGIO. "SO4K003766 RKS
    KUWEV-COUNC = CVBAP-OIC_DCOUNC. "SO4K003766 RKS
    KUWEV-CITYC = CVBAP-OIC_DCITYC. "SO4K003766 RKS
    endif. "SO6K001141 RKS
    endif. "SO6K001141 RKS
    Triggering Item Category Redetermination while still "SO4K003766 RKS
    on SAPMV45A 101 and not yet in the PBO of screen 423 "SO4K003766 RKS
    IF TVAK-UEVOR+0(3) = 'OID'. "SO4K003766 RKS
    OID_ISOIL = 'X'. "SO4K003766 RKS
    ENDIF. "SO4K003766 RKS
    is-oil enhancement - copy drc details from reference "SO3K002019 JRE
    VBAP-OIDRC = CVBAP-OIDRC. "SO3K002019 JRE
    VBAP-OIC_DRCTRY = CVBAP-OIC_DRCTRY. "SO3K002019 JRE
    VBAP-OIC_DRCREG = CVBAP-OIC_DRCREG. "SO3K002019 JRE
    VBAP-OIMETIND = CVBAP-OIMETIND. "SO3K002019 JRE
    VBAP-OIWAP = CVBAP-OIWAP. "SO3K002019 JRE
    VBAP-OISLF = CVBAP-OISLF. "SO3K002019 JRE
    VBAP-OIPSDRC = CVBAP-OIPSDRC. "SO3K002019 JRE
    *is-oil enhancement - copy ref. gross/net pricing rule "SO3K012126 GJK
    VBAP-OIGNRULE = CVBAP-OIGNRULE. "SO3K012126 GJK
    CLEAR VBAP-OIBYPASS. "SO3K003030 JAQ
    is-oil enhancement: copy contract header restrictions "SO3K015566 AC
    PERFORM COPY_RESTRICTIONS_ITEM. "SO3K015566 AC
    *is-oil enhancement - copy contract number if not initial and current
    doc is not a contract
    PERFORM OICONTR_DETERMINE(SAPMV45A) USING CVBAP-VGBEL "SO4K000089 VB
    CVBAP-VGPOS
    VBAP-OICONTNR
    VBAP-OIC_KMPOS.
    perform oij_copy_tsw_data. "SO7K022351 YS
    ENDENHANCEMENT.
    $$-End: DATEN_KOPIEREN_151_10----
    $$
    Fields that are copied when the sold-to parties are the same.
    The sold-to is read from the reference document
    CVBPA = SPACE.
    CVBPA-PARVW = PARVW_AG.
    READ TABLE CVBPA.
    IF SY-SUBRC = 0 AND " kein Musterauftrag
    CVBPA-KUNNR = KUAGV-KUNNR.
    VBAP-KDMAT = CVBAP-KDMAT.
    For delivery orders, no max./min. delivery tolerances
    IF CVBAK-VBKLT NE VBKLT_LP_AUSL_AUFT AND
    VBAK-VBKLT NE VBKLT_AUSL_AUFT.
    VBAP-UEBTK = CVBAP-UEBTK.
    VBAP-UEBTO = CVBAP-UEBTO.
    VBAP-UNTTO = CVBAP-UNTTO.
    ENDIF.
    VBAP-CHSPL = CVBAP-CHSPL.
    IF VBAP-FAKSP = SPACE.
    VBAP-FAKSP = CVBAP-FAKSP.
    ENDIF.
    VBAP-ANTLF = CVBAP-ANTLF.
    Component supplier's partial delivery flags are not copied (D)
    IF CVBAK-ABDIS IS INITIAL.
    VBAP-KZTLF = CVBAP-KZTLF.
    ENDIF.
    VBAP-LPRIO = CVBAP-LPRIO.
    IF CVBAK-VSBED = VBAK-VSBED AND
    NOT CVBAP-VSTEL IS INITIAL.
    VBAP-VSTEL = CVBAP-VSTEL.
    VBAP-ROUTE = CVBAP-ROUTE.
    ENDIF.
    ENDIF.
    Fields which are copied only to quotations
    IF VBAK-VBTYP = CHARB.
    VBAP-GRPOS = CVBAP-GRPOS.
    ENDIF.
    Fields that are copied only to contracts, credit and debit memos
    In 3.0 also to quotations (Example: Service contract in service
    quotation)
    IF VBAK-VBTYP = CHARG OR
    VBAK-VBTYP = CHARK OR
    VBAK-VBTYP = CHARL OR
    VBAK-VBTYP = CHARB OR
    VBAK-VBTYP = CHARF.
    VBAP-ZWERT = CVBAP-ZWERT.
    Create a credit or debit request. No schedule lines allowed.
    IF TVAP-ETERL = SPACE.
    IF CVBAK-VBTYP CN 'DKLG'. " Aus Belegen mit Auftragsmenge
    VBAP-ZMENG = CVBAP-ORFMNG.
    VBAP-ZIEME = CVBAP-VRKME.
    VBAP-UMZIZ = CVBAP-UMVKZ.
    VBAP-UMZIN = CVBAP-UMVKN.
    ELSE.
    VBAP-ZMENG = CVBAP-ORFMNG. " Aus Belegen ohne Auftragsmenge
    VBAP-ZIEME = CVBAP-ZIEME.
    VBAP-UMZIZ = CVBAP-UMZIZ.
    VBAP-UMZIN = CVBAP-UMZIN.
    ENDIF.
    ENDIF.
    ENDIF.
    Credit and debit requests, returns
    IF VBAK-VBTYP CA VBTYP_ANFO OR
    VBAK-VBTYP CA VBTYP_RETO.
    VBAP-KZVBR = CVBAP-KZVBR.
    VBAP-KZBWS = CVBAP-KZBWS.
    ENDIF.
    IF NOT CVBAP-PS_PSP_PNR IS INITIAL.
    VBAP-PS_PSP_PNR = CVBAP-PS_PSP_PNR.
    ENDIF.
    Copy the business area
    VBAP-GSBER = CVBAP-GSBER.
    Copy the order number
    VBAP-AUFNR = CVBAP-AUFNR.
    Target quantity in the scheduling agreement
    IF VBAK-VBTYP = CHARE.
    VBAP-ZMENG = CVBAP-ZMENG.
    VBAP-ZIEME = CVBAP-ZIEME.
    VBAP-UMZIZ = CVBAP-UMZIZ.
    VBAP-UMZIN = CVBAP-UMZIN.
    ENDIF.
    IF NOT CVBAP-KMPMG IS INITIAL.
    VBAP-KMPMG = CVBAP-KMPMG.
    ENDIF.
    FM data of the reference document is copied in the following
    Data : ls_cobl type cobl,
    g_t_fmii1 like fmii1 occurs 0 with header line,
    ls_FMII1 type FMII1,
    lv_vbeln type vbak-vbeln,
    lv_objnr type fmii1-objnr,
    ls_vbak type vbak,
    ls_vbap type vbap,
    ls_vbkd type vbkd.
    ls_vbak = cvbak.
    ls_vbap = cvbap.
    ls_vbkd = cvbkd.
    get coding block of the reference document
    PERFORM cobl_fuellen(sapfv45p) USING ls_vbak
    ls_vbap
    ls_vbkd
    ls_cobl.
    take FM objects of the reference doc. to g_t_fmii1 and send to memory
    ACTYP is in background mode
    CALL FUNCTION 'FM_CO_***_INPUT_MAINTAIN_SD'
    EXPORTING
    I_COBL = ls_cobl
    I_VBAK = ls_vbak
    I_VBAP = ls_vbap
    I_ACTYP = 'B'.
    get the object number of reference doc.
    PERFORM sd_get_objnr(saplfrc4) USING
    ls_vbap-vbeln
    ls_vbap-posnr
    CHANGING
    lv_objnr.
    get the object number of the current doc.
    PERFORM sd_get_objnr(saplfrc4) USING
    vbap-vbeln
    vbap-posnr
    CHANGING
    ls_fmii1-objnr.
    replace the new objnr. with the old one.
    IMPORT g_t_fmii1 FROM MEMORY ID 'HHMSD'.
    modify g_t_fmii1 from ls_fmii1
    transporting objnr where objnr = lv_objnr.
    EXPORT g_t_fmii1 TO MEMORY ID 'HHMSD'.
    consignment issue => copy CUOBJ for material variant
    otherwise if the the variant was reconfigured it will
    lose its value assignment because it will be overwritten
    with the material master value assignment
    IF vbap-sobkz = 'W' AND
    NOT maepv-cuobj IS INITIAL.
    vbap-cuobj = cvbap-cuobj.
    ENDIF.
    ENDFORM.
    *eject

    In the code under "Create a credit or debit request. No schedule lines allowed." and then under "Target quantity in the scheduling agreement", its getting value for Zmeng which is the quantity field. So i was wondering if some change can be made somewhere in this program rather than the routine to get the values of quantity(Zmeng) and net value(Netwr) as 0.
    Any thoughts??

  • Using Pricing type G in  bapi 'BAPI_SALES_ORDER_CHANGE' .

    Req: to redetermine tax condition for the items when the document date in Sales order is change
    I changed  DocumentDate from 01.09.2010 to 29.07.2010 or opposite and the tax condition should be redetermine for the items.
    In Bapi 'BAPI_SALES_ORDER_CHANGE',  I am passing
    2) header structure ,
    b) Pricing type 'G' to structure '' and
    c) item table with details such as posnr, matnr.
    Consider there are 2 items:
    Now when I pass only 1 item (supposed item 10) and Pricing type = G , tax condition of both items are redetermined.
    I would like the tax condition of only the item passed (i.e item 10) to the item's table should be redermined. Tax condition for item 20 should not be determined.
    How could I achieve this?

    Hi Sampath,
    Thanks for the reply.
    I am passing pricing type 'G' in structure 'logic_switch-pricing'.
    I could find the pricing type field only in this structure and I think it should be at header level.
    My requirement is to change the pricing type of only the selected items.
    Thanks & Regards,
    Abhishek Singh

  • Components of a product are not visible in service order

    Hi all,
    I have created a product and assigned various other products as components to it. For e.g i have created a refrigirator and assigned components such as compressor etc. But after i assign the product while creating service order , i am not able to see the components. For e.g i can only see refrigirator and not compressor.
    I want even the components to be visible in the transaction Can anyone help me in doing that?
    Regards,
    Madhu.

    Hi Madhu,
    My Understanding:
    1. When you enter the main/header product in the item details, the item catefory for the header product gets determined.
    2. Your components can also be seen below as sub-items automatically, but the item category is not determined.
    Tell me if my understanding is correct.
    If Yes, u need to maintain the item category determination for the sub-items or components as well.
    Transaction Type: Put the service order transaction type
    Item Category Group: Check the item category group of your component product in COMMPR01 (Material tab/ Sales and Distribution Tab)
    Item Category Usage: Leave it Blank
    Main Item Category: Put the header product item category
    Item category: Put the desired item category here.
    Also ensure that in the customizing of the header item category, u have maintained the Structure Scope as A- Single Level Explosion of Structured Products.
    Regards,
    Shalini Chauhan

  • Billing related

    Hi to all SAP GURU
    I have problem while creation of billing.
    I created one order with two diff. line item and two diff item category A and B.
    In item cat. A order relavent for billing and in item catefory B delivery relavent for billing.
    After that i created combine delivery for that order.
    Now i want to create single billing document for that so in document column i put order no and delivery no. but nothing happen and no process is done by the system.
    I am able to create billing for single line item.
    And alt the copy control is propely maintain in the system.
    please guide me the complete the scenerio.
    Regards
    JTN PRMR

    ya i agree with you.
    Suppose consider
    order type is ZABC
    delivery type is ZDEF
    billing type is ZGHI
    copy control which i had maintained is
    ZABC to ZDEF (Order to Delivery)
    ZDEF to ZGHI  (Derlivery to Billing)
    ZABC to ZGHI  (Order to billing )
    I have done all the config if i do single billing means either through order or through delivery then i am able to create according to their Item category

  • Redetermination of item category in deliveries

    Hi,
    Let me explain with an example i have sales order with item category TAN and when i do delivery i want the item category should redetermine as TAS(example)
    what are all the setting in need to do?
    Please guide me its really urgent for me.
    Thanks alot
    Sridhar B

    Hi,
       Delivery Item category is determined based on the Delivery type assigned to your sales document, Item category group from the material master.
    So if u want to redetermine the delivery type in the sales order, go to
    Spro, Logistics execution, Shipping, Deliveries, Define Item Category determination in deliveries.
    Here assign Item category to the combination of ur delivery type, Item category group. Then that item category will be determined automatically.
    Reward points if it is helpful,
    Regards,
    Sree

  • Redetermine line item data in sales order when being referenced

    Hi All,
    I have a scenario where while creating orders for a particular SP and material and have valid quotations for the same we want to copy certain data but would like to redetermine many other fields such as Plant,Route,shipping point.
    This is required as the quotation might be old where in the meanwhile these might have change.Obviously onwe would rectify in the copying routines to stop them and redetermine from master data but what about the ones determined from customised settings?

    Thanks for your immediate help. Please tell me which field shows that this sales order no.'s line item  is pending or completed.  and also how i come to know about partial order delivered for particular line item.
    Regards
    Puneet

Maybe you are looking for

  • Server not receiving email

    I am having problems getting my mail server to receive any mail. The MX record was set up 3 days ago, but an MX record lookup shows it as 0 www.sciencematrix.com so it should work, right? Does the 'www' at the front mess it up at all? Checking the ac

  • Remoteviewer ActiveX never popup (install link wont go away)

    Running 11.2, and trying to use IE8 and/or IE9 on Win 7 x64 for remote control. On some of the administrators machines, when trying to remote control the link for installing the remote control viewer never goes away. Installation of the viewer works

  • Attempting to open a single bookmark opens 24 - is this a virus?

    Attempting to open a single bookmark instead goes to Firefox index and tries to open 24 bookmarks all at the same time.

  • Changing many queries with a "script"

    A SAP-BI newbee here. I would like to add a characteristic to a cube and have all existing queries filter on this characteristic. Is there a way to create some sort of script to update all queries and automatically insert this filter so that the user

  • DATALOAD with EIS from Oracle database - long time

    Hi, We are using EIS 6.2 and an Oracle database with Star Schema. Financial system is the Essbase application.Actually, the dataload takes more then 1:30 hours... That's not acceptable for us.Each month, we have more than 40 millions rows in the fact