Create PO return for subcontracting item

Dear Expert,
I want to create PO Return for subcontracting item category.But when I tried to create it,the system prompted an error message:"Returns not possible for subcontracting items Message no. ME 548". Then I used SPRO to check the system message and there is no such a message in the system.Also I added this message into my system and set the catetory to "W". But when I create the PO Return,the same error occured.
What should I do then?
Any advice?
Best Regard,
Pauline

Thanks for the reply.
I have done one testing for PO return subcon item. I create the Normal PO return, and I create return delivery (mvt type 122) with reference to original material document.
But when i checked in the subcon report ( ME2O/ MBLB/ MMBE) the subcon material dont have any effect when I create the return delivery. the subcon material should be increase as we return back the item to the vendor.
Example here: we return back the boxes to the vendor, means the papers the we provided for them to produce the boxes should be increase ( means that they haven't done anything with the papers so the papers stock should increase)
In the reports ( ME2O, MBLB, MMBE) they not show the changes in stock level of papers when there is return delivery transaction. I'm not sure whether I miss out something in the report ? or maybe there are other reports to show the subcon stock level.
Pauline

Similar Messages

  • Calculation for subcontracting item of type N (non stock) as it for type L(Stock)

    Hi Gurus,
    I have a Requirement for calculating the cost for Subcontracting  Non stock items N as it is getting calculated in standard functionality for subcontracting items of Type L.
    This will be done in CK11n ( used to calculate the standard cost estimate of the product) for header as well as component materials.
    please suggest the user exit or Badi where i can change.
    Please refer the below logic-
    BOM for the material 2000500 as Header and 1LPL0835298AB as a component and this component has an assembly with 7008508 as a component and this component is an Sub contracted item and this has an assembly with component 1LBA182151-3.
    Price calculation for the material 7008508 (Item Category as N). Since this is sub contracted item the price will picked from field EINE-NETPR.
    In EINA, pass the material (MATNR=7008508) to fetch the list of info records (INFNR) created for that material.
    Then it has to input those info records to EINE table along with Purchasing organization (EINE-EKORG=PT02).
    From the output of EINE table, it should compare the price (EINE-NETPR) of the PIR and should take the least price from those PIR`s.
    If the currency is other than PLN, then it should be converted to PLN based on conversion charges.
    For Material (MATNR=1LBA182151-3), it should pass the material number to table MBEW along with valuation area (BWKEY = WERKS).
    From the output, it should check the Price control (VPRSV) ‘V’ or ‘S’
    If ‘V’ the price will be picked from the field “VERPR”
    If ‘S’ the price will be picked from the field “STPRS”
    Also from the output, it should check the Price unit (PEINH) ‘1’ or other than ‘1’. If it is other than ‘1’ it should divide the VERPR or STPRS by PEINH. Then this is the price of the Material “1LBA182151-3”.
    The material (MATNR=1LBA182151-3) should be passed to table “MARA” and will take the Base unit of measure from that table “MEINS”.
    Br,
    Surya

    Hi Surya,
    Please put breakpoints in any of the below BADI's and check if any of them will trigger for your
    requirement:
    VALUATION_CK                            BAdI for Valuation in Product Costing
    CK_KALAMATCON2_CI                       BAdI for CI Fields for Table KALAMATCON2
    COSTINGRUN_CK                           Edit Costing Run
    COST_APPORTION_CK                       Maint Apportionment Structure Joint Production: Dist Rules
    CO_PROD_COSTING_CK                      Cost Management for Joint Products (Costing, Target Costs)
    DATA_EXTENSION_CK                       For Data Enrichment in Product Costing
    DYNPRO_EXTENSION_CK                     BAdI for Interface Enhancement in Costing
    ORDER_COSTING_CK                        Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK                      Enables Quantity/Structure Changes in Costing
    SUR_STOCK_TRANSF_CK                     Overhead on Materials with Stock Transfer Between Plants
    Thanks
    Sri

  • Calculation of cost for subcontracting item of type N (non stock) as it calculating for type L(Stock)

    Hi Gurus,
    I have a Requirement for calculating the cost for Subcontracting  Non stock items N as it is getting calculated in standard functionality for subcontracting items of Type L.
    This will be done in CK11n ( used to calculate the standard cost estimate of the product) for header as well as component materials.
    please suggest the user exit or Badi where i can change.
    Please refer the below logic-
    BOM for the material 2000500 as Header and 1LPL0835298AB as a component and this component has an assembly with 7008508 as a component and this component is an Sub contracted item and this has an assembly with component 1LBA182151-3.
    Price calculation for the material 7008508 (Item Category as N). Since this is sub contracted item the price will picked from field EINE-NETPR.
    In EINA, pass the material (MATNR=7008508) to fetch the list of info records (INFNR) created for that material.
    Then it has to input those info records to EINE table along with Purchasing organization (EINE-EKORG=PT02).
    From the output of EINE table, it should compare the price (EINE-NETPR) of the PIR and should take the least price from those PIR`s.
    If the currency is other than PLN, then it should be converted to PLN based on conversion charges.
    For Material (MATNR=1LBA182151-3), it should pass the material number to table MBEW along with valuation area (BWKEY = WERKS).
    From the output, it should check the Price control (VPRSV) ‘V’ or ‘S’
    If ‘V’ the price will be picked from the field “VERPR”
    If ‘S’ the price will be picked from the field “STPRS”
    Also from the output, it should check the Price unit (PEINH) ‘1’ or other than ‘1’. If it is other than ‘1’ it should divide the VERPR or STPRS by PEINH. Then this is the price of the Material “1LBA182151-3”.
    The material (MATNR=1LBA182151-3) should be passed to table “MARA” and will take the Base unit of measure from that table “MEINS”.
    Br,
    Surya

    Hi Surya,
    Please put breakpoints in any of the below BADI's and check if any of them will trigger for your
    requirement:
    VALUATION_CK                            BAdI for Valuation in Product Costing
    CK_KALAMATCON2_CI                       BAdI for CI Fields for Table KALAMATCON2
    COSTINGRUN_CK                           Edit Costing Run
    COST_APPORTION_CK                       Maint Apportionment Structure Joint Production: Dist Rules
    CO_PROD_COSTING_CK                      Cost Management for Joint Products (Costing, Target Costs)
    DATA_EXTENSION_CK                       For Data Enrichment in Product Costing
    DYNPRO_EXTENSION_CK                     BAdI for Interface Enhancement in Costing
    ORDER_COSTING_CK                        Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK                      Enables Quantity/Structure Changes in Costing
    SUR_STOCK_TRANSF_CK                     Overhead on Materials with Stock Transfer Between Plants
    Thanks
    Sri

  • Create delivery  document for line item 5 only manually

    Hi Sap Experts,
    We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
    We will send him mail saying that create delivery  document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
    We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
    What are options we have and how to customize this scenario?
    Kindly suggest.
    Regards,
    Kotli

    Can you be clear in your requirement?
    One requirement is user should not select line items other than the one instructed to them
    The other requirement is delivery split should happen based on item category
    If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit.  If your requirement is second one, then just try in your system and share the outcome how system is functioning.  You will come to know how standard SAP works.
    G. Lakshmipathi

  • Doing MIGO for subcontract item

    Hi Friends,
    When I am doing MIGO for Subcontracting items, I can explode the BOM & see the child parts. At that time I can change the qty. & unit of measure for child products. Is it possible to restrict these.
    I make BOM for the mail item & made PO accordingly.
    Because of this the value of the main item may be valued at higher or lower, which is not correct.
    Regards

    hi,
    the component u r attaching in the SC po, is planned consumption ratio, which is going to be used for conversion of finished goods-child material.
    here when u r making the GRN for child material, always there should be flexibility of changing the component conusmption, as there is always differance in planned and actual conumption.
    when u r sure that there is a change in conusmption pattern, u need to change the qty of the component while making the GR.
    (as per SC challan referance)
    if at after all goods receipt is done , and u observe the differance in component consumption, u can always adjust the same by MIGO_GS against PO-GRN.
    u cant make the component field in MIGO as blank and which is not advisable tooo.
    Edited by: manipal on Jan 8, 2008 6:15 AM

  • How To create Library Functions for Validate Items

    Hi all,
    My form Consists data block blk_user with two items
    username and password
    Both user name and Password are required Fields.
    When user left these items Empty To show Alert
    I Created Below Procedure and Called in Form_Level ON-ERROR Trigger.
    PROCEDURE pcd_io_alert IS
         itm_name VARCHAR2(20);
    BEGIN
         IF Error_type ='FRM' AND Error_code = 40202 THEN
         Message(get_item_property(NAME_IN('SYSTEM.CURSOR_item'), PROMPT_TEXT )||' Should
    Not Be Empty');
         SET_ALERT_PROPERTY('ALT_IO',ALERT_MESSAGE_TEXT,
              (get_item_property(NAME_IN('SYSTEM.CURSOR_item'), PROMPT_TEXT ))||' Should Not
    Be Empty');
         itm_name := Show_alert('ALT_IO');               
    RAISE FORM_TRIGGER_FAILURE;
         END IF;
    END;
    It working fine.
    Could You Tell how to call or create this procedure as Library functions and call the created library in form To SHow Alert. Actually I want to create library functions to Validate and Show Alert Mesages.
    Regards
    R.MaheshBabu.

    Hello,
    Could you give Some examples or links related to how To create and call library functions For validate Items..For creation you already created one procedure and you called on error. So for creation and call it is clear. Now you are talking about validation for items. It depends on your requirement. As you check validation in items's triggers you can also check validation in function/procedure of library. You can use parameter to pass values and check the validations. And you can create the procedure/function in library like this...
    PROCEDURE My_Proc(Parameter_Name IN DATATYPE) IS
      Variables Declarations...
    BEGIN
      -- Here check the validation on the passed value.
    EXCEPTION
      -- Exception Handling part...
    END;
    FUNCTION My_Proc(Parameter_Name IN DATATYPE) RETURN DATATYPE IS
      Variables Declarations...
    BEGIN
      -- Here check the validation on the passed value.
      RETURN <ANY VALUE>;
    EXCEPTION
      -- Exception Handling part...
    END;
    Is it Possible to use system variable ':system.cursor_value' while creating PL/sql library functions?Yes, because it is clear as you used for CURRENT_ITEM like NAME_IN('SYSTEM.CURSOR_item') so you can use SYSTEM VARIABLES.
    -Ammad

  • Want to Create one PO for multiple Items ..........?

    HI Guy's,
    I am creating PO thorough  Bapi.
    It is also successfully ......
    But here I am not  able to create multiple ITEMS as in transaction ME22 for creating PO.
    For that what can I do ..........
    Greeting's of he Day.
    Ankit Singh Rathore

    hi,
    check this...
    *&      Form  CREATE_PO
          Creating PO
    -->  p1        text
    <--  p2        text
    FORM CREATE_PO .
    DATA: HEAD LIKE BAPIMEPOHEADER,
           HEADX LIKE BAPIMEPOHEADERX,
           ITEM LIKE BAPIMEPOITEM OCCURS 0 WITH HEADER LINE,
           ITEMX LIKE BAPIMEPOITEMX OCCURS 0 WITH HEADER LINE,
           SCHEDULE LIKE BAPIMEPOSCHEDULE OCCURS 0 WITH HEADER LINE,
           SCHEDULEX LIKE BAPIMEPOSCHEDULX OCCURS 0 WITH HEADER LINE,
           CONDITION LIKE BAPIMEPOCONDHEADER OCCURS 0 WITH HEADER LINE,
           CONDITIONX LIKE BAPIMEPOCONDHEADERX OCCURS 0 WITH HEADER LINE,
           RETURNS LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
           POPARTNER LIKE BAPIEKKOP OCCURS 0 WITH HEADER LINE.
    DATA: V_EKGRP TYPE MARC-EKGRP.
    DATA: BEGIN OF IT_WRITE OCCURS 0,
           MESSAGE LIKE BAPIRET2-MESSAGE,
           END OF IT_WRITE.
    DATA: V_EKORG TYPE EKORG.
    DATA: V_MAKT LIKE MAKT-MAKTX.
    DATA: V_MEINS TYPE MEINS.
    DATA: V_REMANT TYPE MATNR,
           V_LINT TYPE MATNR,
           V_LDESC TYPE MAKTX,
           V_RDESC TYPE MAKTX,
           V_LMEINS TYPE MEINS,
           V_RMEINS TYPE MEINS,
           V_LMENGE TYPE ZMENGE,
           V_RMENGE TYPE ZMENGE.
      CONCATENATE ZMMHGAGREMENT-MATNR+0(9) 'L' INTO V_LINT.
      CONCATENATE ZMMHGAGREMENT-MATNR+0(9) 'W' INTO V_REMANT.
      SELECT SINGLE MEINS FROM MARA INTO V_MEINS WHERE MATNR = ZMMHGAGREMENT-MATNR.
      SELECT SINGLE DCODE FROM ZMMDYNCODE INTO V_MAKT WHERE MATNR = ZMMHGAGREMENT-MATNR
                                                        AND ZYEAR = ZMMHGAGREMENT-PYEAR
                                                       AND SEASON = ZMMHGAGREMENT-PSEASON.
      IF SY-SUBRC NE 0.
      SELECT SINGLE MAKTX FROM MAKT INTO V_MAKT WHERE MATNR = ZMMHGAGREMENT-MATNR.
      ENDIF.
    SELECT SINGLE EKORG FROM T001W INTO V_EKORG WHERE WERKS = I_PPLANT.
    V_BUKRS = ZMMHGAGREMENT-PPLANT+0(1).
    CONCATENATE ZMMHGAGREMENT-PPLANT+0(1) '011' INTO V_BUKRS.
      V_CHAR = V_BUKRS+0(2).
      V_EKORG = V_BUKRS.
      CONCATENATE V_CHAR '0' INTO V_EKGRP.
    *POHEAD
       HEAD-COMP_CODE = V_BUKRS.
       HEAD-DOC_TYPE = 'ZREG'.
       HEAD-VENDOR = V_LIFNR.
       HEAD-PURCH_ORG = V_EKORG.
       HEAD-PUR_GROUP = V_EKGRP.
       HEAD-DOC_DATE = ZMMHGAGREMENT-ZDATE. "I_ADATE.
       HEADX-COMP_CODE = 'X'.
       HEADX-DOC_TYPE = 'X'.
       HEADX-VENDOR = 'X'.
       HEADX-PURCH_ORG = 'X'.
       HEADX-PUR_GROUP = 'X'.
       HEADX-DOC_DATE = 'X'.
    *POITEM
        ITEM-PO_ITEM = '10'.
        ITEM-MATERIAL = ZMMHGAGREMENT-MATNR..
        ITEM-SHORT_TEXT = V_MAKT.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = ZMMHGAGREMENT-MENGE.
        ITEM-PO_UNIT = V_MEINS.
        ITEM-NET_PRICE = ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '10'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '10'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = ZMMHGAGREMENT-MENGE..
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '10'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '10'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZMMHGAGREMENT-NETPR..
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '10'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    IF ZMMHGAGREMENT-MATNR+9(1) = 'K'.
    *POITEM
          V_RDESC TYPE MAKTX,
          V_LMEINS TYPE MEINS,
          V_RMEINS TYPE MEINS.
    SELECT SINGLE MEINS FROM MARA INTO V_LMEINS WHERE MATNR = V_LINT.
    SELECT SINGLE MAKTX FROM MAKT INTO V_LDESC WHERE MATNR = V_LINT.
    V_LMENGE = ( ( ZMMHGAGREMENT-MENGE * 50 ) / 100 ).
        ITEM-PO_ITEM = '20'.
        ITEM-MATERIAL = V_LINT.
        ITEM-SHORT_TEXT = V_LDESC.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = V_LMENGE.
        ITEM-PO_UNIT  = V_LMEINS.
        ITEM-NET_PRICE = ZPPPRDPOLICY-LRATE."ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '20'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '20'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = V_LMENGE.
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '20'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '20'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZPPPRDPOLICY-LRATE.
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '20'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    ADDING REMNANT TO PO IF REMNANT VALUE IS MAINTAINED IN PO
    IF NOT ZPPPRDPOLICY-RCENT IS INITIAL.
         SELECT SINGLE MEINS FROM MARA INTO V_RMEINS WHERE MATNR = V_REMANT.
         SELECT SINGLE MAKTX FROM MAKT INTO V_RDESC WHERE MATNR = V_REMANT.
         V_RMENGE = ( ( ZMMHGAGREMENT-MENGE * ZPPPRDPOLICY-RCENT ) / 100 ).
        ITEM-PO_ITEM = '30'.
        ITEM-MATERIAL = V_REMANT.
        ITEM-SHORT_TEXT = V_RDESC.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = V_RMENGE.
        ITEM-PO_UNIT  = V_RMEINS.
        ITEM-NET_PRICE = ZPPPRDPOLICY-RRATE."ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '30'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '30'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = V_RMENGE.
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '30'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '30'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZPPPRDPOLICY-RRATE.
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '30'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    ENDIF.
    ELSE.
    IF NOT ZPPPRDPOLICY-RCENT IS INITIAL.
    SELECT SINGLE MEINS FROM MARA INTO V_RMEINS WHERE MATNR = V_REMANT.
         SELECT SINGLE MAKTX FROM MAKT INTO V_RDESC WHERE MATNR = V_REMANT.
         V_RMENGE = ( ( ZMMHGAGREMENT-MENGE * ZPPPRDPOLICY-RCENT ) / 100 ).
        ITEM-PO_ITEM = '20'.
        ITEM-MATERIAL = V_REMANT.
        ITEM-SHORT_TEXT = V_RDESC.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = V_RMENGE.
        ITEM-PO_UNIT  = V_RMEINS.
        ITEM-NET_PRICE = ZPPPRDPOLICY-RRATE."ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '20'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '20'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = V_RMENGE.
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '20'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '20'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZPPPRDPOLICY-RRATE.
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '20'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    ENDIF.
    ENDIF.
    FOR PARTNER FUNCTION
       POPARTNER-PARTNERDESC =  'VN'.
       POPARTNER-LANGU = 'EN' .
       POPARTNER-BUSPARTNO =  ZMMHGAGREMENT-GNUMBER.
       APPEND POPARTNER.
      POPARTNER-PARTNERDESC =  'PI'.
      POPARTNER-LANGU = 'EN' .
    IF ZPAYMENT-PAYMENT = '1'. "V_PAYMENT = '1'.   ".
      POPARTNER-BUSPARTNO =  ZMMHGAGREMENT-ONUMBER.
    ELSE.
    POPARTNER-BUSPARTNO =  ZMMHGAGREMENT-GNUMBER.
    ENDIF.
    APPEND POPARTNER.
    *BREAK SAPUSER..
      CALL FUNCTION 'BAPI_PO_CREATE1'
      EXPORTING
        POHEADER                     = HEAD
       POHEADERX                     =  HEADX
      POADDRVENDOR                 =
      TESTRUN                      =
    IMPORTING
       EXPPURCHASEORDER              = I_PNO
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                        = RETURNS
       POITEM                        = ITEM
       POITEMX                       = ITEMX
      POADDRDELIVERY               =
       POSCHEDULE                    = SCHEDULE
       POSCHEDULEX                   = SCHEDULEX
       POCONDHEADER                  = CONDITION
       POCONDHEADERX                 = CONDITIONX
       POPARTNER                     = POPARTNER.
    POCOND                       =
    POCONDX                      =
    POLIMITS                     =
    IF NOT I_PNO IS INITIAL.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ELSE.
    LOOP AT RETURNS WHERE TYPE = 'E'..
    IT_WRITE-MESSAGE = RETURNS-MESSAGE.
    APPEND IT_WRITE.
    ENDLOOP.

  • Create Multiple tasks for Single Item in List using state machine workflow in sharepoint

    Hi,
    I want to create multiple create tasks for Single Item in List based on Assigned to column using state machine Workflow through visual studio
    Here Assigned to column allows multiple users. so i have to create task for every user based on column .
    I'm trying for this but i didn't got any solution
    Please provide solution for this.

    Hi,
    According to your post, my understanding is that you wanted to allow multiple users to approve.
    There are some articles about creating parallel tasks in state machine workflow, you can have a look at them.
    http://www.codeproject.com/Articles/477849/Create-Parallel-Task-in-State-Machine-Workflow-in
    http://msdn.microsoft.com/en-us/library/office/hh128697(v=office.14).aspx
    http://social.technet.microsoft.com/Forums/office/en-US/b16ee858-4360-479a-a686-4ee35b7be9db/sharepoint-2010-workflow-creating-multiple-tasks?forum=sharepointdevelopmentprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to create production order for multiple items having common raw materia

    Dear all,
    We are running a sheet metal fabrication company at Vadodara Gujrat.
    Please guide us how to create single production order for multiple items using single raw material??
    For example, We want to produce baby shirt(item code AAA001), shirt with full sleeve(item code AAA002), shirt with half sleeve(item code AAA003),shirt slim fit (item code AAA004),shirt loose fit(item code AAA005) from single raw material say(item code XXX001).
    Right now we have to create 5 production order to produce above 5 items of single sales order  in SAP B1 though it is made from single raw material which is foolishness and time consuming too. (Please also note that to produce any finfish good item, raw material required for that item may vary every time in our process.)
    Kindly guide us how to solve the problem.
    Thanks.
    RUPESH  +91-9227744273
    WEB : www.gorasia.co.in

    Hi Rupesh Gorashiya,
    This is possible through MRP for that you have to put Sales Order first and Run MRP Wizard
    MRP Wizard Put Multi Production Order as per Item Taking in Sales Order just click it on and execute.
    Thanks,
    Srujal Patel

  • Create wip jobs for same item with different routings.

    My scenario is , i am having 2 production lines for the same End item. If both lines are available to use, then WIP jobs have to be created for both lines. If either one is available then WIP job has to be created only for that line. Please suggest the setups for this. This way i can increase the production rate.

    HI Jey-2013,
    In your organization, you first need to define Bills and Routings for the item/items.  Now to use two routings for 1 item, you need to define Alternate Routing.
    For that go to BOM>Setup> Alternates and create an Alternate name for the second routing.
    Then Go again to BOM>routing and use the Alternate name for the item to create a different Routing. After that you will have two different routings for same item.
    Whenever you create a job in WIP, you will have an option to choose either the default or the original routing. This way you can accomplish your goal of using different routings as and when required. Hope this helps you. Kindly let me know
    Regards,
    Bhargav

  • Account assignment question (for subcontracting item category)

    Hello
    Is it possible to have a account assignment category with a consumption posting indicator V work with a subcontracting item category L?
    Our scenario is that a SD item category TAB auto generates a Subcontracting PO with account assignment M and item category L.
    The problem with account assignment M is that it references sales order, and does not propose BOM component material/quantity, like a standalone subcontracting movement (541 reference to PO)
    We want to issue components to the subcontractor referencing a PO, and maintain visibility thru ME2O (Which account assignment M wont allow).
    Is this possible ?
    I tried tweaking the account assignment category M by changing the consumption posting indicator to V.
    This allowed me to do the subcontracting issue 541 movement referencing a PO.
    However, I got 2 accounting errors at MIGO.
    No direct postings possible to G/L account 03-010
    I then changed the FS00 settings to allow direct postings, but got the next error and was stuck. I guess if these accounts are postable, my problem is solved but I don’t know how to do that!
    Acct. 03-010 for trans./event key BSX, postable directly
    If anyone is knowledgeable on account assignments or knows how I can solve these, I would greatly appreciate your input.
    Regards
    Ken

    Thanks for replying again, Gopala.
    Let me clarify, the SAP error I am receiving is at MIGO, following the successful transfer posting at MB1B (mtype 541 referencing the PO number. If I can get the proper account postings at MIGO (as in a standalone MM subcon scenario) here, my problem is resolved.
    When I hit post at MIGO (Finished Product mov type +101/Component reduction is -543 O) I receive the error "Acct. 03-010 for trans./event key BSX, postable directly " I then goto FS00 (G/L accounts) and uncheck the 'post automatically only' box. But then when I goto re-post at MIGO, I get the message
    "No direct postings possible to G/L account 03-010"
    So I am stuck in this circular error.
    Is this correctable?
    Thanks Again
    Ken

  • R12 - API to Create Serial Numbers for Ordered Item in Receipt

    Hello All,
    I got a requirement to create PO Receipt using PL/SQL code. For that i have created PL/SQL code to insert data in following Interface tables,
    a) rcv_headers_interface
    b) rcv_transactions_interface
    After inserting data in Interface table executed Concurrent Program "Receiving Transaction Processor" to process data from Interface table to Base Table. This process is working perfectly fine for "Non-Catalog" requests. But if i try to process any PO having Inventory Item whose Serial Control is set to "At Receipt" then i got following error at Interface table,
    "Fail to validate serials".
    To resolve this issue i need to create and process serial number for Ordered Item selected to Receive. Can anyone guide me regarding how can I generate Serial Numbers using API for PO Receipts.
    Regards,
    Priyanka

    Hi,
    Just populate mtl_serial_numbers_temp table correctly (by specifying transaction_temp_id = RTI.interface_transaction_id)
    and serial number range in fm_serial_number - to_serial_number respectively.
    You may entermultiple MSNT records with same transaction_temp_id.
    You may need to populate PRODUCT_TRANSACTION_ID = RTI.interface_transaction_id and PRODUCT_CODE = 'RCV'.
    Oracle will create all the serial numbers for you when the records get processed.
    Thanks,
    Hrishi

  • LSMW - create Scheduling Agreement for subcontracting position type

    Hi all,
    I want to use LSMW to create a scheduling agreement with position type L (subcontracting).
    I'm using Business Object Method BAPI with
    Business Object      BUS2013     
    Method               CREATE
    Message Type         PURSAG_CREATE
    Basic Type           PURSAG_CREATE01
    The LSMW creates the scheduling agreement with the list of material I inserted in my file but with position type 'blank'.
    any ideas?
    i read that the standard program RM06EEI0 don't support subcontracting, this is the reason of BAPI.
    thanks, MG

    Hi gurus!
    I forgot to put 'X' in E1BPMEOUTITEMX-ITEM_CAT so, even if i mapped the field, it was not updated.
    thanks a lot.
    problem solved.
    MG

  • How to create test scenario for KIT Item?

    Hi All,
    I want to test how KIT Functionality works in OM. I have tried looking into User Guides / Web but I am not able to get specific functionality related to KIT Item testing in OM.
    If anyone has idea of how KIT item works and what are the setups required to perform in the system related to KIT, which Transaction Type we need to use, etc. it will be great.

    Vishal,
    I'm not sure if you're familiar with the CTO processes in Oracle (if not check out the CTO user guide/manual), but kits work very similarly in that they have a bill of material structure and the components are optionally exploded to the sales order pad on saving/booking (depending on the setting of the profile option OM: Included Item Freeze Method).
    Each line has its own workflow in OM - again, in the same way as a configuration does except that in the case of a kit all of the components are required.
    I've sent you a sample test script to your email address.
    Regards,
    Jon

  • Item availability for selected items and directly create the delivery

    Hi All,
    For a very big sales order ..lets say having 700 line items ...is there any convenient way to create the delivery for selected items ..e.g. 30-40 line items rather going and selecting the line items then doing the item availability.
    do you have any LSMW format by which we can do the item availability for selected items and directly create the delivery.
    kindly Guide me..
    With Regards
    Azeez.Mohd

    Hi ,
    There is no stand way of doing it . You need to take help of abaper to do this :
    1. Create a t code where if you give sale order number , it displays a report with all the items with a check box near to it as we see in SE16 .
    2. This report could be best in ALV form where users can do "ctr+f" and search only the required materials then select those lines and press a button on the top of report .
    3. Once the button is pressed , program will run vL01n ( create delv in backgrnd) in a BDC form . At time of delev creating , the bdc program in backgrnd uses only those items which were selected by user and not the other items .
    4. Program will create a delv using a BDC in background and return the delv number for user to view tht.
    U can also try using FM : RV_DELIVERY_CREATE to create delv in backgrnd after user selection if BDC is getting tricky.
    Hopefully ,this shuld work and will be a easy process for the customers.
    Let us know the outcome .. .
    B O L ..
    Hope this Helps !!!

Maybe you are looking for

  • How do I set up my phone to use in Europe

    how do I set up my phone now that i am in Europe and not in the USA

  • OBIEE web services: unable to get an html working report

    Hi all, I am trying to get an html report using the OBIEE webservices and I am facing some problems when I try display the report. I have browsed a lot of websites and my conlusion is thah I might have missed the setBridge method even if I haven't re

  • Creating data server for Hyperion Shared Services (HSS)

    Hey Gang, Has anyone had experience in creating a Data Server for Hyperion Shared Services (HSS) using the java API? I know HSS uses Native Directory, but to be compliant the Hyperion folks recommend using the java API strictly to get access to the u

  • File error - FORMAT TOO NEW

    I am very stuck at the moment. I am helping a uni student with a project in edits and this " "File's format is too new for this version of the application" message comes up but I have made sure the FCP versions were the same and they are. I have FCP

  • Safari can't open some links

    When I browse the Apple website with Safari, some links don't work (e.g. the feedback pages). The only way to make them work is to turn off java script, but that's not a real solution. With Firefox everything works fine. Has anybody else experienced