Problem in BAPI_REQUISITION_CREATE

Dear All,
I am facing problem during Purchase requisition create with the help of BAPI BAPI_REQUISITION_CREATE.When I take material in file text format like(SANDERKOKS) then it will pick and it gives appropriate result.
But when I take alphanumeric material then it is not giving result.
I took data type of internal table field is charectar(18).but still it is giving problrm.
REgards,
AMAR

This is my code.Please check and tell me
LOOP AT IT_DATA.
    REFRESH IT_MAKT.
    CONCATENATE IT_DATA-DEL_DT6(4) IT_DATA-DEL_DT3(2)
    IT_DATA-DEL_DT+0(2) INTO V_DATE.
    CONCATENATE '00' IT_DATA-PREQ_NO INTO V_PERRQ.
    IT_MAKT-PREQ_NO    = V_PERRQ        .
    IT_MAKT-DOC_TYPE   = IT_DATA-DOC_TYP.
    IT_MAKT-PREQ_ITEM  = IT_DATA-PERQ_IT.
    IT_MAKT-MATERIAL   = IT_DATA-MATNR  .
    IT_MAKT-QUANTITY   = IT_DATA-QUANT  .
    IT_MAKT-UNIT       = IT_DATA-UNIT   .
    IT_MAKT-PLANT      = IT_DATA-PLANT  .
    IT_MAKT-STORE_LOC  = IT_DATA-STO_LC .
    IT_MAKT-DELIV_DATE =  V_DATE        .
    APPEND IT_MAKT.
    CALL FUNCTION 'BAPI_REQUISITION_CREATE'
EXPORTING
   SKIP_ITEMS_WITH_ERROR                = ' '
   AUTOMATIC_SOURCE                     = 'X'
IMPORTING
  NUMBER                               =
     TABLES
        REQUISITION_ITEMS               = IT_MAKT
        RETURN                          = BAPI_RETURN
    IF SY-SUBRC = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         WAIT          = 'X'
IMPORTING
  RETURN        =
    ENDIF.
ENDLOOP.

Similar Messages

  • Problems with bapi_requisition_create

    Hi,
    I am using BAPI_REQUISITION_CREATE to create new purchase requisition with services. Everything is OK as long as I create one PR. When go into sequential processing and try to create several (actually 2 is enough ) PRs I get and error message concerning lacking cost assignment in a service position. Obviously this message is wrong. What I discovered is that when I go into this BAPI for the second time (not having left the program) the function module still carries package numbers from previous run - and this is what causes the error. Still I do not know how to go around this. Did any of you come across this problem? Thanks for any help.
    Greg

    Hello,
    Welcome to SDN.
    I think ur code will be like this.
    loop at itab.
    call BAPI
    endloop.
    " U refesh all the internal table which u r passing it to BAPI at the beginning or at the end of the loop
    VAsanth

  • Multiple Account Assignment problem in BAPI_REQUISITION_CREATE

    I'm calling BAPI_REQUISITION_CREATE and passing tables REQUISITION_ITEMS and  REQUISITION_ACCOUNT_ASSIGNMENT. I'm passing the following to the items table:
                'Y'           to lt_bapiebanc-acctasscat,
                '1'            to lt_bapiebanc-distrib,
                '1'            to lt_bapiebanc-part_inv.
    And I'm passing the following to the account assignment table:
            v_qty           to pt_bapiebkn-preq_qty,
            wa_rfq-item   to pt_bapiebkn-preq_item,
            wa_rfq-glacct to pt_bapiebkn-g_l_acct,
            p_unload_pt   to pt_bapiebkn-unload_pt.
    I receive error: "Please Enter Account Assignment".
    I did get a successful Requisition created before including bapiebanc-distrib and bapiebanc-part_inv, but then the multiple account assignment didn't work. I hope somebody can help, I'm getting desperate!
    Thanks,
    Beth Holback

    Hi,
      can you say me what u did to solve the issue?
      since i am facing it now. kindly help me out..
    thanks
    Suganya

  • Problem with BAPI_REQUISITION_CREATE

    Hello All,
    I want to create a Purchase Requisition with 3 items.
    But bapi requisition create gives error:
    " No account assignment exists for service line 0000000000"
    Can you please help to sort it out?

    Yes...
    for each item i am creating one parent service record and one child service record with REQUISITION_SERVICES.
    the Package no for parent is the subpackage no for child.
    also for each item, I fill REQUISITION_ACCOUNT_ASSIGNMENT and REQUISITION_SRV_ACCASS_VALUES
    Still I get the Error.
    Thanks to help me resolve.

  • BAPI_REQUISITION_CREATE with automatic ticking of Goods Receipt Indicator

    Hi,
    We're experiencing a problem with BAPI_REQUISITION_CREATE. We use this BAPI in our Purchase Requisition (PR) upload program. After successful run of the program it generates a PR number. When we try to look at the PR using ME53N, the default values assigned to the account assignment category are not properly populated. For example, account assignment Order (F) should by default tick the Goods Receipt and Invoice Receipt checkbox. But using the BAPI, it does not default it that way. Have you encountered the same error before? Is there a note that would fix this bug? I'm thinking if there's no note I might just check on the table of the config.

    Hi Jackie,
    I am assuming when you say "the the values should come from the configuration", they are in place. Also when you manually do create a requisition of type F it would default the values, however with BAPI it bypasses the configurations and hence you are not able to get the needed values.
    So do set the relavant fields in the BADI to have the fields populated in the screen.
    Hope this helps
    Abhijit

  • Problem with BAPI BAPI_REQUISITION_CREATE

    Hello,
    I have problems with BAPI BAPI_REQUISITION_CREATE. I need to create Purchase requisition for services. If I use BAPI BAPI_REQUISITION_CREATE, Purchasing requisition is created, but field NETWR in table EBNK is 0. If I create purchasing requisition manualy using transaction ME51N, field NETWR in table EBNK is filled with correct price.
    Can you pls. help me, what do I wrong in calling BAPI_REQUISITION_CREATE?
    Thanks&regards,
    Jirka

    Not sure if you got your answer or went to OSS for a resolution. But, as I was searching OSS for my issue, I came across the following note:
    Note 1498435 - BAPI_REQUISITION_CREATE: EBKN-NETWR is not updated

  • BAPI_REQUISITION_CREATE - Java (JCo) problem

    Hi all,
    Iam trying to create a purchase requistion using BAPI_REQUISITION_CREATE by using Java (JCo) programming. The problem i face is on the REQUISITION_ITEM_TEXT table. passing value text for "B01" successfully stored into SAP. but the problem is on "B02" field. No value stored into SAP (field not blank). Anyone can help me to solve this problem ?.
    Thanks in advance 
    [email protected]
    REQUISITION_ITEM_TEXT -
    docDesc = function.getTableParameterList().getTable ("REQUISITION_ITEM_TEXT");
    docDesc.appendRow ();
    docDesc.setValue (itemDetails.getId(), "PREQ_ITEM");
    docDesc.setValue ("B01", "TEXT_ID");
    docDesc.setValue ("*", "TEXT_FORM");
    System.out.println("MATERIAL DESCRIPTION : "+itemDetails.getMaterialDescription());
    docDesc.setValue (itemDetails.getMaterialDescription(), "TEXT_LINE");
    docDesc.appendRow ();
    docDesc.setValue (itemDetails.getId(), "PREQ_ITEM");
    docDesc.setValue ("BO2", "TEXT_ID");
    docDesc.setValue ("*", "TEXT_FORM");
    docDesc.setValue (prValue.getJustificationText(), "TEXT_LINE");

    Hi all,
    Iam trying to create a purchase requistion using BAPI_REQUISITION_CREATE by using Java (JCo) programming. The problem i face is on the REQUISITION_ITEM_TEXT table. passing value text for "B01" successfully stored into SAP. but the problem is on "B02" field. No value stored into SAP (field not blank). Anyone can help me to solve this problem ?.
    Thanks in advance 
    [email protected]
    REQUISITION_ITEM_TEXT -
    docDesc = function.getTableParameterList().getTable ("REQUISITION_ITEM_TEXT");
    docDesc.appendRow ();
    docDesc.setValue (itemDetails.getId(), "PREQ_ITEM");
    docDesc.setValue ("B01", "TEXT_ID");
    docDesc.setValue ("*", "TEXT_FORM");
    System.out.println("MATERIAL DESCRIPTION : "+itemDetails.getMaterialDescription());
    docDesc.setValue (itemDetails.getMaterialDescription(), "TEXT_LINE");
    docDesc.appendRow ();
    docDesc.setValue (itemDetails.getId(), "PREQ_ITEM");
    docDesc.setValue ("BO2", "TEXT_ID");
    docDesc.setValue ("*", "TEXT_FORM");
    docDesc.setValue (prValue.getJustificationText(), "TEXT_LINE");

  • Problems Using BDC ME51 or BAPI_REQUISITION_CREATE

    Hello,
    Mi problem is the following, I need to load PRs, which items are category:  Services with account assignments: Proyects, the problem i'm having is with price conditions of each component...
    Using the Bapi, it simply doesn't give me the option of loading this information (Conditions).
    Using the a BDC recording of txn me51, it goes wild showing again and again the dynpro of the Account aSSIGNMENT  on the WBS associated to the Service. (SAPLKACB 0200)
    Regards,
    Benjamin

    Check the below link:
    BAPI_REQUISITION_CREATE
    Prakash.

  • Problem while using BAPI_REQUISITION_CREATE

    Hi Friends,
      i am working with BAPI_REQUISITION_CREATE for creating Purchase requisition.
    i used bapi and pass only basic parameters ..
    like
    i filled first parameter (item data) of  TAB Tables .
    Which are---
    item
    Doc_type = NB
    plant
    material
    qty
    requistioner name
    deliv_date
    purchase grp
    its working fine and returning value in importing parameter as
    PR number.But when i wrote a report and fill all parameters in
    my  report and try to display the NUMBER (PR number) then
    its not having any value in NUMBER Parameter but in data
    base its creating a PR.
    Can any one help me y its behaving differently ?

    date format prob

  • BAPI_REQUISITION_CREATE Problem with COMMIT WORK AND WAIT

    I ran into an issue and wanted to get your opinions about what might be happening.
    This is my original code that did not work correctly using COMMIT WORK AND WAIT. After the select statement, lv_count was zero even though there were PR items that had been created. I'm thinking that the database update was not complete, but why would that be?
        CALL FUNCTION 'BAPI_REQUISITION_CREATE'
          IMPORTING
            number            = lv_number
          TABLES
            requisition_items = gt_reqitem
            return            = gt_return.
    *   Purchase requisition has been created
        IF lv_number IS NOT INITIAL.
          COMMIT WORK AND WAIT.
    *     Get number of items in PR
          SELECT COUNT( DISTINCT bnfpo ) INTO lv_count
            FROM eban
            WHERE banfn = lv_number.
    This is my corrected code that works. I removed the AND WAIT from the commit statement and added a separate wait statement. I now get the correct number of PR items that were created.
        CALL FUNCTION 'BAPI_REQUISITION_CREATE'
          IMPORTING
            number            = lv_number
          TABLES
            requisition_items = gt_reqitem
            return            = gt_return.
    *   Purchase requisition has been created
        IF lv_number IS NOT INITIAL.
          COMMIT WORK.
          WAIT UP TO 1 SECONDS.
    *     Get number of items in PR
          SELECT COUNT( DISTINCT bnfpo ) INTO lv_count
            FROM eban
            WHERE banfn = lv_number.
    Any ideas?
    Brenda

    Brenda Bankert wrote:
    Yes, I was able to see the message in RETURN and no, I am not calling the FM in a loop. My program calls it one time.
    > Brenda
    If you were able to see the message 'Purchase requisition number & created' it means that the macro macro_end is getting executed within which the COMMIT WORK statement is encapsulated.
    I have quickly developed a dirty program to test the behaviour of 'SET UPDATE TASK LOCAL' and it seems to work as expected.
    Everytime I executed the below program with 'SET UPDATE TASK LOCAL', I see the value of lv_count as 1000, however if I execute the below program with out the statement  'SET UPDATE TASK LOCAL' the value of count varies everytime, typically around 10 - 15, however the database is successfully updated with all the 1000 entries, this makes me believe that the 'SET UPDATE TASK LOCAL' statement will infact make the subsequent COMMIT synchronous.
    REPORT zytest.
    DATA:
      ls_zytest    TYPE zytest,
      ls_db_zytest TYPE zytest,
      lv_numc04    TYPE numc4 VALUE 1001,
      lv_count     TYPE i,
      lv_index     TYPE i.
    DO 1000 TIMES.
      lv_index = sy-index.
      CLEAR ls_zytest.
      lv_numc04 = lv_numc04  + 1.
      CONCATENATE 'KF00' lv_numc04 INTO ls_zytest-keyfield1.
      CONCATENATE 'KF00' lv_numc04 INTO ls_zytest-keyfield2.
      SET UPDATE TASK LOCAL.
      CALL FUNCTION 'ZYTEST_BAPI'
        EXPORTING
          is_zytest = ls_zytest.
      SELECT SINGLE * FROM zytest INTO ls_db_zytest WHERE keyfield1 = ls_zytest-keyfield1
                                                      AND keyfield2 = ls_zytest-keyfield2.
      IF sy-subrc IS INITIAL.
        WRITE:/ lv_index, ls_db_zytest-keyfield1,ls_db_zytest-keyfield2.
        lv_count = lv_count + 1.
      ENDIF.
    ENDDO.
    WRITE:/ lv_count.
    FUNCTION zytest_bapi .
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IS_ZYTEST) TYPE  ZYTEST
    DATA: transaction_id LIKE arfctid.
      clear transaction_id.
      macro_start.
      CALL FUNCTION 'ZYTEST_UPDATE' IN UPDATE TASK
        EXPORTING
          is_zytest = is_zytest.
      macro_end.
    ENDFUNCTION.
    FUNCTION ZYTEST_UPDATE.
    *"*"Update Function Module:
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IS_ZYTEST) TYPE  ZYTEST
    INSERT zytest from is_zytest.
    ENDFUNCTION.
    definition of the database table 'ZYTEST'
    MANDT     MANDT
    KEYFIELD1     CHAR20
    KEYFIELD2     CHAR20
    NONKEYFIELD     CHAR50
    -Rajesh

  • Urgent plz...Error: Multiple Account assignment in  BAPI_REQUISITION_CREATE

    Hi All,
    I'm using BAPI_REQUISITION_CREATE to create the PR . The PR is created successfully with service lines. The service lines for PR item has to be assigned to different account assignment. My problem is that account assignment is not getting assigned to the service line for multiple account assignment cases, instead the account assignment is blank for the sevice line.
    Here is part of my code.
    For Account Assignment
    t_requisitionaccoun-preq_item = '00010'.
    t_requisitionaccoun-serial_no = '01'.
    t_requisitionaccoun-g_l_acct = '0000630010'.
    t_requisitionaccoun-cost_ctr = '0801112560'.
    append t_requisitionaccoun
    t_requisitionaccoun-preq_item = '00010'.
    t_requisitionaccoun-serial_no = '02'.
    t_requisitionaccoun-cost_ctr = '0801111710'
    t_requisitionaccoun-g_l_acct = '0000610090'.
    append t_requisitionaccoun
    t_requisitionaccoun-preq_item = '00020'.
    t_requisitionaccoun-serial_no = '01'.
    t_requisitionaccoun-cost_ctr = '0801111710'
    t_requisitionaccoun-g_l_acct = '0000610090'.
    append t_requisitionaccoun
    For Service account Assignment
    *<b>PR item 10</b>
    Service item 1
    t_requisitionsrvaccass-pckg_no = '0000000002'.
    t_requisitionsrvaccass-line_no = 2. " line 1 is the header for service
    t_requisitionsrvaccass-serno_line = '01'.
    t_requisitionsrvaccass-quantity = '10'
    t_requisitionsrvaccass-serial_no = '01'
    APPEND t_requisitionsrvaccass.
    Service item 2
    t_requisitionsrvaccass-pckg_no = '0000000002'.
    t_requisitionsrvaccass-line_no = 3.
    t_requisitionsrvaccass-serno_line = '01'.
    t_requisitionsrvaccass-quantity = '10'
    t_requisitionsrvaccass-serial_no = '02'
    APPEND t_requisitionsrvaccass.
    *<b>PR item 20</b>
    Service item 1
    t_requisitionsrvaccass-pckg_no = '0000000004'.
    t_requisitionsrvaccass-line_no = 2. " line 1 is the header for service
    t_requisitionsrvaccass-serno_line = '01'.
    t_requisitionsrvaccass-quantity = '10'
    t_requisitionsrvaccass-serial_no = '01'
    APPEND t_requisitionsrvaccass.
    With this code, what I get is the blank account assignment for PR item 10 and correctly filled account assignment for PR item 20.
    Does anyone done this before and can give me some help. Thanks.

    Hi, can you send me an example of this BAPI.
    I have the same requeriment, i'm new with bapis
    thanks

  • Problem in Purchase Requisition Upload

    Hi all,
    I am uploading Purchase Requisition through BAPI
    by BAPI_REQUISITION_CREATE.
    Then I am appending text both in items and header by
    fm CREATE TEXT.
    But when i am uploading the item text
    Line Comments are transfering with the extra characters.
    example:-
    When we type long descriptions we use returns and blank lines for formatting.  Right now the text is coming over but the formatting is getting messed up.( The Blank lines and return are getting messed with # .)
    how to solve it.
    thanks in advance.
    SG

    Hi ,
    One suggestion it may work try out..
    i think the problem is with the formatting input to the create_text function module. try to change the import parameter  of the function module CREATE_TEXT i.e FFORMAT to initial.

  • Bapi_requisition_create

    Hi all,
    I am looking for the way to pass to the bapi in object the Header Texts for Purchase Requisition.
    Did anyone else have my same problem? Do you have any suggest for me?
    Thanks Regards

    Hi,
    You can use FM SAVE_TEXT to save PR's header text after BAPI_REQUISITION_CREATE was committed.
      CLEAR HEADER.
      HEADER-TDOBJECT = 'EBANH'.
      HEADER-TDNAME   = '0010000000'
      HEADER-TDID     = 'B01'.
      HEADER-TDSPRAS  = SY-LANGU.
      CLEAR I_LINES.
      REFRESH I_LINES.
      I_LINES-TDFORMAT = '*'.
      I_LINES-TDLINE   = 'INSERT HEADER DATA'.
      APPEND I_LINES.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          CLIENT          = SY-MANDT
          HEADER          = HEADER
          SAVEMODE_DIRECT = 'X'
        IMPORTING
          NEWHEADER       = HEADER
        TABLES
          LINES           = I_LINES
        EXCEPTIONS
          ID              = 1
          LANGUAGE        = 2
          NAME            = 3
          OBJECT          = 4
          OTHERS          = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards,
    Ferry Lianto

  • Workflow Problem between  SRM & ECC

    Hi,
      We are facing a typical scenario in the workflow for Purchase Requisition.
    System:
    1.     SAP ECC 6.0
    2.     SAP SRM 5.0
    Problem Description:
    1.     In our landscape, ECC is connected to SRM portal for creation of PRs through SRM.
    2.     For this the user logs into SRM system and creates a shopping cart. After creation of shopping cart, it goes for approval in SRM system.
    3.     Once approved, BAPI 'BAPI_REQUISITION_CREATE' used at the SRM backend to create PRs in ECC.
    4.     After this, the workflow gets triggered and a work item is being sent for approvals in ECC.
    5.     There is an enhancement (ES_SAPLMEWQ) been done in the BAPI u2018BAPI_REQUISITION_CREATE' to trigger the workflow.
    6.     We have used the standard function module u2018SAP_WAPI_CREATE_EVENTu2019.
    7.     Now the problem is that, this is working fine in QAS and Dev systems. But it fails in PRD for some of the SRM triggered PRs.
    8.     After our initial analysis, we observed that, for the PRs, it has failed to trigger workflow, the initiator had logged into SRM using FR language where as, those PRs whose initiator had logged into SRM portal using u2018ENu2019 language it had worked fine.

    Recently I was facing a similar issue with SAP_WAPI_START_WORKFLOW function module where I did not maintain the container element name in the program with different language. I will request you to maintain the event container element name in France inside the program whefre you are calling the FM SAP_WAPI_CREATE_EVENT.  Most probably you will be using Text Symbol that you need to maintain in French language.
    Thanks
    Arghadip

  • Problem in BAPI_PO_CREATE

    Hi
    I am using BAPI_PO_CREAT1 for creation of PO
    but i am getting these errors
    PO could not be creating using the Enjoy-BAPI 
    Please enter material number or account assignment category
    Purchase order still contains faulty items 
    kindly somone help me in solving this, and if possible provide me with code.
    thanks
    mannu

    Hello Munish,
    I see that there could be a problem with the flat file(Mat no in flat file format) or the source structure(Internal Table) that you have created according to the flat file structure.
    However, I will provide you with a code that I had worked on    'BAPI_REQUISITION_CREATE' , I will alos provide you with a flat file.  So that, It would be helpful for you to work with any other BAPI function mosules.
    *& Report  ZBAPI_chaitu
    *& AUthor : Krishna Chaitanya
    REPORT  ZBAPI_chaitu.
    DATA: PRN LIKE BAPIEBANC-PREQ_NO.
    DATA: ITEMBAPIEBANC LIKE BAPIEBANC OCCURS 0 WITH HEADER LINE.
    DATA: RETURN1 LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF RECORD OCCURS 0,
           STR(200),
          END OF RECORD.
    DATA: BEGIN OF HEAD,
           DOC_TYPE(04),
          END OF HEAD.
    DATA: BEGIN OF ITEM,
           DOC_TYPE(04),
           MATERIAL(18),
           QUANTITY(13),
           PUR_GROUP(03),
           PLANT(04),
           DEL_DATCAT(1), " LIKE ITAB_BAPIEBANC-DEL_DATCAT,
           DELIV_DATE(8)," LIKE ITAB_BAPIEBANC-DELIV_DATE,
         END  OF ITEM.
    DATA: HEAD_COUNT TYPE I,
          ITEM_COUNT TYPE I.
    PERFORM UPLOAD.
    loop at record.
    IF RECORD+0(1) = 'H'.
      IF HEAD_COUNT > 0.
       PERFORM PROCESS_BAPI TABLES ITEMBAPIEBANC.
       REFRESH ITEMBAPIEBANC.
      ENDIF.
      ITEM_COUNT = 0.
      ADD 1 TO HEAD_COUNT.
      HEAD = RECORD+1.
      MOVE-CORRESPONDING  HEAD TO ITEMBAPIEBANC.
       ELSEIF RECORD+0(1) = 'I'.
       ITEM_COUNT = 1.
       ITEM = HEAD.
       ITEM4 = RECORD1.
      MOVE-CORRESPONDING ITEM TO ITEMBAPIEBANC.
      APPEND ITEMBAPIEBANC.
      CLEAR ITEMBAPIEBANC.
      CLEAR ITEM.
      ENDIF.
    endloop.
    sy-index = sy-index + 1.
    if SY-INDEX <> 0.
    PERFORM PROCESS_BAPI TABLES ITEMBAPIEBANC.
    REFRESH ITEMBAPIEBANC.
      ENDIF.
    *enddo.
    *CLOSE DATASET DATASET.
    *&      Form  UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM UPLOAD.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
       FILENAME                      = 'C:\WINDOWS\Desktop\CNU4.txt'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = RECORD.
    ENDFORM.                    " UPLOAD
    *&      Form  PROCESS_BAPI
          text
    -->  p1        text
    <--  p2        text
    FORM PROCESS_BAPI TABLES i_item like ITEMBAPIEBANC[].
    CALL FUNCTION 'BAPI_REQUISITION_CREATE'
    EXPORTING
      SKIP_ITEMS_WITH_ERROR                =
    IMPORTING
       NUMBER                               = PRN
      TABLES
        REQUISITION_ITEMS                    = i_item
      REQUISITION_ACCOUNT_ASSIGNMENT       =
      REQUISITION_ITEM_TEXT                =
      REQUISITION_LIMITS                   =
      REQUISITION_CONTRACT_LIMITS          =
      REQUISITION_SERVICES                 =
      REQUISITION_SRV_ACCASS_VALUES        =
       RETURN                               =  RETURN1.
      REQUISITION_SERVICES_TEXT            =
    if return1-type <> 'E'.
       write:/ 'requisation created', PRN.
    LOOP AT i_item.
    MOVE-CORRESPONDING i_item to ITEM.
      WRITE:/ ITEM.
      CLEAR ITEM.
    ENDLOOP.
    ELSE.
    WRITE:/ RETURN1-MESSAGE.
    LOOP AT i_item.
    MOVE-CORRESPONDING i_item to ITEM.
      WRITE:/ ITEM.
      CLEAR ITEM.
    ENDLOOP.
    endif.
    ENDFORM.                    " PROCESS_BAPI
    Flat file for 'BAPI_REQUISITION_CREATE'
    HNB 
    IMAT700-700        200          0010001120040111
    IMAT700-700        300          0010001120040205
    IMAT700-700        400          0010001120040110
    IMAT700-700        500          0010001120040108
    HNB 
    IMAT700-700        200          0010001120040111
    IMAT700-700        300          0010001120040211
    IMAT700-700        400          0010001120040311
    IMAT700-700        500          0010001120040411
    This would be helpful information for you Munish!
    All the Best!
    Regards
    Krishna Chaitanya

Maybe you are looking for

  • System/webconsole:console failed fatally

    Getting a failed service every time I boot that I can't seem to fix. Here is the error message: Jun 3 12:24:14 rhea svc.startd[7]: system/webconsole:console failed fatally: transitioned to maintenance (see 'svcs -xv' for details) I've tried looking a

  • Removing ?xml version="1.0"? from the result

    Hi Friends How do we remove <?xml version="1.0"?> from the result if we have ran two query in one resultset e.g qryCtx := DBMS_XMLGEN.newContext('select ename, job from emp where empno > 7900'); DBMS_XMLGEN.setRowSetTag(qryCtx,'employeedata'); DBMS_X

  • I thought I left this all behind with my Dell

    This should be very simple. I need to make an appointment with a repair specialist because my wireless mouse will not scroll down...only up. I bought applecare and was told that I could schedule an appointment online. After waiting 15 minutes for a t

  • Facebook upload - two tags for one face!?!?

    Hi everyone. I did a quick search before posting and couldn't find anything. When I upload an album to Facebook, certain faces are getting tagged twice: once to link them with their Facebook ID, the second is just a text tag (no link) with the same n

  • About Posix exception

    when i used weblogic6.0 with sp1 for linux, i found an Exception like this: ####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack> <webserver> <myserver> <ExecuteThread: '12' for queue: 'default' <> <> <000000> <Uncaught Throwable in pro