PO line item condition not getting changed

I am trying to change one condition in PO line item via BAPI_PO_CHANGE. It is not getting changed.
But the return message says Ind. limited tend PO 7100076060 changed, S (type),06 (ID), 023(Number).
The code is
zpo_cond-condition_no  =  itab-knumv. (1001384871)
zpo_condx-condition_no =  itab-knumv.(1001384871)
zpo_cond-cond_st_no   =  itab-stunr.(960)
zpo_condx-cond_st_no  =  itab-stunr.(960)
zpo_condx-cond_st_nox = 'X'.
zpo_cond-cond_count   =  itab-zaehk .(01)
zpo_condx-cond_count  =  'X'.
zpo_cond-itm_number   = itab-ebelp.(000010)
zpo_condx-itm_number  = itab-ebelp.(000010)
zpo_condx-itm_numberx = 'X'.
zpo_cond-cond_type  =  itab-kschl.(ZI%)
zpo_condx-cond_type  = 'X'.
zpo_cond-cond_value =  p_per.(6.000000000)
zpo_condx-cond_value =  'X'.
zpo_cond-cond_p_unt  = punit .
zpo_condx-cond_p_unt = 'X'.
zpo_cond-cond_unit =  unit.
zpo_condx-cond_unit = 'X'.
zpo_cond-change_id = 'U'.
zpo_condx-change_id = 'X'.
APPEND zpo_cond.
APPEND zpo_condx.
      CALL FUNCTION 'BAPI_PO_CHANGE'
         EXPORTING
           purchaseorder                = zpo_header-po_number
           poheader                     = zpo_header
           poheaderx                    = zpo_headerx
        TABLES
          return                        = l_return
          poitem                        = zpo_item
          poitemx                       = zpo_itemx
           pocond                       =  zpo_cond
           pocondx                      =  zpo_condx  .

Hi,
1)In po item give a unique no.(ex:0010) & ITEMX as a new line item with same no will be created.
2) service No. will be system generated. Pass packno = variable(ex:= '0000000001' ),
subpackno=variable +1 (ex: '0000000002' )
thanks & regards.

Similar Messages

  • TDS line items are not getting reflected in J1INCHLN

    Hi Experts,
    While generating TDS challan we are not getting advance line items in J1INCHLN screen
    We made one advance payment which included 2 payment line items and two different tax codes, while generating TDS challan its is showing only one TDS line item that is Rs.1000/-, another TDS line item of Rs.966/- is not showing.
    Below is the example
    XYZ                                                                         43,000.00
    XYZ                                                                         46,000.00
    Bank                                                                        96,329.00-
    S/Tax Interim-In Cr                                                    5,160.00
    S/Tax Interim-In Cr                                                   3,864.00
    ST Interim E.C-In Cr                                                 103.00
    ST Interim E.C-In Cr                                                 77.00
    ST Inter H E.C-In Cr                                                 52.00
    ST Inter H E.C-In Cr                                                 39.00
    TDS Pble Contractors                                              966.00-
    TDS Pble Contractors                                              1,000.00-
    I checked the below possibilities for reason why its not getting reflected
    Vendor master having recipient type
    WITH_ITEM table updated with recipient type
    In the line item also having Business Place and section code
    Please suggest me is there any way to resolve the issue.
    Thanks & Regards,
    AIM

    Hi,
    Check whether the recipient type CO or OT is updated in With_item table for the line items that are missing in J1INCHLN.
    If Recipient type is not maintained in vendor master, at the time of posting the entry, then it does not get picked up in J1INCHLN. Even if you maintain in Vendor master later on, the With_item table does not get updated. This is one of the reasons why the line items does not get picked up in J1INCHLN. Check this, as you are confirming that Business Place, Section code etc.. are all present in line items and also that it is appearing correctly in With_item table.
    Regards
    Divya S

  • 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.

  • Line item is not getting saved automatically

    Hi experts,
                     I have written below bdc program for Tcode cs01.
    REPORT ZM_BDC_CSO1
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    TYPE-POOLS: TRUXS.
    TYPE-POOLS: SLIS.
    CONSTANTS C_X(1) TYPE C VALUE 'X'.
    DATA: GT_HEADERT  TYPE SLIS_T_LISTHEADER,
          GS_HEADERT TYPE SLIS_LISTHEADER.
    DATA : FNAME TYPE STRING.
    DATA : WLV_FILE TYPE RLGRAP-FILENAME.
    *DATA : WT_TEST LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA : T_INTERN TYPE STANDARD TABLE OF ALSMEX_TABLINE,
           W_INTERN TYPE ALSMEX_TABLINE.
    TYPES : BEGIN OF X_MAT,
                 MATNR(18) TYPE C,
                 PLANT(4) TYPE C,
                 BOM_USAGE TYPE STLAN,
            END OF X_MAT.
    TYPES : BEGIN OF X_BOM,
                 MATNR1(18) TYPE C,
                 ITM_NO(4) TYPE C,
                 ITM_CAT(1) TYPE C,
                 BOM_COMP(18) TYPE C,
                 QTY(18) TYPE C,
            END OF X_BOM.
    DATA : T_MAT TYPE STANDARD TABLE OF X_MAT,
           W_MAT TYPE X_MAT.
    DATA : T_BOM TYPE STANDARD TABLE OF X_BOM,
           W_BOM TYPE X_BOM.
    DATA :   FNAM(30) TYPE C.
    DATA :  CNT TYPE STRING,
            VAR(2) TYPE C .
    DATA : INI TYPE C VALUE '0' .
    DATA: NEW_MARK TYPE BDCDATA-FNAM.
    DATA: COUNTER TYPE I.
    DATA : ITEM_NO(4) TYPE N.
    DATA :  IDXL TYPE SY-TABIX.
    DATA : GV_PFILE TYPE STRING.
    DATA : GV_RAW TYPE TRUXS_T_TEXT_DATA.
    DATA : GV_FILE TYPE RLGRAP-FILENAME,
           GV_FLAG(1) TYPE C.
    DATA : GW_BDCDATA  TYPE BDCDATA,
           GT_BDCDATA  TYPE STANDARD TABLE OF BDCDATA.
    DATA: GS_RETURN TYPE YV_MESSAGES,
          GT_RETURN TYPE STANDARD TABLE OF YV_MESSAGES.
    DATA: GV_MTEXT TYPE STRING.
    DATA: GW_FIELDCAT        TYPE SLIS_FIELDCAT_ALV,
          GT_HEADERFIELDCAT  TYPE SLIS_T_FIELDCAT_ALV.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_PATH TYPE RLGRAP-FILENAME,
                 P_MODE TYPE CTU_PARAMS-DISMODE DEFAULT 'A'.
    SELECTION-SCREEN: END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PATH.
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       IMPORTING
         FILE_NAME           = P_PATH .
    INITIALIZATION.
      REFRESH: T_MAT, T_BOM,T_INTERN.
      CLEAR: W_MAT,W_BOM,W_INTERN,IDN,FLAG.
    *DATA :  T_INTERN TYPE STANDARD TABLE OF ALSMEX_TABLINE.
    START-OF-SELECTION.
      PERFORM UPLOAD_FILES.
      PERFORM BOM_UPLOAD.
      PERFORM ITEM_DATA.
      PERFORM DISPLAY_LOG.
    *&      Form  BOM_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM BOM_UPLOAD.
      SORT T_INTERN BY ROW COL.
      LOOP AT T_INTERN INTO W_INTERN.
        CASE W_INTERN-COL.
          WHEN 1.
            W_MAT-MATNR = W_INTERN-VALUE.
            W_BOM-MATNR1 = W_INTERN-VALUE.
          WHEN 2.
        W_BOM-PLANT = W_INTERN-VALUE.
            W_MAT-PLANT = W_INTERN-VALUE.
          WHEN 3.
        W_BOM-BOM_USAGE = W_INTERN-VALUE.
            W_MAT-BOM_USAGE = W_INTERN-VALUE.
          WHEN 4.
            W_BOM-ITM_NO = W_INTERN-VALUE.
          WHEN 5.
            W_BOM-ITM_CAT = W_INTERN-VALUE.
          WHEN 6.
            W_BOM-BOM_COMP = W_INTERN-VALUE.
          WHEN 7.
            W_BOM-QTY = W_INTERN-VALUE.
        ENDCASE.
        AT END OF ROW.
          APPEND W_BOM TO T_BOM.
          APPEND W_MAT TO T_MAT.
          CLEAR : W_BOM, W_MAT.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " BOM_UPLOAD
    *&      Form  ITEM_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM ITEM_DATA.
      DATA : INT TYPE I.
      DELETE ADJACENT DUPLICATES FROM T_MAT COMPARING MATNR.
      SORT T_MAT BY MATNR. "HEADER DATA
      SORT T_BOM BY MATNR1. "ITEM DATA
    *CLEAR : COUNTER, ITEM_NO.
    *break naresh.
      LOOP AT T_MAT INTO W_MAT.
        REFRESH GT_BDCDATA.
        CLEAR   GW_BDCDATA.
        PERFORM HEADER_DETAILS.
        LOOP AT T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
          CNT = CNT + 1.
          if CNT LE 9.
          CONCATENATE  '0' CNT INTO VAR.
          ELSE.
          VAR = CNT.
          ENDIF.
          ADD 1 TO COUNTER.
          ITEM_NO = 10 * COUNTER.
          OVERLAY ITEM_NO WITH '0000'.
          W_BOM-ITM_NO = ITEM_NO.
          PERFORM ITEMSET1.
          CLEAR VAR.
          PERFORM SCREEN1.
        ENDLOOP.
        CLEAR V_CNT.
        PERFORM SCREEN_DATA.
      ENDLOOP.
    ENDFORM.                    " ITEM_DATA
    *&      Form  HEADER_DETAILS
          text
    -->  p1        text
    <--  p2        text
    FORM HEADER_DETAILS.
      PERFORM BDC_DYNPRO      USING 'SAPLCSDI' '0100'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RC29N-STLAN'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM BDC_FIELD       USING 'RC29N-MATNR' W_MAT-MATNR.
                                 'lejn44001'.
      PERFORM BDC_FIELD       USING 'RC29N-WERKS' W_MAT-PLANT.
                                 '4600'.
    PERFORM BDC_FIELD       USING 'RC29N-STLAN' W_MAT-BOM_USAGE.
                                 '1'.
    PERFORM BDC_FIELD       USING 'RC29N-STLAN' '1'."W_MAT-BOM_USAGE.
                                 '1'.
    *perform bdc_field       using 'RC29N-DATUV'
                                 '22.06.2010'.
      PERFORM BDC_DYNPRO      USING 'SAPLCSDI' '0110'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM BDC_FIELD       USING 'RC29K-BMENG'
                                    '1'.
      PERFORM BDC_FIELD       USING 'RC29K-STLST'
                                    '1'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RC29K-EXSTL'.
      PERFORM BDC_DYNPRO      USING 'SAPLCSDI' '0111'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RC29K-LABOR'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '/00'.
    ENDFORM.                    " HEADER_DETAILS
    FORM UPLOAD_FILES.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_PATH
          I_BEGIN_COL                   = 1
          I_BEGIN_ROW                   = 2
          I_END_COL                     = 7
          I_END_ROW                     = 100
        TABLES
          INTERN                        = T_INTERN
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF SY-SUBRC <> 0.
        WRITE 'Path of Excel file is not correct'.
        EXIT.
      ENDIF.
    ENDFORM.                    " UPLOAD_FILES
    FORM DISPLAY_LOG.
      DATA: LV_LAYOUT TYPE SLIS_LAYOUT_ALV.
    Design the layout
      LV_LAYOUT-ZEBRA = C_X. " alternative coloured lines
      LV_LAYOUT-COLWIDTH_OPTIMIZE = C_X. " Optimized column width
    Delete all warning messages
    DELETE IT_return WHERE Mtype = 'W' or Mtype = 'I'.
    Build Field Catalog
      PERFORM BUILD_FIELD_CATALOG.
    Display Log details
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM     = SY-CPROG
                I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
                IS_LAYOUT              = LV_LAYOUT
                IT_FIELDCAT            = GT_HEADERFIELDCAT[]
           TABLES
                T_OUTTAB               = GT_RETURN[]
           EXCEPTIONS
                PROGRAM_ERROR          = 1
                OTHERS                 = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF. "SY-SUBRC <> 0.
      REFRESH GT_HEADERT.
      CLEAR   GS_HEADERT.
    ENDFORM.                    " DISPLAY_LOG
    FORM BUILD_FIELD_CATALOG.
    ENDFORM.                    " BUILD_FIELD_CATALOG
    FORM BDC_DYNPRO USING PROGRAM TYPE SY-REPID DYNPRO TYPE SY-DYNNR.
      CLEAR GW_BDCDATA.
      GW_BDCDATA-PROGRAM  = PROGRAM.
      GW_BDCDATA-DYNPRO   = DYNPRO.
      GW_BDCDATA-DYNBEGIN = 'X'.
      APPEND GW_BDCDATA TO GT_BDCDATA.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM TYPE ANY FVAL TYPE ANY.
      IF FVAL <> ''.
        CLEAR GW_BDCDATA.
        GW_BDCDATA-FNAM = FNAM.
        GW_BDCDATA-FVAL = FVAL.
        APPEND GW_BDCDATA TO GT_BDCDATA.
      ENDIF.
    ENDFORM.                    "BDC_FIELD
    FORM ITEMSET1.
    *cnt = '(01)'.
    *************commented******************
      PERFORM BDC_DYNPRO      USING 'SAPLCSDI' '0140'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RC29P-POSTP(03)'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '/00'.
    **********28.06.2010**********************
      CONCATENATE 'RC29P-IDNRK(' VAR ')' INTO NEW_MARK.
      PERFORM BDC_FIELD USING NEW_MARK W_BOM-BOM_COMP.
      CLEAR NEW_MARK.
    *perform bdc_field       using 'RC29P-IDNRK(cnt)' W_BOM-BOM_COMP.
                                 'purchasecost'.
    *perform bdc_field       using 'RC29P-MENGE(01)' W_BOM-QTY.
                                 '20'.
      CONCATENATE 'RC29P-MENGE(' VAR ')' INTO NEW_MARK.
      PERFORM BDC_FIELD USING NEW_MARK W_BOM-QTY.
      CLEAR NEW_MARK.
    *perform bdc_field       using 'RC29P-POSTP(VAR)' W_BOM-ITM_CAT.
                                 'Z'.
      CONCATENATE 'RC29P-POSTP(' VAR ')' INTO NEW_MARK.
      PERFORM BDC_FIELD USING NEW_MARK W_BOM-ITM_CAT.
      CLEAR NEW_MARK.
    ********************************28.06.2010************
    *perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'RC29P-POSNR'.
    *perform bdc_field       using 'RC29P-POSNR' W_BOM-ITM_NO.
                                 '0010'.
    *perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'RC29P-POTX1'.
    *perform bdc_field       using 'RC29P-SANKA'
                                 'X'.
    *perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'RC29P-POSNR(01)'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=FCBU'.
    ENDFORM.                                                    " itemset1
    *&      Form  screen_data
          text
    -->  p1        text
    <--  p2        text
    FORM SCREEN_DATA.
      CALL TRANSACTION 'CS01'  USING GT_BDCDATA  MODE  P_MODE UPDATE  'S'
                                         MESSAGES INTO GT_MESSAGES .
    ENDFORM.                    " screen_data
    *&      Form  SCREEN1
          text
    -->  p1        text
    <--  p2        text
    FORM SCREEN1.
      PERFORM BDC_DYNPRO      USING 'SAPLCSDI' '0130'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RC29P-POSNR'.
      PERFORM BDC_FIELD       USING 'RC29P-POSNR' W_BOM-ITM_NO.
                                 '0010'.
      PERFORM BDC_FIELD       USING 'RC29P-IDNRK' W_BOM-BOM_COMP.
                                 'PURCHASECOST'.
      PERFORM BDC_FIELD       USING 'RC29P-MENGE' W_BOM-QTY.
                                 '20'.
      PERFORM BDC_FIELD       USING 'RC29P-MEINS'
                                    'M'.
      PERFORM BDC_DYNPRO      USING 'SAPLCSDI' '0131'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RC29P-POTX1'.
      PERFORM BDC_FIELD       USING 'RC29P-SANKA'
                                    'X'.
    ENDFORM.                                                    " SCREEN1
    evrything is working fine. but after processing the line items for one material no. i need to save it manually then it goes back to initial screen and process takes place for the subsequesnt material no.
    e.g
    Material             BOM component   QUANTITY
    LEJN2689     PURCHASECOST     500
    LEJN2689     SOURCINGCOST     
    LEJN2689     INVRESERVE     
    LEJN2690     PURCHASECOST     600
    LEJN2690     SOURCINGCOST     
    LEJN2690     INVRESERVE     
    the above is the file type i am providing.
    for material LEJN2689 the component and quantity is uploaded but i have to click on 'save' button manuaaly then cursor goes back to initial screen for material LEJN2690.
    plz help.
    Regards,
    Ashmita Singh

    solved it!!!

  • Asset Line items are not updating in table ANEP

    Hi friends,
    I found that asset line items are not getting updated in ANEP table,.
    This is my precedure for posting of depreciation.
    I'll create Asset through AS01, then i'll use the T.Code: F-90.. then i'll run the depreciation program thru t.Code: AFAB.
    In but i am unable to capture the values of Planned and Depreciated or Posted values in ANEP.. Is there is any other table for this...
    Where is the mistake in my process..
    thanks in advance..
    Naveen

    HI Naveen
    The FI-AA documents are stored in tables ANEK (document header), ANEP (document line items) and ANEA (proportional values). You can use FI-AA standard report RABEWG_ALV01 to list all transactions to an asset in one fiscal year, and report RAABGA_ALV01 to list only retirement postings.
    ANEA should be the solution you are looking for.
    Hope it helps!
    Cheers
    Z

  • Item data not getting populated correctly

    Hi All,
    I am using the following code to fill item data while creating order using BAPI_BUSPROCESSND_CREATEMULTI.
    loop.
    *----Fill the Item details
    lv_number = lv_number + 10.
    lv_schdno = lv_cshdno + 1.
      ls_item-handle            = '0000000001'.
      ls_item-header_handle     = '0000000001'.
      ls_item-ordered_prod      = lv_ordered_prod.  "material
      ls_item-number_int        = lv_number.
      INSERT ls_item INTO TABLE lt_item.
    *----Fill the Scheduline Details
      ls_scheduleline-item_handle      = '0000000001'.
      ls_scheduleline-handle           = '0000000001'.
      ls_scheduleline-quantity         = lv_quan.
      ls_scheduleline-schedlin_no      = lv_schdno.
      INSERT ls_scheduleline INTO TABLE lt_scheduleline.
    endloop.
    Order is getting created fine but it has only the last item. Previous line items are not getting added to the order. Do I need to pass any other parameters ot the item or scheduleline table?
    Please help me.
    Thanks in Advance!
    Sonali.

    Hi Marisa,
    Thank you for the reply!
    I have incremented the ls_item-handle and ls_item-header_handle fields. Now it is taking the first line item only and ignoring the rest of them.
    Should I increment the ls_input-fields-ref_handle value also?
    Thanks,
    Sonali.

  • G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11

    Hi,
    G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11
    I am creating an independent AP Invoice, there are two issues:
    1. On line level G/L Account field is not open for selection
    2. I have then selected and updated the account on Form Settings. Same account gets updated on line level.
         In Journal Entry selected G/L account on line level shall be hitted. But it does not put any effect on JE. Accounting is set by Warehouse. It picks up accounts from warehouse only.
    Need help its urgent.
    Thanks in advance.

    Invoice is Item Type.
    G/L Accounts are set by Warehouse. But if explicitly we are want to change the account on line level in that case, it is not getting reflected in Journal entry. On AR Invoice same scenario works perfectly. On line level I can change the accounts explicitly and have the effect on Journal entries.
    Issue seems to be on AP side only.
    As required please find attached the screen shots.
    JEwith mapped GL Account on Warehouse
    JEwith different GL Account on line Level via Form Settings
    Thanks & Regards
    Sonil

  • Balancing field "Profit Center" in line item 003 not filled during AFAB

    Hello all,
    We have activated business function FIN_GL_REORG_1 on EHP5 in ECC 6.0 and related reporting business function. One of the advantages of activating this for Fixed Assets is now asset balances can be reported at Profit Center/Segment level in sub ledger.
    During executing depreciation, we are getting the below error message
    Balancing field "Profit Center" in line item 003 not filled
    Message no. GLT2201
    Diagnosis
    The field Profit Center marked as balancing is not filled with any value in line item 003, even after document splitting.
    Below configuration is done in our system -
    Document splitting is active with standard variants for FA accounts.
    Segment Reporting is actived under Asset Accounting IMG (under Integration with General :edger Accounting)
    Activation of account assignment objects is active for cost center and specify account assignment types for account assignment objects KOSTL is configured for all transaction types (*) for APC and Depreciation postings is activated.
    APC, Accumulated Dep and Dep expense account field status groups are changed to have profit center and segment as optional fields for inputs.
    After all these settings, I am still getting the above error message.
    Can someone please let me know if you had similar situation and how to resolve this issue.
    Thanks,
    Praveen

    Hi
    Check the below locations
    Fin Accounting(New)Fin A/c Global Settings NewLedgersAssign scenarios and Customer Fields to Ledgers (Here assign Profit Centre)
    Fin AccountingGL Accounting NewBusiness  TransactionsDoc splittingDefine doc splitting characteristics for GL Accounting (Here Profit Centre mandatory check) Check with Activate and Deactivate
    Regards
    Sridhara Rao D

  • In ME22N deleted line item should not be Re-activate

    Dear Sap Guru's
                         For Purchase order in T.code ME22N deleted line item should not be reactivate.
    If i create some line items in this t.code and i delete these items then ince again someone wants to views these they he should not be able to view the deleted line items.
                        plz give me reply as soon as possible.Urgent

    hi
    version management
    SPRO –> Material Management –> Purchasing -> Version Management .
    After activating version management you can see the Version tab in ME53N near to source of supply tab in PR.
    http://help.sap.com/saphelp_srm30/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/content.htm
    SAP Enterprise Buyer provides you with version management for purchasing documents. As a first step, you can display versions of purchase orders and contracts.
    The system creates a version in the background if you, as a purchaser, carry out one of the following actions:
    · You change a posted purchase order
    · You order a posted purchase order again
    · You change a contract that has already been released
    · You release an already released contract again
    In contrast to the change documents that retain a change history, a version displays the status of a document at a specific point in time.
    Version management provides a check for you as a purchaser, for example, if you wish to display a purchase order in the form in which you transferred it to the vendor on day X. A version provides clarity, for example, in negotiations on a contract.
    Features
    You can use versions as follows:
    · Display
    · Compare and list differences in tabular form. The comparison result has separate areas that can be displayed:
    Header data (including organizational data, tax and payment data; partner data and documents)
    Item data (including taxes and limits if they exist; partner data, documents; account assignment and conditions)
    · Archive, if it relates to transaction data (you can archive versions of purchase orders, but not contract versions)
    You cannot change or output versions. This is only possible for the active document.
    Also, visit the following thread:
    regards
    kunal

  • Balance of the line items is not zero

    Hi All,
    We are trying to reverse the clearing document t.code FBRA but could not reverse it and getting below mentioned error.
    Balance of the line items is not zero
    Message no. F5136
    We have implemented the S note 1914004 but the results are the same.
    Thanks
    Ramanjaneyulu

    Hi Ramanjaneyulu,
    If you reset a clearing with transaction FBRA, a check of zero balance
    occurs first in all local currencies. With a balance that is not equal
    to zero the system issues message F5136 and it is not possible to reset
    the clearing.
    Regarding your issue itself, based on my analysis of the information
    provided and from previous experience with error message F5136 when
    running FBRA please let me highlight some of the most common reasons
    for this error to be raised:
    - GL account is being changed by any substitution: HKONT is expressly
    forbidden for substitution (check BXCLUDE from table GB01 by standard
    the field is flagged) if this field is being changed by a substitution
    or user exit this is most likely the root cause for error message
    F5136, however as this is considered a modification it falls of the
    product support scope.
    - Documents involved have being archived: Since the related documents
    are archived, the balance of document is not zero and error message
    F5136 appears. It is not possible to reverse
    the clearing document because system cannot find the documents that
    were cleared to change their status to open.
    - Any of the documents contain field BSEG-RFZEI <> 000: This kind of
    document cannot be reversed via FBRA. Please refer to note
    1301679 this note contains valuable information regarding
    this system behavior.
    I hope this could be helpful. Thank you.
    BR,
    Jimmy

  • Line items is not displaying

    Hi,
    When i simulate in F-28, line items is not displaying
    eg: 40  SBI  1500
    only displaying the remaining items like
    eg: 40  discount 500
          50  ABC     2000
    is not displaying
    what may be reason. where can i change settings
    Rgds
    sunfico

    This will happen as the system searches for automatically created line items, in this case, the discount.
    Nothing to worry, press Enter key twice, after simulation, you should get the all line items display
    Thanks
    Siva

  • Balancing field "Profit Center" in line item 001 not filled in vendor post

    Dear Experts,
    Document Spitting is activated in our system. Now in Vendor posting we are getting the error " Balancing field "Profit Center" in line item 001 not filled ". Please provide your suggestions on this.

    Balancing field "Profit Center" in line item 001 not filled  error is coming due to splitting .Try to do the following and check ...
    First check the line item 001 and get the GL no for which GL you are getting the error.
    Goto PCP0 and double click on Document then goto Settings -> Layout -> Change here select Document Line Number ......check the line item 001
    Ask your FI persons and get the required profit center or default Profit Center for that company code.
    Goto Tcode FAGL3KEH and enter the company code......enter GL code and Default profit center in the last column.
    Before doing this check the Business Area in IT 0027 and IT0001.Make sure that same Business Area is there in both the ITs.
    Mohan

  • Balancing field "Profit Center" in line item 001 not filled T Code:J1IEX

    Hello Exerts,
    I am doing T Code:J1IEX
    I am getting this error,i had check document Splitting Configuration,but i am unable to fine the cause can any body help to solved this error.
    Balancing field "Profit Center" in line item 001 not filled
    Message no. GLT2201
    Diagnosis
    The field Profit Center marked as balancing is not filled with any value in line item 001, even after document splitting.
    System Response
    The document cannot be posted.
    Procedure
    First check your entries.
    Additional causes could be:
    No value can be derived for this field from the current document data.
    You have entered a document type that is not designed for this business purpose.
    Procedure for System Administration
    Customizing
    Warm Regards,
    Jemes

    Hi Experts,
    I am doing this activity what you had suggest me.
    spro>Fin acc new> Gl new> Bus transactions> doc splitting>extended doc splitting>define doc splitting rule.
    here against method - 0000000012 - transaction - 0300variant 0001/method - 0000000012 - transaction - 0300variant 0002
    This is actual configuration.
    0000000012
    0300       Vendor invoice
    0001       Standard
    And this is what you had suggest
    0000000012
    0300       Vendor invoice
    0002       Standard (or there is no 0002 entry)
    But SAP System gives error
    Entry 0300 0002  does not exist in T8G031 (check entry)
    Message no. 00058
    Diagnosis
    Input values must be defined in Table T8G031. The value or values '0300 0002 ' are not specified in this table.
    Procedure
    Check whether the input is correct and correct if necessary.
    Procedure for System Administration
    If this is not an incorrect entry, check the system settings and change them if necessary.
    If there is a connection to the Customizing system, you can maintain the system settings by choosing Customizing in the Performance Assistant or Maintain Entries (F5) when displaying the help in a modal dialog box.
    if i am wrong please let me correct.
    waiting for reply.
    Regards,
    Jemes

  • Few line items are not coming at the time of creation of delivery

    Dear Experts,
    When the user creating the delivery few line items are not picking in the delivery document
    the following checks i verified,
    Stock is available
    shpping condition is differ from sold to party and sales document
    Plants are same for all the line items
    why the few line items are not coming in the delivery document creation,
    please help me to sort out this issue
    Thanks and Best Regards,
    Muralidharan S

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • Line items are not coming on next page in Bill of Lading

    When I am printing Bill of Lading, if it has around 8 line items then its printing on the first page, but if line items are more then its not printing the remaining line items on second page.
    I have one delivery with 10 line items, when I am printing it then on first page 7 line items are coming and for 8 line item only material is printing and on second page its description is printing but last two line items are not printing at all.
    Kindly help me to resolve the issue as it is very critical.

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

Maybe you are looking for