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!!!

Similar Messages

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

  • 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

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

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

  • Open Item not getting Cleared automatically

    Dear Sir,
    For a GL "Cenvat Clearing" , we have ticked the option "open Item Management" in FS00 .
    Our business scenario is as below :
    After MIGO , we do excise posting using J1IEX and here in the posted Fi document the GL "Cenvat Clearing" gets Credited . Subsequently during the MIRO this GL i.e "Cenvat Claering" gets Debited .
    My problem is that when I see in FBL3n for this GL the relevant transaction still appear under the open Items . Pl guide me , as what is the reason for this entry not getting cleared automatically .
    Regards
    B Mittal
    Regar

    PO number cannot be taken as sort feild  hence the value is in blank always.
    You need to identify some value for this feild and as a process you need to tell your users to incorporate the same at the time of doing MIRO.
    Or other wise you can take out the assignment of sort key to this GL account, and as a process you can instruct your user to use reference feild and input a value. If you fell that this is a tedious process,
    the Identify another feild that is common for both debit and credit line items and try to post with a common valuie using, one ABAP program which will update this feild. Mind that this feild need to be in the OB74.
    reward if useful
    sarma

  • Automatic Payment program -line item cleared not displaying in table

    automatic Payment program -line item cleared not displaying in table
    i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
    Can some one please guide me on this.

    Hi Priyanka,
    First, which table are you referring to.  If your fist APP run clears the line item, it will no longer be available in the open item. 
    Please be more specific on the problem so that we can try to help you.  If possible, please provide screenshots.
    Regards,
    Ganesh

  • Bom item data - Document assignment not getting saved in table STPO

    Dear All,
                  As per out customer requirement, they want to display assigned drawing documents of Bom items in CS11. But it is not reflecting in cs11 eventhough we have assigned documents in Bom item detail overview Document assignment tab page. Moreover this is not getting saved in table STPO.
                   Waiting for solutions
    Thanks & Regards
    Dhananjay Kulkarni

    Please understand my customers requirement,
                               Presently they are assigning drawing document of each mat in material master. And if they want to see the drawing of each component of bom through Bom maintenance then they double click on component in bom, goes to mat master then additional data then document data and then drawing. In this way they need to open minimim 5 windows, which they want to make minimum 2 windows.
              In bom they are having more than 300 components. This is not possible to define document as component with item category D of so many components. One more idea I given to them is to club all drawings in one document and define that document as component with item category D, but in this way they can't identify  the individual drawing with part name.
              One more idea I given to them is to assign drawing document of individual component in item overview - Document assignment tab page from where they can open the drawing but it needs to open minimum 3 windows. So they are ready to assign drawing document in item overview - Document assignment tab page but they want, it should reflect in CS11 document column, from where they can easily open the drawing document.
              One more thing I observed that, assigned document to item overview - Document assignment tab page is not getting saved in Table STPO. I can't see this field content in STPO, which may be the reason that it is not reflecting in CS11.
             Is anything missing from Document management system?
    Please think and reply friends it's Urgent.
    Thanks & Warm Regards
    Dhananjay Kulkarni

  • "Connect automatically" checkbox does not get saved.

    Dear friends!
    I have an hP laptop and Windows 8.1 on it. At home I have a Wifi router and several devices using it. Only on my laptop I'm experiencing a strange thing: even if I check "Connect automatically" checkbox on the Wifi access point list it does
    not get saved. I mean when connection to wifi drops then Wifi does not reconnect itself and If I try to reconnect manually I see that this checkbox is not saved. That means Windows does not allow me to enjoy this function because I have to reconnect manually
    every time. Does enyone have an idea about how this could be fixed? 
    Thanks!

    Thanks both of you for replying.
    The tables were created by someone else, and I totally forgot about the triggers. I checked the table for triggers and there is a trigger before UPDATE on it. Here update_account := lower(user). Hence it takes the db user name.
    FYI, for getting username I am using v('APP_USER').
    Thanks,
    Sumana

  • Why SO Header not get closed automatically after all SO lines get closed?

    Hi all :
    Do you know the reason, why some SO Header still as Booked Status, even All the SO lines are already closed ?
    If I see the Workflow status the SO Header is in Status = Deferred and Activity = Wait
    And I can close it manually if I rewind the Activity in the Workflow, but I want to know why the SOs not get closed automatically.
    Thank you in advance
    Edited by: Daniel on Jan 18, 2011 8:41 AM

    Have you scheduled the concurrent request to use Workflow Background Processor to Process OEOH ? What is the frequency? Has it run after the lines got closed?
    Also, check the value of the WAIT attribute in the OEOH workflow? By default, it is set to close headers at the end of month.
    For more detail please see Note:141919.1 on Metalink.
    Also refer to metalink document # 397364.1 which details how to change the WAIT attributes.
    Hope this helps,
    Sandeep Gandhi

  • T-code: F-02 (Balancing field "Profit Center" in line item 001 not filled)

    Dear Experts,
    I am getting following error while i am doing transfer by using t-code F-02.
    "Quote
    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:
    u2022 No value can be derived for this field from the current document data.
    u2022 You have entered a document type that is not designed for this business purpose.
    Procedure for System Administration
    Customizing
    Unquote"
    Where do you thing the mistake is and what i have to do? Please resolve my problem.
    Thanks advance,
    Best Regards.
    Ripon Kumar Paul

    Hi
    Balance Sheet Accounts are required to be split in case you have document splitting activated u2026.. and in your case the profit center is made mandatory for the documents to get splitted u2026.. and the profit center would be derived from cost centeru2026u2026u2026. therefore to split the document by using document type u2013 SA through F-02 we need to do further settings, i.e., you need to configure u201CExtended Document Splitting Configurationu201D
    For example: Rent expenditure is been posted which is having more than 2 Debits and consisting of different Cost Centers and posting to Rent Payable A/c which is a Balance sheet A/cu2026u2026.
    Path: Financial Accounting (New) - - General Ledger Accounting (New) - - Business Transactions - - Document Splitting - - Extended Document Splitting -- Define Document Splitting Rule
    Define your Business Transaction variant and for that variant define document splitting rule u2026u2026u2026.. where in you need to activate Automatically split check box for the desired categories.
    Regards,
    Sathish

  • 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

  • Balance of the line items is not zero in FBRA

    Hi Team,
    we are resetting customer cleared docuemnt using FBRA t ocode it giving erro message like "Balance of the line items is not zero". we tried all possibilities, but it is giving same error. we search in SCN.SAP and found one note 1914004. but we are unable to download it. we tried
    FBU8 - Reverse this tcode also. but same error.

    Re: Problems reversing a Clearing document
    udayakumar krishnaraj Nov 9, 2011 9:15 AM (in response to Reddy D)
    Hi,
    Use transaction code FBRA for Reversal of Clearing Document.
    System will ask for2 option
    1. RESET
    2RESET and REVERSE
    Select 2 option you clearing document will get reset I.E become open and then it will get revered automatically.

  • Billing document not getting saved

    Hi Gurus,
            I am facing a problem with th billing doument. When I try to save the Billing through VF01, it is going to the screen and showing the line items in it. And when we save, it is generating a billing document number.But it is not getting saved.And when go and see in VF02
    it is showing a message <b>Express document "Update was terminated" received from Author----
    "</b>.
    How to resolve this.PLS help me out in this.
    Thanks in Advance
    Regards
    VASU

    Hi Vasu
    Check whether number range assignment has done.  Most probably, you would not have done that.
    Incidentally, I had also faced similar problem sometime back and after lot of study, I could come to a conclusion that it is because of non assignment of number range.
    Thanks and dont forget to reward if this helps you.
    G. Lakshmipathi

Maybe you are looking for

  • Excise and Non Excise Warehouse

    Hi Friends,                         We are receiving the same material, sometimes cenvatable to cenvatable stores and some times non cenvatable to non cenvatable store. when I need it in cenvatable store, then I have to transfer from non cenvatable a

  • Gui Buttons don't press when upgrading from 1.1.8 to 1.4.0

    We are upgrading an application from 1.1.8 to 1.4.0 and the Gui button's do not work. I believe it is due to some sort of focus problem (and parent windows) but cannot get it to break in a simple test application. Just wondering if anyone else has ha

  • Importing packages/files

    Hi Folks... I was working with a sample code and when I do a 'cntrl + ENTER' I get a 'Type was not found or was not a compile-time constant: LoginEvent' error I also get the same error for the other events of 'RoomEvent' and 'XIFFErrorEvent'. My sour

  • Oracle Apex with BIRT reports

    I have developed a report in eclipse birt and trying to intergrate with apex, javascript:popUp2('http://localhost:8080/BHH/frameset?__report=3_CI_Printing.rptdesign&cino=&p5_interimno.&__format=pdf'); cino being the parameter name, p5_interimno is th

  • X230 shuts down when return from sleep mode

    Hi,  a week ago I am facing with a problem - I am entering the laptop in sleep mode, just closing the screen, and when I open the screen (expecting that the laptop should wake up) it starts usual OS boot from scratch, not hibernate. How to troublesho