BAPI_PO_CREATE1 u2013 Message SE 518

Hi,
We are using the BAPI, BAPI_PO_CREATE1 to create Purchase Orders Programmatically.
We create a Purchase Order and use an offer as draft. The inquiry (offer) was generated from a Purchase Requisition with 17 positions, but our Purchase Offer contains 18 positions. The Purchase Requisition has for all 17 positions fixed account assignments.
When we would create the Purchase Order, we received the following error:
No account assignment exists for service line 180.
We have applied the following note in our ERP 6.0 767284, but the problem still exits.
We fill the following structures:
POHEADER-COMP_CODE = u20181701u2019
POHEADERX-COMP_CODE = u2018Xu2019
POHEADER-DOC_TYPE = u2018NBu2019
POHEADERX-DOC_TYPE = u2018Xu2019
POHEADER-CREAT_DATE = u201928.05.2008u2019
POHEADERX-CREAT_DATE = u2018Xu2019
POHEADER-CREATED_BY = u2018TESTUSERu2019
POHEADERX-CREATED_BY = u2018Xu2019
POHEADER-ITEM_INTVL = u201800010u2019
POHEADERX-ITEM_INTVL = u2018Xu2019
POHEADER-VENDOR = u2018100u2019
POHEADERX-VENDOR = u2018Xu2019
POHEADER-LANGU = u2018DEu2019
POHEADERX-LANGU = u2018Xu2019
POHEADER-PURCH_ORG = u20181701u2019
POHEADERX-PURCH_ORG = u2018Xu2019
POHEADER-PUR_GROUP = u2018001u2019
POHEADERX-PUR_GROUP = u2018Xu2019
POHEADER-SUBITEMINT = u201800001u2019
POHEADERX-SUBITEMINT = u2018Xu2019
POITEM-PO_ITEM = u201800010u2019
POITEM_PO_ITEMX = u201800010u2019
POITEMX-PO_ITEM = u2018Xu2019
POITEM-SHORT_TEXT = u2018SERVICEu2019
POITEMX-SHORT_TEXT = u2018Xu2019
POITEM-PLANT = u20181701u2019
POITEMX-PLANT = u2018Xu2019
POITEM-MATL_GROUP = u201825000000u2019
POITEMX-MATL_GROUP = u2018Xu2019
POITEM-QUANTITY = u20181u2019
POITEMX-QUANTITY = u2018Xu2019
POITEM-PO_UNIT = u2018LEu2019
POITEMX-PO_UNIT = u2018Xu2019
POITEM-NET_PRICE = u20185000,00u2019
POITEMX-NET_PRICE = u2018Xu2019
POITEM-TAX_CODE = u2018VBu2019
POITEMX-TAX_CODE = u2018X
POITEM-ITEM_CAT = u2018Du2019
POITEMX-ITEM_CAT = u2018Xu2019
POITEM-ACCTASSCAT = u2018Fu2019
POITEMX-ACCTASSCAT = u2018Xu2019
POITEM-PART_INV = u20182u2019
POITEMX-PART_INV = u2018Xu2019
POITEM-GR_IND = u2018Xu2019
POITEMX-GR_IND = u2018Xu2019
POITEM-GR_NON_VAL = u2018Xu2019
POITEMX-GR_NON_VAL = u2018Xu2019
POITEM-IR_IND = u2018Xu2019
POITEMX-IR_IND = u2018Xu2019
POITEM-GR_BASEDIV = u2018Xu2019
POITEMX-GR_BASEDIV = u2018Xu2019
POITEM-ERS = u2018Xu2019
POITEMX-ERS = u2018Xu2019
POITEM-RFQ_NO = u20186000000757u2019
POITEMX-RFQ_NO = u2018Xu2019
POITEM-RFQ_ITEM = u201800010u2019
POITEMX-RFQ_ITEM = u2018Xu2019
POITEM-PERIOD_IND_EXPIRATION_DATE = u2018Tu2019
POITEMX-PERIOD_IND_EXPIRATION_DATE = u2018Xu2019
POACCOUNT- PO_ITEM = u201800010u2019
POACCOUNTX- PO_ITEM = u2018Xu2019
POACCOUNT- SERIAL_NO = u201801u2019
POACCOUNTX- SERIAL_NO = u2018Xu2019
POACCOUNT- CREAT_DATE = u201928.05.2008u2019
POACCOUNTX- CREAT_DATE = u2018Xu2019
POACCOUNT- QUANTITY = u20181,000u2019
POACCOUNTX- QUANTITY = u2018Xu2019
POACCOUNT- GL_ACCOUNT = u201869800000u2019
POACCOUNTX- GL_ACCOUNT = u2018Xu2019
POACCOUNT- ORDERID = u2018817000665u2019
POACCOUNTX- ORDERID = u2018Xu2019
POACCOUNT- CO_AREA = u20181701u2019
POACCOUNTX- CO_AREA = u2018Xu2019
POACCOUNT- PROFIT_CTR = u2018INVESTu2019
POACCOUNTX-PROFIT_CTR = u2018Xu2019
POSERVICES-PCKG_NO = u20180000000001u2019
POSERVICES- LINE_NO = u20180000000001u2019
POSERVICES-OUTL_IND = u2018Xu2019
POSERVICES-SUBPCKG_NO = u20180000000002u2019
POSERVICES-SHORT_TEXT = u2018SERVICEu2019
POSERVICES-PCKG_NO = u20180000000002u2019
POSERVICES-LINE_NO = u20180000000001u2019
POSERVICES-BASE_UOM = u2018STu2019
POSERVICES-UOM_ISO = u2018PCEu2019
POSERVICES-OVF_UNLIM = u2018Xu2019
POSERVICES-PRICE_UNIT = u20181u2019
POSERVICES-GR_PRICE = u20185000u2019
POSERVICES-SHORT_TEXT = u2018SERVICEu2019
POSERVICES-DISTRIB = u20181u2019
POSERVICES- MATL_GROUP = u201825000000u2019
Can anyone help?

Hello
Can you provide the Account assignment used for creating the PO/Contract using   BAPI_PO_CREATE1 .
Plese check the following configuration node for the account assignment used.
SPRO --> MM --> Purchaisng --> Accpunt assignment --> Maintai account assignment categories
Select your account assignment actegory and click on details - where you can see the indicators for Distribution and Partial invoice. These indicators to be set for mutliple account assignemnt.
Reagrds
Ramakrishna

Similar Messages

  • Error message "SE 518 No account assignment exists for service li ne 000000

    Hi All,
    Customer is using SRM 7.0 Self-Service procurement
    Shopping cart created with multiple service items, once it approved. We get the Error message "SE 518 No account assignment exists for service li ne 0000000000" in Shopping cart Monitor. Could you please help me here why this issue happening.
    FYI:- Same user created another shopping cart with same data, this error not occurred. This error is happening a while not regular for the same item ordering.
    Could you please help me on this what may be issue here?
    Appreciated your help in Advanced.
    Cheers
    Raj

    Hi Raj,
    Have you already tried the notes below?
    499626     FAQ: BAPIs in the service procurement
    1472036     Limit PO with account assignment can not be transferred
    1140132     Error SE 518 when creating purchase order with contract
    1557395     SE 518 error message for service items during PO creation
    1226132     SE518 Error message from back-end system for service item
    Best regards,
    Christian Zeuch

  • Bapi_po_create1 ,No account assignment exist for service line 0000000000'. for po limits,how to create multiple service items in service po

    hi,
    Hello all, please help!! I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem?
    i am passing po header, po headerx, po item , po itemx, po account, po accountx, po limits, po services, po service values, to bapi. if i comment package number in po limits structure , po was creating but limits data not updating in po., if i pass package number i am getting above error.
    Thanks In Advance,
    regards

    hi Dinesh,
    am also having same error for bap po create1 . did it get resolved for you? please help its urgently needed for me here

  • SE 518 No account assignment exists for service li ne 0000000000 error

    Hello all,
    We have raised a Shopping cart for a service with reference to a contract with the account assignments item category "D" and account assignment category "P". the product type is 02 for the service. The shopping cart saves fine however when trying to transfer to create the PO in the backend we are getting the error "SE 518 No account assignment exists for service li ne 0000000000"
    we have checked all the notes below:
    1064139 already implemented.
    1222877 already implemented.
    767284 failed to correct the error.
    1140132 should be in our system but has been removed by note 1226132. I have checked all the other notes but they do not seem relevant in our scenario. Does anybody have any idea as to how we should solve this problem?
    Thanks

    Hi Andrew!
    There are other notes related to this issue. Please verify if they can help you.
    1244427    SE518 error in external requirement service shoppin
    1236355    BAPI_PO_CREATE1:Purchase Order created with ref. to
    1226132    SE518 Error message from back-end system for servic
    1030206    BAPI: Multiple service type items cannot be created
    1398742    Error message SE 518 PO transfer to backend
    Best regards,
    Christian Zeuch

  • Error After BAPI_PO_CREATE1 with multiple Lines "Enter Account Assignment"

    Hi,
    I am trying to Post Purchase Orders with Multiple lines using BAPI_PO_CREATE1 and got error
    "Enter Account Assignment". This is happening when I post PO with multiple line items.
    I am trying the same PO with one record, PO is creating successfully. Do I need to put any additional data.
    I am creating PO with Item Category 'D' and Account Assignment 'N' and external number range and internal number range.
    Pls let me know, Do i need any additional flags for this.
    Thanks,
    naini

    Hello all,
    please help!!
    I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem? for your information, I used parameters below to run this function.
    POHEADER
    POHEADER-COMP_CODE = '1205'
    POHEADER-DOC_TYPE = 'GZPO'
    POHEADER-VENDOR = '8000001313'
    POHEADER-PMNTTRMS = '0001'
    POHEADER-PURCH_ORG = '1222'.
    POHEADER-PUR_GROUP = 'K05'
    POHEADER-CURRENCY = 'THB'
    POHEADER-EXCH_RATE = '1.00000'
    POHEADER-EX_RATE_FX = ' X'
    POHEADER-DOC_DATE = '10.06.2008'
    POHEADERX
    POHEADERX-COMP_CODE = 'X'
    POHEADERX-DOC_TYPE = 'X'
    POHEADERX-VENDOR = 'X'
    POHEADERX-PMNTTRMS= 'X'
    POHEADERX-DSCNT1_TO = 'X'
    POHEADERX-PURCH_ORG= 'X'
    POHEADERX-PUR_GROUP = 'X'
    POHEADERX-CURRENCY= 'X'
    POHEADERX-EXCH_RATE= 'X'
    POHEADERX-EX_RATE_FX= 'X'
    POHEADERX-DOC_DATE= 'X'
    POHEADERX-INCOTERMS1= 'X'
    POHEADERX-INCOTERMS2= 'X'
    POITEM
    POITEM-SHORT_TEXT = 'TEST'
    POITEM-PLANT = '5005'
    POITEM-MATL_GROUP = '606100001'
    POITEM-QUANTITY = '1.000'
    POITEM-PO_UNIT = 'AU'
    POITEM-ITEM_CAT = 'B'
    POITEM-ACCTASSCAT = 'K'
    POITEM-DISTRIB = ' '
    POITEM-PART_INV = ' '
    POITEM-PCKG_NO = '0000100001'
    POITEMX
    POITEMX-SHORT_TEXT = 'X'
    POITEMX-PLANT = 'X'
    POITEMX-MATL_GROUP = 'X'
    POITEMX-QUANTITY = 'X'
    POITEMX-PO_UNIT = 'X'
    POITEMX-ITEM_CAT = 'X'
    POITEMX-ACCTASSCAT = 'X'
    POITEMX-DISTRIB = 'X'
    POITEMX-PART_INV = 'X'
    POITEMX-PCKG_NO = 'X'
    POSCHEDULE
    POSCHEDULE-PO_ITEM = '00001'
    POSCHEDULE-SCHED_LINE = '0001'
    POSCHEDULE-DEL_DATCAT_EXT = 'D'
    POSCHEDULE-DELIVERY_DATE = '01.09.2006'
    POSCHEDULE-QUANTITY = ' 1.000'
    POSCHEDULEX
    POSCHEDULEX-PO_ITEM= '00001'
    POSCHEDULEX-SCHED_LINE = '0001'
    POSCHEDULEX-PO_ITEMX = 'X'
    POSCHEDULEX-SCHED_LINEX = 'X'
    POSCHEDULEX-DEL_DATCAT_EXT = 'X'
    POSCHEDULEX-DELIVERY_DATE = 'X'
    POSCHEDULEX-QUANTITY = 'X'
    POACCOUNT
    POACCOUNT-PO_ITEM = '00001'
    POACCOUNT-SERIAL_NO = '01'
    POACCOUNT-GL_ACCOUNT = '0065903020'
    POACCOUNT-BUS_AREA = '70'
    POACCOUNT-COSTCENTER = '0010700003'
    POACCOUNT-ORDERID = ' '
    POACCOUNTX
    POACCOUNTX-PO_ITEM = '00001'
    POACCOUNTX-SERIAL_NO = '01'
    POACCOUNTX-PO_ITEMX = 'X'
    POACCOUNTX-SERIAL_NOX = 'X'
    POACCOUNTX-GL_ACCOUNT = 'X'
    POACCOUNTX-BUS_AREA = 'X'
    POACCOUNTX-COSTCENTER = 'X'
    POACCOUNTX-ORDERID = 'X'
    POSERVICES
    POSERVICES-PCKG_NO = '0000100001'
    POSERVICES-LINE_NO = '0000000001'
    POSERVICES-OUTL_IND = 'X'
    POSERVICES-SUBPCKG_NO = '0000100002'
    POSERVICES-QUANTITY = ' '
    POSERVICES-BASE_UOM = ' '
    POSERVICES-GR_PRICE = ' '
    POSERVICES-FROM_LINE = '000001'
    POSERVICES-TO_LINE = '999999'
    POSERVICES-SHORT_TEXT = ' '
    POSERVICES-MATL_GROUP = ' '
    APPEND POSERVICES
    POSERVICES-PCKG_NO = '00100002'
    POSERVICES-LINE_NO = '0000002'
    POSERVICES-OUTL_IND = ' '
    POSERVICES-SUBPCKG_NO = ' '
    POSERVICES-QUANTITY = '1.000'
    POSERVICES-BASE_UOM = 'AU'
    POSERVICES-GR_PRICE = '43,486.21'
    POSERVICES-FROM_LINE = ' '
    POSERVICES-TO_LINE = ' '
    POSERVICES-SHORT_TEXT = 'Demurrage'
    POSERVICES-MATL_GROUP = '606100001'
    POSRVACCESSVALUES
    POSRVACCESSVALUES-PCKG_NO = '0000100001'
    POSRVACCESSVALUES-LINE_NO = '0000000001'
    POSRVACCESSVALUES-SERIAL_NO = ' '
    POSRVACCESSVALUES-QUANTITY = ' '
    APPEND POSRVACCESSVALUES
    POSRVACCESSVALUES-PCKG_NO = '0000100002'
    POSRVACCESSVALUES-LINE_NO = '0000000002'
    POSRVACCESSVALUES-SERIAL_NO = '01'
    POSRVACCESSVALUES-QUANTITY = '1.000'
    POLIMITS
    POLIMITS-PCKG_NO = '0000100001'
    POLIMITS-LIMIT = '1.00'
    POLIMITS-EXP_VALUE = '1.00'
    APPEND POLIMITS
    POLIMITS-PCKG_NO = '0000100002'
    POLIMITS-LIMIT = ' '
    POLIMITS-EXP_VALUE = ' '
    please help
    Thank you for advance

  • WCS-518 -- Web Clipping is not set up for accessing secure web sites

    My webcliping studio didn't have this message until recent changes which I don't know what is.
    I was able to go to some truested sites with https. And I also ran into other error messages such as WCS-517 before if the site was not a trusted site.
    But now I can't go to any trusted sites although I could still visit those sites from a local browser session in the portal box.
    I have played with the ca-bundle.crt file and it seems to make no difference in this case. The original ca-bundle.crt file should contains the sites such as entrust.net.
    My environment contains web caches and firewalls.
    And my search for the error message WCS-518 turned out nothing at this forum.

    Not sure what you mean when you say you remove the group from the parent.  Groups are always maintained for an entire site collection.  You can remove the permissions assigned to a group at the parent level, but that won't remove the group.  The
    group is still there.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to create service PO while using BAPI

    Dear Experts
    I am getting error while creating Service PO using BAPI
    E 518
    No account assignment exists for service line 0000000010
    E 518
    No account assignment exists for service line 0000000010
    TYPES : BEGIN OF ty_header,
            po_no(10)   TYPE n,
            purch_org   TYPE bapimepoheader-purch_org,
            pur_group   TYPE bapimepoheader-pur_group,
            doc_type    TYPE bapimepoheader-doc_type,
            vendor      TYPE bapimepoheader-vendor,
            doc_date    TYPE bapimepoheader-doc_date,
            currency    TYPE bapimepoheader-currency,
            comp_code   TYPE bapimepoheader-comp_code,
            END OF ty_header,
            BEGIN OF ty_item,
            po_no(10)   TYPE n,                             " Internal Use
            po_item     TYPE bapimepoitem-po_item,
            acctasscat  TYPE bapimepoitem-acctasscat,
            short_text  TYPE bapimepoitem-short_text,
            plant       TYPE bapimepoitem-plant,
            pckg_no     TYPE bapimepoitem-pckg_no,
            stge_loc    TYPE bapimepoitem-stge_loc,
            quantity    TYPE bapimepoitem-quantity,
            po_unit     TYPE bapimepoitem-po_unit,
            po_price    TYPE bapimepoitem-po_price,
            net_price   TYPE bapimepoitem-net_price,
            price_unit  TYPE bapimepoitem-price_unit,
            orderpr_un  TYPE bapimepoitem-orderpr_un,
            delivery_date TYPE bapimeposchedule-delivery_date,              " bapimeposchedule
            matl_group  TYPE bapimepoitem-matl_group,
            tax_code    TYPE bapimepoitem-tax_code,
            END OF ty_item,
            BEGIN OF ty_service,
            po_no(10)   TYPE  n,                            " Internal Use
            po_item     TYPE  bapimepoitem-po_item,         " Internal Use
            pckg_no     TYPE  bapiesllc-pckg_no,
            line_no     TYPE  bapiesllc-line_no,
            ext_line    TYPE  bapiesllc-ext_line,
            outl_ind    TYPE  bapiesllc-outl_ind,
            subpckg_no  TYPE  bapiesllc-subpckg_no,
            serial_no   TYPE  bapiesklc-serial_no,           " bapiesklc
            short_text  TYPE  bapiesllc-short_text,
            quantity    TYPE  bapiesllc-quantity,
            base_uom    TYPE  bapiesllc-base_uom,
            gr_price    TYPE  bapiesllc-gr_price,
            matl_group  TYPE  bapiesllc-matl_group,
            END OF ty_service,
            BEGIN OF ty_poaccount,
            po_no(10)   TYPE n,                             " Internal Use
            po_item      TYPE bapimepoaccount-po_item,
            serial_no    TYPE bapimepoaccount-serial_no,
            gl_account   TYPE bapimepoaccount-gl_account,
            costcenter   TYPE bapimepoaccount-costcenter,
            asset_no     TYPE bapimepoaccount-asset_no,
            orderid      TYPE bapimepoaccount-orderid,
            END OF ty_poaccount.
    DATA : it_header TYPE TABLE OF ty_header,
           wa_header TYPE ty_header,
           it_item   TYPE TABLE OF ty_item,
           wa_item   TYPE ty_item,
           it_service TYPE TABLE OF ty_service,
           wa_service TYPE ty_service,
           it_account TYPE TABLE OF ty_poaccount,
           wa_account TYPE ty_poaccount.
    DATA : it_excel1 TYPE TABLE OF alsmex_tabline,
           wa_excel1 TYPE alsmex_tabline,
           it_excel2 TYPE TABLE OF alsmex_tabline,
           wa_excel2 TYPE alsmex_tabline,
           it_excel3 TYPE TABLE OF alsmex_tabline,
           wa_excel3 TYPE alsmex_tabline,
           it_excel4 TYPE TABLE OF alsmex_tabline,
           wa_excel4 TYPE alsmex_tabline.
    DATA : number TYPE string,
           number1 TYPE string.
    ********** BAPI**************
    CONSTANTS : c_x VALUE 'X'.
    *Structures to hold PO header data
    DATA : header LIKE bapimepoheader ,
           headerx LIKE bapimepoheaderx .
    *Internal Tables to hold PO ITEM DATA
    DATA : item LIKE bapimepoitem OCCURS 0 WITH HEADER LINE,
           itemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
    *Structures to hold PO schedule data
    DATA : itemschedule LIKE bapimeposchedule OCCURS 0 WITH HEADER LINE ,
           itemschedulex LIKE bapimeposchedulx OCCURS 0 WITH HEADER LINE .
    *Structures to hold PO services data
    DATA : services LIKE bapiesllc OCCURS 0 WITH HEADER LINE .
    *Structures to hold PO (distrib.imputac.lín.servicios) data
    DATA : posrvaccessvalues LIKE bapiesklc OCCURS 0 WITH HEADER LINE .
    *Structures to hold PO account data
    DATA : account  LIKE bapimepoaccount OCCURS 0 WITH HEADER LINE ,
           accountx LIKE bapimepoaccountx OCCURS 0 WITH HEADER LINE .
    *Internal table to hold messages from BAPI call
    DATA : return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
           purchaseorder LIKE bapimepoheader-po_number.
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_file1 TYPE rlgrap-filename OBLIGATORY,
                 p_brow1 TYPE i,
                 p_erow1 TYPE i.
    SELECTION-SCREEN : END OF BLOCK b1.
    SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS : p_file2 TYPE rlgrap-filename OBLIGATORY,
                 p_brow2 TYPE i,
                 p_erow2 TYPE i.
    SELECTION-SCREEN : END OF BLOCK b2.
    SELECTION-SCREEN : BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETERS : p_file3 TYPE rlgrap-filename OBLIGATORY,
                 p_brow3 TYPE i,
                 p_erow3 TYPE i.
    SELECTION-SCREEN : END OF BLOCK b3.
    SELECTION-SCREEN : BEGIN OF BLOCK b4 WITH FRAME TITLE text-004.
    PARAMETERS : p_file4 TYPE rlgrap-filename OBLIGATORY,
                 p_brow4 TYPE i,
                 p_erow4 TYPE i.
    SELECTION-SCREEN : END OF BLOCK b4.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = ' '
        IMPORTING
          file_name     = p_file1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file2.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = ' '
        IMPORTING
          file_name     = p_file2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file3.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = ' '
        IMPORTING
          file_name     = p_file3.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file4.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = ' '
        IMPORTING
          file_name     = p_file4.
    START-OF-SELECTION.
      PERFORM excel_to_itab.
      PERFORM get_final.
    *&      Form  excel_to_itab
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM excel_to_itab .
    ************** Excel 1
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                      = p_file1
          i_begin_col                   = '1'
          i_begin_row                   = p_brow1
          i_end_col                     = '08'
          i_end_row                     = p_erow1
        TABLES
          intern                        = it_excel1
    * EXCEPTIONS
    *   INCONSISTENT_PARAMETERS       = 1
    *   UPLOAD_OLE                    = 2
    *   OTHERS                        = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT it_excel1  INTO wa_excel1.
        CASE wa_excel1-col.
          WHEN '0001'.
            wa_header-po_no = wa_excel1-value.
          WHEN '0002'.
            wa_header-purch_org = wa_excel1-value.
          WHEN '0003'.
            wa_header-pur_group = wa_excel1-value.
          WHEN '0004'.
            wa_header-doc_type = wa_excel1-value.
          WHEN '0005'.
            wa_header-vendor = wa_excel1-value.
          WHEN '0006'.
            wa_header-doc_date = wa_excel1-value.
          WHEN '0007'.
            wa_header-currency = wa_excel1-value.
          WHEN '0008'.
            wa_header-comp_code = wa_excel1-value.
        ENDCASE.
        AT END OF row.
          APPEND wa_header TO it_header.
          CLEAR wa_header.
        ENDAT.
      ENDLOOP.
    ************** Excel 2
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            filename                      = p_file2
            i_begin_col                   = '1'
            i_begin_row                   = p_brow2
            i_end_col                     = '16'
            i_end_row                     = p_erow2
          TABLES
            intern                        = it_excel2
    * EXCEPTIONS
    *   INCONSISTENT_PARAMETERS       = 1
    *   UPLOAD_OLE                    = 2
    *   OTHERS                        = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT it_excel2 INTO wa_excel2.
        CASE wa_excel2-col.
          WHEN '0001'.
            wa_item-po_no = wa_excel2-value.
          WHEN '0002'.
            wa_item-po_item = wa_excel2-value.
          WHEN '0003'.
            wa_item-acctasscat = wa_excel2-value.
          WHEN '0004'.
            wa_item-short_text = wa_excel2-value.
          WHEN '0005'.
            wa_item-plant = wa_excel2-value.
          WHEN '0006'.
            wa_item-pckg_no  = wa_excel2-value.
          WHEN '0007'.
            wa_item-stge_loc = wa_excel2-value.
          WHEN '0008'.
            wa_item-quantity = wa_excel2-value.
          WHEN '0009'.
            wa_item-po_unit = wa_excel2-value.
          WHEN '0010'.
            wa_item-po_price = wa_excel2-value.
          WHEN '0011'.
            wa_item-net_price = wa_excel2-value.
          WHEN '0012'.
            wa_item-price_unit = wa_excel2-value.
          WHEN '0013'.
            wa_item-orderpr_un = wa_excel2-value.
          WHEN '0014'.
            wa_item-delivery_date  = wa_excel2-value.
          WHEN '0015'.
            wa_item-matl_group = wa_excel2-value.
          WHEN '0016'.
            wa_item-tax_code  = wa_excel2-value.
        ENDCASE.
        AT END OF row.
          APPEND wa_item TO it_item.
          CLEAR wa_item.
        ENDAT.
      ENDLOOP.
    ************** Excel 3
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            filename                      = p_file3
            i_begin_col                   = '1'
            i_begin_row                   = p_brow3
            i_end_col                     = '13'
            i_end_row                     = p_erow3
          TABLES
            intern                        = it_excel3
    * EXCEPTIONS
    *   INCONSISTENT_PARAMETERS       = 1
    *   UPLOAD_OLE                    = 2
    *   OTHERS                        = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT it_excel3 INTO wa_excel3.
        CASE wa_excel3-col.
          WHEN '0001'.
            wa_service-po_no = wa_excel3-value.
          WHEN '0002'.
            wa_service-po_item = wa_excel3-value.
          WHEN '0003'.
            wa_service-pckg_no = wa_excel3-value.
          WHEN '0004'.
            wa_service-line_no = wa_excel3-value.
          WHEN '0005'.
            wa_service-ext_line = wa_excel3-value.
          WHEN '0006'.
            wa_service-outl_ind = wa_excel3-value.
          WHEN '0007'.
            wa_service-subpckg_no = wa_excel3-value.
          WHEN '0008'.
            wa_service-serial_no = wa_excel3-value.
          WHEN '0009'.
            wa_service-short_text = wa_excel3-value.
          WHEN '0010'.
            wa_service-quantity = wa_excel3-value.
          WHEN '0011'.
            wa_service-base_uom = wa_excel3-value.
          WHEN '0012'.
            wa_service-gr_price = wa_excel3-value.
          WHEN '0013'.
            wa_service-matl_group = wa_excel3-value.
        ENDCASE.
        AT END OF row.
          APPEND wa_service TO it_service.
          CLEAR wa_service.
        ENDAT.
      ENDLOOP.
    ************** Excel 3
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            filename                      = p_file4
            i_begin_col                   = '1'
            i_begin_row                   = p_brow4
            i_end_col                     = '07'
            i_end_row                     = p_erow4
          TABLES
            intern                        = it_excel4
    * EXCEPTIONS
    *   INCONSISTENT_PARAMETERS       = 1
    *   UPLOAD_OLE                    = 2
    *   OTHERS                        = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT it_excel4 INTO wa_excel4.
        CASE wa_excel4-col.
          WHEN '0001'.
            wa_account-po_no  = wa_excel4-value.
          WHEN '0002'.
            wa_account-po_item  = wa_excel4-value.
          WHEN '0003'.
            wa_account-serial_no = wa_excel4-value.
          WHEN '0004'.
            wa_account-gl_account = wa_excel4-value.
          WHEN '0005'.
            wa_account-costcenter = wa_excel4-value.
          WHEN '0006'.
            wa_account-asset_no = wa_excel4-value.
          WHEN '0007'.
            wa_account-orderid  = wa_excel4-value.
        ENDCASE.
        AT END OF row.
          APPEND wa_account TO it_account.
          CLEAR wa_account.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " excel_to_itab
    *&      Form  GET_FINAL
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_final .
      LOOP AT it_header INTO wa_header.
    *  BAPI HEADER
        header-purch_org  = wa_header-purch_org.
        header-pur_group  = wa_header-pur_group.
        header-doc_type   = wa_header-doc_type.
        header-vendor     = wa_header-vendor.
        header-doc_date   = wa_header-doc_date.
        header-currency   = wa_header-currency.
        header-comp_code  = wa_header-comp_code.
    * BAPI HEADERX
        headerx-comp_code = c_x.
        headerx-doc_type = c_x.
        headerx-vendor = c_x.
        headerx-creat_date = c_x.
        headerx-created_by = c_x.
        headerx-purch_org = c_x.
        headerx-pur_group = c_x.
        headerx-langu = c_x.
        headerx-sales_pers = c_x.
        headerx-currency = c_x.
        headerx-doc_date = c_x.           " Added
        LOOP AT it_item INTO wa_item WHERE po_no = wa_header-po_no.
          CALL FUNCTION 'NUMBER_GET_NEXT'
             EXPORTING
               nr_range_nr                   = '01'
               object                        = 'SERVICE'
    *   quantity                      = '1'
    *   SUBOBJECT                     = ' '
    *   TOYEAR                        = '0000'
    *   IGNORE_BUFFER                 = ' '
              IMPORTING
              number                        =    number
    *   QUANTITY                      =
    *   RETURNCODE                    =
    * EXCEPTIONS
    *   INTERVAL_NOT_FOUND            = 1
    *   NUMBER_RANGE_NOT_INTERN       = 2
    *   OBJECT_NOT_FOUND              = 3
    *   QUANTITY_IS_0                 = 4
    *   QUANTITY_IS_NOT_1             = 5
    *   INTERVAL_OVERFLOW             = 6
    *   BUFFER_OVERFLOW               = 7
    *   OTHERS                        = 8
          IF sy-subrc <> 0.
    * Implement suitable error handling here
          ENDIF.
          item-po_item        =     wa_item-po_item.
          item-acctasscat     =     wa_item-acctasscat.
          item-item_cat       =     '9'.
          item-short_text     =     wa_item-short_text.
          item-plant          =     wa_item-plant.
          item-pckg_no        =     number.
          item-stge_loc       =     wa_item-stge_loc.
          item-quantity       =     wa_item-quantity.
          item-po_unit        =     wa_item-po_unit.
          item-po_price       =     wa_item-po_price.
          item-net_price      =     wa_item-net_price.
          item-price_unit     =     wa_item-price_unit.
          item-orderpr_un     =     wa_item-orderpr_un.
          item-matl_group     =     wa_item-matl_group.
          item-tax_code       =     wa_item-tax_code.
          APPEND item.
          CLEAR item.
          itemx-po_item = wa_item-po_item.
          itemx-item_cat =  c_x.
          itemx-po_itemx = c_x.
          itemx-short_text = c_x.
          itemx-quantity = c_x.
          itemx-tax_code = c_x.
          itemx-acctasscat = c_x.
          itemx-item_cat = c_x.
          itemx-matl_group = c_x.
          itemx-plant = c_x.
          itemx-trackingno = c_x.
          itemx-agreement = c_x.
          itemx-agmt_item = c_x.
          itemx-stge_loc = c_x.
          itemx-quantity = c_x.
          itemx-po_unit = c_x.
          itemx-conv_num1 = c_x.
          itemx-conv_den1 = c_x.
          itemx-net_price = c_x.
          itemx-price_unit = c_x.
          itemx-gr_pr_time = c_x.
          itemx-prnt_price = c_x.
          itemx-unlimited_dlv = c_x.
          itemx-gr_ind = c_x .
          itemx-ir_ind = c_x .
          itemx-gr_basediv = c_x .
          itemx-pckg_no = c_x.
          itemx-po_price = c_x.         " Added
          itemx-orderpr_un = c_x.         " Added
          APPEND itemx.
          CLEAR itemx.
          itemschedule-po_item = wa_item-po_item.
          itemschedule-del_datcat_ext = 'D'.
          itemschedule-delivery_date =  wa_item-delivery_date.
          APPEND itemschedule.
          CLEAR itemschedule.
          itemschedulex-po_item = wa_item-po_item.
          itemschedulex-po_itemx = c_x .
          itemschedulex-del_datcat_ext = c_x.
          itemschedulex-delivery_date = c_x .
          APPEND itemschedulex.
          CLEAR itemschedulex.
          LOOP AT  it_service INTO wa_service WHERE po_no = wa_item-po_no AND po_item = wa_item-po_item.
            IF  wa_service-outl_ind IS INITIAL.
    IF number1 IS INITIAL.
              CALL FUNCTION 'NUMBER_GET_NEXT'
                EXPORTING
                  nr_range_nr                   = '01'
                  object                        = 'SERVICE'
    *   quantity                      = '1'
    *   SUBOBJECT                     = ' '
    *   TOYEAR                        = '0000'
    *   IGNORE_BUFFER                 = ' '
                 IMPORTING
                 number                        =    number1
    *   QUANTITY                      =
    *   RETURNCODE                    =
    * EXCEPTIONS
    *   INTERVAL_NOT_FOUND            = 1
    *   NUMBER_RANGE_NOT_INTERN       = 2
    *   OBJECT_NOT_FOUND              = 3
    *   QUANTITY_IS_0                 = 4
    *   QUANTITY_IS_NOT_1             = 5
    *   INTERVAL_OVERFLOW             = 6
    *   BUFFER_OVERFLOW               = 7
    *   OTHERS                        = 8
              IF sy-subrc <> 0.
    * Implement suitable error handling here
              ENDIF.
              services-pckg_no      =  number.
              services-line_no      =  '1'.
              services-ext_line     =  '0'.
              services-outl_ind     =  'X'.
              services-subpckg_no   =  number1.
    *          services-short_text   =  wa_service-short_text.
    *          services-quantity     =  wa_service-quantity.
    *          services-base_uom     =  wa_service-base_uom.
    *          services-gr_price     =  wa_service-gr_price.
    *          services-matl_group   =  wa_service-matl_group.
              APPEND  services.
              CLEAR services.
    ENDIF.
    *        ELSE.
              services-pckg_no      =  number1.
              services-line_no      =  wa_service-line_no.
              services-ext_line     =  wa_service-ext_line.
    *          services-outl_ind     =  wa_service-outl_ind.
              services-subpckg_no   =  '0'.
              services-short_text   =  wa_service-short_text.
              services-quantity     =  wa_service-quantity.
              services-base_uom     =  wa_service-base_uom.
              services-gr_price     =  wa_service-gr_price.
              services-matl_group   =  wa_service-matl_group.
              APPEND  services.
              CLEAR services.
            ENDIF.
            IF wa_service-outl_ind IS INITIAL.
              posrvaccessvalues-pckg_no =  number1.
              posrvaccessvalues-line_no = wa_service-line_no.
              posrvaccessvalues-serno_line = '01'.
              posrvaccessvalues-serial_no = wa_service-serial_no.
    *          posrvaccessvalues-percentage = '100'.
              APPEND posrvaccessvalues . CLEAR posrvaccessvalues.
            ENDIF.
          ENDLOOP.
          LOOP AT it_account INTO wa_account WHERE po_no = wa_item-po_no AND po_item = wa_item-po_item.
            account-po_item         =       wa_account-po_item.
            account-serial_no       =       wa_account-serial_no.
            account-gl_account      =       wa_account-gl_account.
            account-costcenter      =       wa_account-costcenter.
            account-asset_no        =       wa_account-asset_no.
            account-orderid         =       wa_account-orderid.
            APPEND account.
            CLEAR account.
            accountx-po_item = wa_account-po_item.
            accountx-po_itemx = c_x .
            accountx-serial_no = wa_account-serial_no.
            accountx-serial_nox = c_x .
    *        accountx-creat_date = c_x .
            accountx-costcenter = c_x .
            accountx-gl_account = c_x .
    *        accountx-co_area = c_x .
    *        accountx-tax_code = c_x .
    *        accountx-asset_no        = c_x .   " Added
    *        accountx-orderid         = c_x .   " Added
            APPEND accountx. CLEAR accountx.
          ENDLOOP.
        ENDLOOP.
        CALL FUNCTION 'BAPI_PO_CREATE1'
          EXPORTING
            poheader          = header
            poheaderx         = headerx
    *       POADDRVENDOR      =
    *       TESTRUN           =
          IMPORTING
            exppurchaseorder  = purchaseorder
    *       EXPHEADER         =
    *       EXPPOEXPIMPHEADER =
          TABLES
            return            = return
            poitem            = item
            poitemx           = itemx
            poschedule        = itemschedule
            poschedulex       = itemschedulex
            poaccount         = account
            poaccountx        = accountx
            poservices        = services.
        posrvaccessvalues = posrvaccessvalues.
        IF purchaseorder IS NOT INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
        ENDIF.
        LOOP AT return.
          WRITE : / return-type, return-number, return-message.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.                    " GET_FINAL

    Hi ganesh,
    Please look at the SAP note 376424 - BAPI_PO_CREATE1: Error messages for parked POs.
    Sap recommends to install the support service pack. Take a look at the note for detailed understanding.
    Also take a look at SAP NOte
    767284 - SE518 occurs although account assignment is supplied to BAPI (this requires Note 552114 must be applied as a prerequisite)
    Consider contacting basis team after your analysis about the issue.
    Regards,
    Sivaganesh

  • Master data is not getting displayed in the Report in Quality

    HI Experts,
    I have ZESP_Num as master for my transaction data.
    I have loaded the data in the Development and designed and checked my report. It is working fine.
    But after moving it to Quality. My report is not getting the master data.
    When I try to do right click manage ZESP_Num.
    I'm getting message like this.
    The data from the InfoProvider ZESP_NUM involved could not be checked
    Message no. DBMAN242
    Diagnosis
    A participating InfoProvider is virtual and aggreement between results and selections cannot be guaranteed.
    Can anyone plz help me.
    Thanks

    Hi,
    Please check the SNOTE Note 1364083 u2013 Message text will appear unexpectedly in surface.
    Hope helpful.
    Regards,
    RAO

  • GL A/c Clearing

    All Members,
    I am having one error. i.e. If I want to clear the GL A/c through F-03, I am getting the error message u201C There are no open Items managed in account 218000u201D u2013 Message no. F5133 .
    But If I see in FBL3N i.e. GL Line items display with open item selection , there it shows as open items.
    If I see in FS00 i.e. GL Master data for that GL A/c u2013 there are no open item & Line Item fields are displaying.
    So, I checked in OBD4 u2013 Account group field status and T. Code - OB26. In both the T. codes it shows as optional only.
    1 ) Now the question is how can I see that GL a/c whether open item selected or not.
    2 ) If the GL A/c is not open item then why it is showing as open item in FBL3N
    3) If the GL A/c is selected as Open Item then why it is not clearing.
    The above questions are asking my client.
    Thanks
    Regards
    K. S. Sai Kumar

    Dear MR Sai,
    You are saying in FS00 the said GL Code , the open item field is not displaying.
    That clearly says that while creating the GL accounts the open item was not selected.
    Then if u have posted some entries to it it can not be said to be open items. (Please check if Gren Tick Mark, then it is not open items, if red icons are there then it is said to be open line items)
    Now even if you change the FSG to required field which is not suggested you can not change the GL master as it is having some items.
    Advise:-
    Please create New GL Codes under same group and select the FSG (Account Management)as optional only for open item.
    Select teh openn item and transfer the existing entry in old GL to new GL and block the old GL for posting
    Regards,
    Alok

  • Purchase Order  Print ..?

    Hi Experts,
    I created a po .i am trying to view the Print preview but i am not getting.
    because message is not created.  if i create a message manualley i can view print pre view.
    how to get the message automaticilley create.
    i did all the  settings in the NACE -  Condition records -  Purchasing Output  Determination :Document Type - pur doc.Type -
    Date/Time :-4  i am maintaining.
    but i am not getting the message automaticalley.
    Thanksin Advance,
    Anthyodaya.

    Hi
    Please find below the solution
    Messages can be transmitted both by the regular mail (postal service) and electronically. In the SAP System, the term "message" stands for both letters and suchlike (communications in the conventional sense) as well as other documents such as RFQs, purchase orders, contracts, and delivery schedules, all of which serve as a means of communicating information to other parties. A message control facility that depends on a number of different criteria allows you to process and transmit such messages under certain conditions, subject to predefined restrictions.
    Steps involved in configuration of Message types:  IMG u2013 MM u2013 Purchasing u2013 Messages
    Output Control:
    -     Create Condition Table (M/59) for ex. PO
    -     Create Access Sequences, copy the existing one i.e. 0001 and edit the same.
    -     Create Message types (M/34), copy the existing one i.e. NEU and edit the same then double click the O/P type assign the access sequence and save.
    -     Create Message Determination Schemas (M/36), copy the existing procedure i.e. RMBEF1 and edit the same, then go to new entries choose the condition type and save.
    -     Assign Schema to Purchase Order - Created Procedure to be assigned to PO and save.
    -     Create Partner Roles per Message Type - no input to be given.
    T.code : NACE
    Step 1 Condition records : NEU go for your possible combination and maintain records with vendor combination
    Step 2 : Condition Procedure :
    Create Procedure with different condition types
    Step 3 : Condition types
    Maintain Mail & text
    Maintain Processing routine
    Maintain Partner functions
    In Processing routine select medium , program , forms  & PDF  / Smart form.
    Thanks & Regards,
    mani

  • U201CRG23 Part II posting error

    Hello Gurus,
    1. My client is created one PO with 100 qty on dated 13/05/2010
    2. And he has done the 1st GR (101) with 50 qty on dated 13/05/2010 and posted pat1 and II, when I opened GR doc in MIGO in that excise invoice number 1481 and date is 23/03/2010. And Part II (500811601) posting dated 14.05.2010
    3. After that he has also done the 2nd GR (101) with remaining 50 qty on dated 27/05/2010 and posted part1and part II now in that excise invoice number is same (1481) but date is different 23/03/2010 and Part II posting (500811614) Dated 30/05/2010
    4. Then he has done cancellation 1st GR (102) with 50 qty on dated 27/05/2010. And he has done the some of Vendor down payment.
    Now all quantity is consumed and while doing MIRO for 2nd GR he is getting error u201CRG23 Part II posting yet not doneu201D u2013 Message no. 8I478
    Hence i m suggested to client do is cancel both GR and part II also and again do GR fresh for all the qty which you had received then capture & post part II in J1IEX then post MIRO it will allow to post and MM ( Qty) & FI ( value) will be match.But he is saying all material is consumed and not able to do for cancel the GR. 
    Kindly provide the solution pls..
    Regards
    Rahul

    Please follow the following procedure to avoid such kind of problems.
    1) Whenever u want to cancel the Excise Invoice Number whose Part 1 & 2 has been posted.first cancel the Material Document  so that u can reverse the PART 1 Entries.
    2)Then repost the excise invoice so that PART 2 entries also gets nullified.
    3) Then cancel the Excise invoice number so that its status becomes Cancelled from Posted.
    After following the above procedure u should do the reentry of capturing/posting the Excise invoice.
    If u have followed the step 1 & 2 ,but not the step 3 ,then the error comes in MIRO that RG23 PART2 posting not yet done.
    This is the very common problem in Excise posting as people normally dont follow the Step 3.
    Regards,
    Satpal Mujawar

  • Error MM335 when trying to change profit center on material master record

    We are trying to change the profit center that is assigned on the u201CSales: general/plantu201D tab in the material master (same as what shows on the u201CCosting1u201D tab of the material master).
    The following error message appears:  u201CYou want to change the profit center but there are still material stocks u2013 Message no. MM335.u201D
    Our SAP version is SAP ECC 5.0 with support pack 19.
    This particular material that we are trying to change only exists within one plant and one storage location in SAP.
    I have done the following in order to try and resolve this issue:
    1. Removed all inventory from the inventory management and warehouse management side for the material.
    2. Closed all open purchase orders and process orders for the material.
    3. Looked at the MD04 screen to verify there are no outstanding documents for this material.
    I also searched for OSS notes and found note #1249513 which was applied to our sandbox environment.  This note did not fix our problem.
    I had a developer to debug the code that is being triggered upon making a profit center change.  Two important pieces of information he found is that the SAP code is:
    1. Looking to see if the u2018New G/Lu2019 is turned on and u2018profit centeru2019 is active in the new G/L.
    2. Looking to see if previous period stock exists for the material.
    The code is then setting a flag which causes the error message to appear.
    I have found other comments in the forum stating to change the error to a warning for message MM335.  I believe this is not the correct solution; as this would allow a change to a profit center even if stock exists, open orders exist, etc.  I also know we could trick the system by temporarily changing the message to a warning and sending that through to production, changing the material master and following up with a transport to change the message back to an error.  This would work, but we want a final resolution to this problem.
    I believe that 2 OSS notes that were included in our latest support pack upgrade has caused this problem.  Those notes are: 1057674 and 1106510.
    I plan on opening a note with SAP, but was wondering if any users have experienced this same problem after a recent support pack upgrade.
    Regards,
    JH

    Following is additional information regarding this problem.  We were able to successfully change the profit center on some of our materials by making sure there was no stock in previous period and current period (and no open sales orders, purchase orders, etc.).
    - JH

  • Need to Create a Check for Plant in WBS & Plant in Network

    Dear Guru's,
    While creating Project (CJ01) my users are creating in a Plant, and while creating network for the same project/WBS, they are using different Plant Code.
    Since my Profit center is related to the plant in CJ01,
    and because of wrong Plant in network, all my PR/ PO is going in a different Profit center, which is creating a huge problem while auditing.
    I need to Create a Check for Plant in WBS & Plant in Network...!!
    Kindly suggest me the ways to do it and how to do it...

    Hi Deepa,
    The Check you are trying to create between Plant defined at Project def and network level that should be same can be achieved through validation at the network level by using a user exit at network level.
                    While creating the network you can change the plant value not equal to the value at proj def/network profile may be one of the reason is since the network type is defined for more than one plant (OPUV).
                    While creating validations at network level we do not have the option of setting the prerequisite/check  using WBS or Proj def fields (i.e. PROJ-, PRPS- fields)    so we need to create a user exit at the network level.
    I am not sure but logically u can have a user exit for both prerequisite and check steps of the validation.
    You need to create the user exit in program ZGGBR000.
    Please take help from your Abaper for the same.
    OPSI-Network header-Validation- Step - Prerequisite u2013 Check u2013 Message.
    Prerequisite
    If Proj Profile = u2018XXXu2019 and Network Profile = u2018XXu2019 (or as per your logic if need be use a exit)
    CHECK.
    PROJ-WERKS = CAUFVD-WERKS   (This logic needs to be defined in user exit and set the same user exit at the check.)
    Once you define the user exit in ZGGBR000, it will be available in the tab u2018exitsu2019 at the Prerequisite and Check levels.
    The name of the form pool (e.g., ZGGBR000) that contains your user exit must be stored in table T80D.
    It is important that you make declare the code generation program for your user exit; how many and what type of parameters you are using for the user exit. You do this by entering your newly defined user exits in the form routine GET_EXIT_TITLES. Found in program ZGGBR000.
    Check with your Abaper to check on all the aboveu2026
    Message:
    Plant at Network level should be same as at Project def level.
    Hope it helps you,All the best..
    Regards
    Vinayak.

  • Adapter Engine is not working

    hi all
    My Adapter Engine is not working in RWB.
    In runtime workbench - message monitoring u2013 message from component - adapter engine is not working
    experts provide me the solution
    Regards
    Raju

    Hi
    What u r not getting kindly elobrate.
    R u using Component MOnitoring r Message Monitoring.
    Component Monitoring --> Adapter Eninge --> u can see all CC
    Im Message Moniotring --> AE --> u can Set the Sender and receiver System to view the messages
    srini

  • Notes to be implemenented after Factory and holiday calendar are extended.

    Hi All,
    Since most of SAP Factory and Holiday Calendar used had Validity date that ends on 12/31/2010 we have extended them till 2020.
    This was done manually using SAP note 1529469 and 501670.
    We have also implemented SAP Note 1532398 to avoid jobs going to dump that are running to deleted old spool request in SAP.
    We would like to know if there are any other note to be implemented in our SAP production system as a part of year end activity related to Factory and holiday Calendar.
    We could find the below note under 1532398
    1534735 - Job terminates with error message BT 518
    1532398 - Spool requests are no longer deleted as of beginning of year
    574628 - Change calendar dates in production system
    538344 - Transporting calendar dates
    501670 - Public Holiday Calendar Creation/Change
    1529649 - Factory Calendar expires 2010
    Thanks

    Hi
    I suppose the notes 1529649 - Factory Calendar expires 2010 and 501670 - Public Holiday Calendar Creation/Change are sufficient for the extensions.
    I don't any extra tasks are involved during the year end activity as far as factory / holiday calendar is concerned.

Maybe you are looking for

  • Complete lack of any student packages, have advert...

    Now don't get me wrong at no point do they explicitly state that the product is aimed at students, but when the entire advertising campaign for your new 'faster' broadband involves only students and habbo references you'd forgive me for thinking you'

  • [Solved] mplayer setting files

    What I know is, ~/.mplayer/config file affects all media files, and ~/.mplayer/a.mp4.conf affects only the media file which has the name a.mp4. But I have two media files, which have the same name, in different directories and I want to make differen

  • WRH54G not transmitting internet

    I have got WRH54G but suddenly couple of days back it stopped transmitting internet. I have a cable modem and i have connected it to it but I am not able to connect to internet using the wifi. My internet is working if I am connecting directly to cab

  • Dynamic conifguration for adapter module

    com.sap.aii.mapping.api.DynamicConfigurationKey Class used to create a key object for an adapter-specific attribute. The key object comprises the adapter namespace and the property name. ●     com.sap.aii.mapping.api.DynamicConfiguration Class used t

  • Active x and event callback in Labview

    I have an active x written by Aanderaa Instruments (makes weather and hydrology sensors), it contain various methods and events to get the next line of records from a sensory scanning unit. The connection is through the COM1, so far i have wired it u