Company code  is not assigned to an FM area in J1IIN

Hi Experts,
while posting Excise Invoice in J1IIN am getting the Error " Company code XXXX is not assigned to an FM area "
We are not using FM and its not activated. Please suggest
Regards
Ramesh

Hi rameshravi,
Please check the below link you will get some solution
Funds managment  -  Not able to assign the FM area to the comapny code
Let me know if your problem is solved
Regards
Pradeep

Similar Messages

  • Company code currency is different to the FM area currency

    Sir,
    There is 2 companis one in India and one in USA as such the currency diffence is coming and the error comes as :-
    company code currency is different to the FM area currency
    Please resolve
    Also Not able to do the Cost Centre budget upload in KP06

    Hi,
    if both company codes have to be assigned to the same FM Area (which I guess is your scenario), you should define at company code level at least one currency matching the one defined in the FM Area.
    Check the online help:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/f0/ca5716260211d28a430000e829fbbd/frameset.htm]
    Within 'Master data -> Enterprise Structure - Organizational Units  ->Organizational Structures - Assignments  ':
    The FM area is derived from the Financial Accounting organizational unit, the Company Code by assigning the company code relevant for Funds Management in your organization to an FM area. One or more company codes can be assigned to an FM area.
    With this assignment, you must note that the currency of each company code assigned to the FM area must match the FM area currency.
    If the 1 local currency (currency 10 = company code currency) of all company codes assigned to an FM area does not match the FM area currency, you must manage an additional local currency in these company codes.  The additional local currencies must have the same currency type and the same currency as the FM area currency.
    You define the additional local currencies in the Customizing of Financial Accounting in IMG activity Define Additional Local Currencies and of Funds Management Government in IMG activity Make Other Settings.
    hope this helps
    Regards
    Mar

  • A unique company code has not been assigned to company number 1000

    Dear Friends,
    When I do Inter-Company Transaction thro Transaction Code FB60 it is giving me Error.
    For Example: if I have 2 Company Codes - 8001 & 8002
    I want to Post One Vendor Invoice
    Ex:
    Vendor - 301 ABC Ltd., 5000 Credit
    400020 - Expenses 2000 Debit - Company Code - NGLC
    (Then Debit Expenses G/L Account 460000 for Company Code NGLC1)
    400020 - Expenses 3000 Debit - Company Code - 1000
    (Then Debit Expenses G/L Account 460100 for Company Code 1000)
    When I am going to POST it is giving me an Error please sees below.
    Error Message
    A unique company code has not been assigned to company number 1000
    Message no. GLT0001
    Diagnosis
    Document breakdown is active in your system. In certain cases, a company code is derived from the company ID number, and this must lead to the assignment of a unique company code.
    A unique company code could not be assigned to company number 1000.
    System Response
    You cannot carry out the required posting.
    Procedure
    Assign one company code to company number 1000.
    Please tell me How to solve this issue.
    Thanks in Advance,
    Ranga

    Hi Ranga
    Can you please check OBY6 settings (Additional details) for the co. codes, as it seems either multiple co. codes have been assinged to company number 1000 or none of the relevant co. codes have been assigned with company ID.
    Regards

  • Msg K1100 'The CO account assignment object belongs to company code X,not Y

    Hi,
    Unable to create an accounting document for a Return order.
    Message K1100 - Error:The CO account assignment object belongs to company code X,not Y
    Company Code : X
    Sales Org: X
    Plant: P
    Billing Date : IG ( Internal Credit Memo)
    The above details are from the item level- Account Assignment tab-Profitabliity Segment.
    Pl. let us know from which table these fields are picked.
    Regards
    Biju
    Edited by: Biju Mercy on Jan 7, 2010 12:58 PM

    I believe the error message number is ki100 and not  k1100  as indicated by you in which case, refer any of the following notes:-
    a)  140503
    b)  643700
    c)  420778
    d)  352261
    e)  141224
    thanks
    G. Lakshmipathi

  • The CO account assignment object belongs to company code 2100, not 1100

    Hi All,
    My system has all different company codes assigned to one cotrolling area as a result one can change org unit and position cost center from one company code to another.
    I recently changed same position's cost center from co code 2000 to cost center in new  co code 1100 and created new personnel area to be linked to new Co code 1100. OM module doesn't moan however when I try and capture org-reassignment action to default same employee postion with new related cost center from new company code 1100 get the follwing error.
    'The CO account assignment object belongs to company code 2100, not 1100'.
    I see in IT0001 system defaults new personnel area linked to Co code 1100 however it still defaults old cost center linked to Co code 2000 instead of new cost center linked to Co code1100. How can I make the system default  new cost center?
    NB relationship for new cost center  from Co code 1100 to postion has been changed effective 01.04.2012 . The same date is used for or-reassignment action.

    Hi I had same problem can you explain me little bit more that how you will resolve this

  • Unique company code has not been assigned to company number

    Dear Experts,
    When I am posting the customer advance amount in FBCJ I am getting the below mentioned error.
    Unique company code has not been assigned to company number
    Message no. GLT0001
    Diagnosis
    Document breakdown is active in your system. In certain cases, a company code is derived from the company ID number, and this must lead to the assignment of a unique company code.
    A unique company code could not be assigned to company number .
    System Response
    You cannot carry out the required posting.
    Procedure
    Assign one company code to company number .
    Did I miss any config settings.
    Thanks in advance,
    Regards
    Aswin

    Hi,
    We faced the same issue and we managed to solve it thanks to SAP Support assistance. The system at the time of posting is looking for a value in the Field "Trading Partner" in the FBCJ Transaction code. That field is required because the item is like a Company Code clearing therefore if the field is not filled it cannot determine the Company code during posting.
    To solve this you have two approaches:
    To treat each Cash journal separately you need to Fill the Trading Partner field individually in the FBCJ with the respective value. Select the same Trading Partner as your original company code (even if you select other company code you cannot post Inter company through FBCJ).
    Go to FS01/FS02 of the particular account you face this issue and define a Trading Partner in the Type/Description Tab under Consolidation data in Chart of accounts. With this way the Trading Partner will apply for all postings concerning that particular GL Account and there will be no need for the first approach described above.
    I hope this helps.
    Regards,
    Athos Kyriakides

  • The CO account assignment object belongs to company code PN10, not BN10

    Hi All, Iu2019m getting the error u201CThe CO account assignment object belongs to company code PN10, not BN10" when trying to make a payment on an invoice that was created in company code BN10.
    The error came about because, there was an exchange rate difference between the invoice value and the corresponding payment value (document currency is USD and the transaction I'm using to make payment is F-58).
    Therefore when i try to make the payment, the SAP system detects the exchange rate difference and attempts to post it to the exchange rate difference account (421020050). In OKB9, the default cost center specified for G/L account (421020050) in BN10 is (B999010). Therefore when the payment is been done, the system posts the exchange rate difference to G/L account (421020050) and assigns the cost center (B999010).
    However, upon trying to save the document, the system shows the message "Correct the marked line items" (the marked line item here is the exchange rate line item). Therefore, I double click the line item to drill down on it and see that everything seems fine. I then click the save button, on clicking it, the system shows the error "The CO account assignment object belongs to company code PN10, not BN10u201D.
    When i double click the error to read a more comprehensive explanation of the error, its content are as displayed below:
    The CO account assignment object belongs to company code PN10, not BN10
    Message no. KI100
    Diagnosis
    You want to make a posting in company code BN10.
    At the same time, a CO account assignment object was specified that is assigned to company code PN10.
    This is account assignment object with object type CTR, and object key NIG1/A999010.
    System Response
    Company code validation is active for company code BN10:
    All account assignment objects in one posting row must be assigned to the same company code.
    Procedure
    You can
    u2022     Make an assignment to company code PN10.
    u2022     Enter an account assignment object assigned to company code BN10.
    u2022     Change the assignment of object NIG1/A999010 to company code PN10. In this case, you should note the document and edit it further after changing the assignment.
    If the posting is to a balance sheet account (category 90), you may also decide whether to allow CO account assignment objects from other company codes. If this is the case, deactivate the error message with the IMG step Change message control (message ID "KI", message number 100).
    You can set the following message types:
    "-"   Message is not sent
    "W"   Message is sent as a warning message
    "E"   Message is sent as an error message
    Posting to cost elements of another category always results in the message appearing as an error message, whether it has been deactivated or not.
    Execute "Change message control"
    (NOTE: All cost centers that starts with u201CAu201D belong to company code PN10 and those that starts with u201CBu201D belong to company code BN10)
    Kindly help with the resolution of this issue. Any resolution ideas would be greatly appreciated.
    Moderator: Please, search SDN

    Check the following OSS notes
    1)  Note 141224 - Error message KI100 for cross company
    2)  Note 202765 - KI100 during release of intercompany billing
    thanks
    G. Lakshmipathi

  • Why I can not find my CoCd(Company code) when I Assign plant to company cod

    Hi All,
    In SPRO.
    I have defined my company in /Enterprise Structure/Definition/Financial Accounting/Define company.
    When I try to Assign plant to company code(/Enterprise Structure/Assignment/Logistics-General/Assign plant to company code). It reports my company code is not existing.
    Can someone tell me what's wrong. have I missed sth?
    Thanks and regards,
    Samson Zhu

    Plant will be copied Logistics->general -> Define, delete, copy check plant
    after defining and copying then you can assign this plant to company code as you specified.
    I think this will solve ur problem.
    Regards
    Ravi

  • The CO account assignment object belongs to company code 4007, not 4440

    Hi,
    I am Loading Employee data (PA0001) and getting the following error.
    The CO account assignment object belongs to company code 4007, not 4440
    Can anybody clarify me.
    Thanks,
    Aparna

    Hi Aparna,
    Default Cost Assignments arent properly configured. Check TCODE OKB9 and get the assignments rectified with the help of FI Consultant.
    For more understanding, follow the link
    [Error in PA 40  The CO account assignment object belongs to company code XX]
    Hope this helps !!!!
    Kumarpal Jain.

  • The unique company code has not been assigned to company number

    Hi,
    When i am posting invoice (MIRO) the following error is coming "The unique company code has not been assigned to company number" message number GLT0001, (origin - Post). We have only one company code and i have given six digit unique number also and assigned it to the company, still i am unable to post invoice.
    Awaiting valuable suggestions
    Sudheer

    Hi,
    Please check in Company Code's Global parameter whether company has been entered in Accounting Organisation section.
    Award points, if found helpful.
    Regards,
    Harish

  • BDC error CO assingnment object  belong to company code A800 not A900

    Hi,
    I am getting  BDC error 'CO assingnment object  belong to company code A800 not A900'.
    Please any one suggest the reason for this.
    Thakns in advance.

    Hi,
    you are processing a BDC-session for company code A900 with a CO-account assignment for comp. code A800 and your system does not allow cross-company code postings. Check the co-object and correct it.
    Best regards, Christian

  • Company code data not maintained ERROR

    I have defined company code, plant, str loc, purchase org, and i have assigned all those things. i have also assigned to controlling area.   in ec01  it is showing the structure but while creating the Material master for that particular plant it is showing the msg Company code data not maintained.

    Hi Praveen,
    It seems from your explanation that you havent maintained company code for Materials management,
    Got to transaction OMSY maintain your company code for present fiscal year and period.
    I hope this will will solve your Issue.
    With Regards,
    Vijaykumar Panchagattimath

  • Company code  is not set up for electronic tax return

    hi dear
                what is the configuration of e-return salea/purchase .
    The system cannot execute the taxes on sales/purchases settlement within electronic communication with authorities.
    when i excute F.12 then message coming  Company code  is not set up for electronic tax return
    please guide me.
    regards
    purushottam
    Regards

    Hi,
    if you start report via SE38. program name RFUMSV00 you can read the program documentation. In here it states what is needed:
    ...In addition, the report provides data for the electronic advance return
    for tax on sales/purchases. The administration report for electronic tax
    returns (FOT_B2A_ADMIN) then directly sends the return to your relevant
    tax authority.
    To use the electronic advance return for tax on sales/purchases, make
    the necessary settings in the screen area Posting Parameters under
    Electronic Advance Tax Return.
    For more information, see the SAP Library under Financials -> Financial
    Accounting (FI) -> Financial Accounting  General Topics -> Taxes
    (FI-AP/AR) -> Taxes on Sales/Purchases, Sales Taxes, and Additional
    Taxes -> Electronic Advance Return for Tax on Sales/Purchases.
    Hope this gives you a beginning.
    Hein

  • Company code could not be determined for IDoc #.......

    I was trying to generate an IDoc manually by using the tcode WE19. I have manually keyed the data in to the respective segments for the basic type PEXR2002 and message type REMADV. After this while processing, the IDoc is getting generated, but not posted OK. I am getting the following two error messages 51 stating:
    'Company code could not be determined for the IDoc #....'
    'Customer/vendor could not be determined for the IDoc #.'
    Can any one give some inputs on this issue?
    Shaji
    Message was edited by: Shaji Thomas

    Hi Shaji,
    You may look at the OSS note 316811.
    Thanks
    Vinod

  • Help - Error in PR BAPI :  Purchasing across company codes is not allowed..

    I have written a program to create Purchase Requisition.I am using two BAPIs.In the file i specify the old PR No, New Plant,Purch Group and Purch Org.It is actually a program to create a new PR in a new plant which is a copy of an Old PR in older plant.
    Program is below:
    I am getting the error Purchasing across company codes is not allowed..
    Please Help
    *& Report  ZMMB_BDC_ME51N_WO
    REPORT  ZMMB_BDC_ME51N_WO.
    INITIALIZATION.
    D A T A   D E C L A R A T I O N                                     *
      TYPES: BEGIN OF TY_TABDATA,
              BANFN TYPE EBAN-BANFN, " Purchase Requistion No
              WERKS TYPE MEREQ3211GRID-WERKS, "Plant
              EKGRP TYPE MEREQ3211GRID-EKGRP, "Purchasing Group
              EKORG TYPE MEREQ3211GRID-EKORG, "Purchasing Organization
             END OF TY_TABDATA.
      TYPES: BEGIN OF TY_CHECK,
                BANFN TYPE EBAN-BANFN, " Purchase Requistion No
                BNFPO TYPE EBAN-BNFPO, " Purchase Requistion Item No
                EBAKZ TYPE EBAN-EBAKZ, " PR Closed
             END OF TY_CHECK.
    Declaration of the Internal Table & Work Area.
      DATA:
             IT_TABDATA         TYPE  STANDARD  TABLE  OF   TY_TABDATA, " Internal Table for file
             WA_TABDATA         TYPE                       TY_TABDATA.
      DATA: IT_ITEM TYPE STANDARD TABLE OF BAPIEBAN ,
            WA_ITEM LIKE LINE OF IT_ITEM,
            IT_ITEM1 TYPE STANDARD TABLE OF BAPIEBANC,
            WA_ITEM1 LIKE LINE OF IT_ITEM1,
            IT_ACCOUNT TYPE STANDARD TABLE OF BAPIEBKN,
            WA_ACCOUNT LIKE LINE OF IT_ACCOUNT,
            IT_PRITEMTEXT TYPE STANDARD TABLE OF BAPIEBANTX,
            WA_PRITEMTEXT LIKE LINE OF IT_PRITEMTEXT,
            IT_SERVICES TYPE STANDARD TABLE OF BAPIESLL ,
            WA_SERVICES LIKE LINE OF IT_SERVICES,
            IT_SERVICES1 TYPE STANDARD TABLE OF BAPIESLLC ,
            WA_SERVICES1 LIKE LINE OF IT_SERVICES1,
            IT_SERVICETEXT TYPE STANDARD TABLE OF BAPIESLLTX,
            WA_SERVICETEXT LIKE LINE OF IT_SERVICETEXT,
            IT_CHECK TYPE STANDARD TABLE OF TY_CHECK,
            WA_CHECK LIKE LINE OF IT_CHECK.
       Global data Declaration
      DATA:   GV_YEAR(4)         TYPE C,
              GV_MNTH(2)         TYPE C,
              GV_DATE(2)         TYPE C,
              GV_DATUM(8)       TYPE C,
              GV_ANS TYPE C,
              W_FILENAME      TYPE  STRING.
    Declaration of the Internal Table with Header Line comprising of the uploaded data.
      DATA:  BEGIN  OF  IT_FILE_UPLOAD  OCCURS  0.
      INCLUDE  STRUCTURE  ALSMEX_TABLINE.  "  Rows for Table with Excel Data
      DATA:  END  OF  IT_FILE_UPLOAD.
    Batch Input Data for a single Transaction.
    Message of Call Transaction.
      DATA:  BDCDATA  LIKE  BDCDATA     OCCURS  0  WITH  HEADER  LINE,
             MSGTAB   LIKE  BDCMSGCOLL  OCCURS  0  WITH  HEADER  LINE.
    S E L E C T I O N - S C R E E N                                     *
      SELECTION-SCREEN:  BEGIN  OF  BLOCK  B1  WITH  FRAME TITLE TEXT-001,
                             BEGIN  OF  BLOCK  B2  WITH  FRAME TITLE TEXT-004.
      PARAMETERS: P_FNAME  LIKE  RLGRAP-FILENAME  OBLIGATORY.
      SELECTION-SCREEN:      END  OF  BLOCK  B2,
                         END  OF  BLOCK  B1.
    E V E N T : AT    S E L E C T I O N - S C R E E N                   *
    AT  SELECTION-SCREEN  ON  VALUE-REQUEST  FOR  P_FNAME.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          STATIC    = 'X'
        CHANGING
          FILE_NAME = P_FNAME.
    E V E N T : S T A R T - O F - S E L E C T I O N                     *
    START-OF-SELECTION.
    Upload Excel file into Internal Table.
      PERFORM  UPLOAD_EXCEL_FILE.
      IF  NOT  IT_FILE_UPLOAD  IS  INITIAL.
      Confirm whether you want to proceed with the Upload.
        PERFORM  CONFIRM_UPLOAD.
        IF  GV_ANS  EQ  '1'.
      Organize the uploaded data into another Internal Table.
          PERFORM  ORGANIZE_UPLOADED_DATA.
          PERFORM BAPI_CALL.
        ENDIF.
      ELSE.
        LEAVE PROGRAM.
      ENDIF.
    *&      Form  UPLOAD_EXCEL_FILE
          text
    -->  p1        text
    <--  p2        text
    FORM UPLOAD_EXCEL_FILE .
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FNAME
          I_BEGIN_COL             = 1
          I_BEGIN_ROW             = 4
          I_END_COL               = 4
          I_END_ROW               = 9999
        TABLES
          INTERN                  = IT_FILE_UPLOAD
        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.
    ENDFORM.                    " UPLOAD_EXCEL_FILE
    *&      Form  CONFIRM_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM CONFIRM_UPLOAD .
      CALL FUNCTION 'POPUP_TO_CONFIRM'
        EXPORTING
          TITLEBAR       = TEXT-002
          TEXT_QUESTION  = TEXT-003
        IMPORTING
          ANSWER         = GV_ANS
        EXCEPTIONS
          TEXT_NOT_FOUND = 1
          OTHERS         = 2.
    ENDFORM.                    " CONFIRM_UPLOAD
    *&      Form  ORGANIZE_UPLOADED_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM ORGANIZE_UPLOADED_DATA .
      DATA : GV_TOTROW TYPE I, "No of records
              GV_ROW TYPE I,
              LC_CNT(3) TYPE N.
      GV_TOTROW = 1.
      SORT  IT_FILE_UPLOAD  BY  ROW
                              COL.
      LOOP AT IT_FILE_UPLOAD.
        GV_TOTROW = IT_FILE_UPLOAD-ROW.
      ENDLOOP.
      GV_ROW = 1.
      WHILE GV_ROW <= GV_TOTROW.
        LOOP  AT  IT_FILE_UPLOAD WHERE ROW = GV_ROW.
          CASE  IT_FILE_UPLOAD-COL.
            WHEN '0001'.
              WA_TABDATA-BANFN = IT_FILE_UPLOAD-VALUE.
            WHEN '0002'.
              WA_TABDATA-WERKS = IT_FILE_UPLOAD-VALUE.
            WHEN '0003'.
              WA_TABDATA-EKGRP = IT_FILE_UPLOAD-VALUE.
            WHEN '0004'.
              WA_TABDATA-EKORG = IT_FILE_UPLOAD-VALUE.
          ENDCASE.
        ENDLOOP.
        GV_ROW = GV_ROW + 1.
        APPEND WA_TABDATA TO   IT_TABDATA .
        CLEAR :WA_TABDATA.
      ENDWHILE.
    ENDFORM.                    " ORGANIZE_UPLOADED_DATA
    *&      Form  BAPI_CALL
          text
    -->  p1        text
    <--  p2        text
    FORM BAPI_CALL .
      DATA:ITM_NO(4) TYPE N,LV_PERCENTAGE(3) TYPE N,
           LV_MSG(60),
           IT_RETURN TYPE STANDARD TABLE OF BAPIRETURN,
           WA_RETURN LIKE LINE OF IT_RETURN.
      DATA: BEGIN OF WA_RETURN1,
            BANFN TYPE EBAN-BANFN.
      INCLUDE  TYPE BAPIRETURN.
      DATA END OF WA_RETURN1.
      DATA:IT_RETURN1 LIKE STANDARD TABLE OF WA_RETURN1.
      DESCRIBE TABLE IT_TABDATA LINES ITM_NO.
      LOOP AT IT_TABDATA INTO WA_TABDATA.
        CALL FUNCTION 'BAPI_REQUISITION_GETDETAIL'
          EXPORTING
            NUMBER                               = WA_TABDATA-BANFN
           ACCOUNT_ASSIGNMENT                   = 'X'
           ITEM_TEXTS                           = 'X'
           SERVICES                             = 'X'
           SERVICE_TEXTS                        = 'X'
          TABLES
            REQUISITION_ITEMS                    = IT_ITEM
           REQUISITION_ACCOUNT_ASSIGNMENT       = IT_ACCOUNT
           REQUISITION_TEXT                     = IT_PRITEMTEXT
      REQUISITION_LIMITS                   =
      REQUISITION_CONTRACT_LIMITS          =
       REQUISITION_SERVICES                 = IT_SERVICES
       REQUISITION_SERVICES_TEXTS           = IT_SERVICETEXT
      REQUISITION_SRV_ACCASS_VALUES        =
      RETURN                               =
        COMPUTE LV_PERCENTAGE = ( ITM_NO / SY-TABIX ) * 100.
        CONCATENATE 'PROCESSING PURCHASING REQUISITION FOR OLD PR NUMBER ' WA_TABDATA-BANFN INTO LV_MSG.
        CALL FUNCTION 'RM_SAPGUI_PROGRESS_INDICATOR'
          EXPORTING
            PERCENTAGE = LV_PERCENTAGE
            TEXT       = LV_MSG.
        CLEAR:LV_PERCENTAGE ,LV_MSG.
        IF IT_TABDATA[] IS NOT INITIAL.
          SELECT BANFN BNFPO EBAKZ FROM EBAN INTO TABLE IT_CHECK FOR ALL ENTRIES IN IT_TABDATA
              WHERE BANFN = IT_TABDATA-BANFN AND EBAKZ = 'X'.
        ENDIF.
        LOOP AT IT_CHECK INTO WA_CHECK.
          LOOP AT IT_ITEM INTO WA_ITEM WHERE PREQ_NO = WA_CHECK-BANFN AND PREQ_ITEM = WA_CHECK-BNFPO.
            DELETE IT_ITEM WHERE PREQ_NO = WA_CHECK-BANFN AND PREQ_ITEM = WA_CHECK-BNFPO.
          ENDLOOP.
          LOOP AT IT_ACCOUNT INTO WA_ACCOUNT WHERE PREQ_NO = WA_CHECK-BANFN AND PREQ_ITEM = WA_CHECK-BNFPO.
            DELETE IT_ACCOUNT WHERE PREQ_NO = WA_CHECK-BANFN AND PREQ_ITEM = WA_CHECK-BNFPO.
          ENDLOOP.
        ENDLOOP.
        LOOP AT IT_ITEM INTO WA_ITEM.
          WA_ITEM-PLANT = WA_TABDATA-WERKS.
          WA_ITEM-PUR_GROUP = WA_TABDATA-EKGRP.
          WA_ITEM-PURCH_ORG = WA_TABDATA-EKORG.
          MODIFY IT_ITEM FROM WA_ITEM TRANSPORTING PLANT PUR_GROUP PURCH_ORG.
          MOVE-CORRESPONDING WA_ITEM TO WA_ITEM1.
          WA_ITEM1-PREQ_NO = ''.
          WA_ITEM1-STORE_LOC = ''.
          APPEND WA_ITEM1 TO IT_ITEM1.
          CLEAR WA_ITEM1.
        ENDLOOP.
        LOOP AT IT_ACCOUNT INTO WA_ACCOUNT.
          WA_ACCOUNT-PREQ_NO = ''.
          MODIFY IT_ACCOUNT FROM WA_ACCOUNT TRANSPORTING PREQ_NO.
        ENDLOOP.
        LOOP AT IT_SERVICES INTO WA_SERVICES.
          MOVE-CORRESPONDING WA_SERVICES TO WA_SERVICES1.
          APPEND WA_SERVICES1 TO IT_SERVICES1.
          CLEAR WA_SERVICES1.
        ENDLOOP.
        CALL FUNCTION 'BAPI_REQUISITION_CREATE'
       EXPORTING
         SKIP_ITEMS_WITH_ERROR                =
         AUTOMATIC_SOURCE                     = 'X'
       IMPORTING
         NUMBER                               =
          TABLES
            REQUISITION_ITEMS                    = IT_ITEM1
           REQUISITION_ACCOUNT_ASSIGNMENT       = IT_ACCOUNT
           REQUISITION_ITEM_TEXT                = IT_PRITEMTEXT
         REQUISITION_LIMITS                   =
         REQUISITION_CONTRACT_LIMITS          =
          REQUISITION_SERVICES                 = IT_SERVICES1
         REQUISITION_SRV_ACCASS_VALUES        =
           RETURN                               = IT_RETURN
          REQUISITION_SERVICES_TEXT            = IT_SERVICETEXT
         REQUISITION_ADDRDELIVERY             =
         EXTENSIONIN                          =
        READ TABLE IT_RETURN INTO WA_RETURN INDEX 1.
        IF WA_RETURN-TYPE = 'E'.
          CLEAR WA_RETURN.
          LOOP AT IT_RETURN INTO WA_RETURN WHERE TYPE EQ 'E'.
            WA_RETURN1-BANFN = WA_TABDATA-BANFN.
            MOVE-CORRESPONDING WA_RETURN TO  WA_RETURN1.
            APPEND WA_RETURN1 TO IT_RETURN1.
            CLEAR WA_RETURN1.
          ENDLOOP.
        ELSE.
          WA_RETURN1-BANFN = WA_TABDATA-BANFN.
          MOVE-CORRESPONDING WA_RETURN TO  WA_RETURN1.
          APPEND WA_RETURN1 TO IT_RETURN1.
          CLEAR WA_RETURN1.
        ENDIF.
        IF SY-SUBRC <> 0.
        ENDIF.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          =
           IMPORTING
             RETURN        =
        REFRESH: IT_RETURN[],IT_ITEM[],IT_ACCOUNT[],IT_PRITEMTEXT[],IT_ITEM1[],IT_SERVICES[],IT_SERVICES1[],
                 IT_SERVICETEXT[].
      ENDLOOP.
      WRITE :10 'OLD PR NUMBER' COLOR COL_KEY, 25 'MESSAGE' COLOR COL_KEY.
      LOOP AT IT_RETURN1 INTO WA_RETURN1.
        WRITE:/10 WA_RETURN1-BANFN,25 WA_RETURN1-MESSAGE.
      ENDLOOP.
      CLEAR:IT_TABDATA[],WA_TABDATA.
    ENDFORM   .                 "BAPI_CALL

    Solved on Own

Maybe you are looking for

  • Using xpath expressions in Document-Builder

    Hi all we have re-designed our (existing) DDX-templates with the Document Builder in LC Workbench. The DDX templates are used to assemble PDFs with LC Assembler-Service. Now my question: Is it still possible to use XPath-expression in the DDX templat

  • Is it possible to load and read from an Oracle global temp table?

    Is there a way to call an Oracle database package to pre-load global temp tables in BIP? I am an Oracle Reports user but a newbie to BIP. In Oracle Reports, I use the before-reports trigger to execute a database package that will populate a temp tabl

  • Ping Issues

    Hi, I have a significant problem with the ping/latency of my broadband connection.  Whenever my connection is being used by more than one person (even just loading a webpage, not necessarily streaming/gaming) the ping skyrockets, sometimes to 1-2 sec

  • Oracle into Solaris for Intel

    Does the Oracle database for Solaris for SunSPARC, works into a Solaris for Intel? Do you know, where I can download an Oracle for Solaris for Intel? That Oracle database version is the only one, wich is not in the OTN download page.

  • Problems with traditional NI-Daq after upgrade

    I recently upgraded to labview 8.6 from labview 7.1. I have a fairly complicated VI used to run a test rig that is no longer working. I've traced the problem to a conflict between NI-Daq and DAQmx. When I run the Vi I get the message: Error -10461 oc