Leave to transaction "SAPMF05L" not allowed in batch input

Hello,
When we run FF.5 with the file sent from Itaú, it is generated a batch input for transaction FB02 which updates the reference key 1, 2 and 3 (XREF1, XREF2 and XREF3) in the documents.
There are some cases where the batch input does not update all the document items. For example, I got a document that has 32 items to be updated with the reference keys, but the update is only done in the first 14 document items. I observed that the batch input only updates up to number 14 because the standard program does not u201Cscroll the baru201D to check if there are more items in the document to be updated. The batch input is having trouble and generating some incorrect transactions and showing the error message: LEAVE TO TRANSACTION u201CSAPMF05Lu201D not allowed in batch input.
I tried to find a SAP note, but couldnu2019t find anything that was related to this. Does anyone got this problem and maybe can help me?
Thanks,
Leandro

if you want to leave a batch session try "/bend" or "/n" to move to the next record.

Similar Messages

  • "LEAVE TO TRANSACTION" is not allowed in batch input

    Hi,
    We are creating sale order through Inbound IDocs.If IDoc contains any error,The processing will terminated in the middle and   the user will manually process it using BD87 transaction.
    Our requirement is While processing in BD87,if there are 3 line items in the IDoc and the user press the save button in the middle ( For example int the first line item),we have to issue a pop up message.saying there are more line items to process and if he wants to continue.
    If the user clicks 'NO' button.it should leave the processing and should come back to the initial screen of BD87.
    we could give the popup message and could bring the control back to BD87 screen.but when we try to process the IDOC,we are getting an error.because the IDoc is getting locked.
    I am using  call transaction command.We tried  leave to transaction command but it throwing an error .
    Is there any other way to acheive this?
    Regards,
    Charumathi

    Hi Gaurav,
    Thanks a lot. It worked,but when we process 7 times in the same screen,we are getting an error "Maximum nummber of internal sessions reached".Is there any way to resolve this issue?
    Regards,
    Charumathi

  • Message no. AK005 - Asset is investment measure, transaction type not allow

    Dear All,
    I am getting following error while transfering Investment AuC to Main Asset.
    Message no. AK005 - Asset is investment measure, transaction type not allow
    I searched the Forum and got some input.., but in that I have a clarification.
    Please see my doubt and the forum input.
    Internal Order as Investment Measure:
    Can you explain me Step 10. Settle the amounts to Main Asset from AuC(Prcg type: Full) - KO88 once again.
    How we can give the Receiver Main Asset master in KO88. In KO88 we can only provide the Internal Order. But that Internal Order is already settled to AuC in Step 8.
    Please guide me.
    Thanks.
    Regards,
    nms
    Re: Settlement of cost center to final asset ?
    Posted: Oct 27, 2009 11:40 AM
    Hi,
    Are you doing any settlement using the AUC asset ?
    Normal practice is to Create an Auc Asset and settle cost to Auc. Once the asset is ready for use, finally settle the Auc to final asset.
    This can be done in two ways like - line item settlement / investment measure.
    Below are steps in two scenarios :
    Internal Order as Investment Measure:
    1. Define the AuC Asset Class (with investment measure) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Investment Profile - OITA
    a. Assign the AuC Asset Class (Step-1) in the investment profile
    4. Assign Investment Profile to Model Order - OITA
    5. Define Order Type (Investment) - KOT2
    a. Settlement Profile - OKO7
    b. Maintain Allocation Structures - OKO6
    c. Planning Profile - OKOS
    d. Budget Profile - OKOB
    6. Create an Internal Order - KO01
    a. With the Investment Profile (Step-2)
    b. AuC automatically created by the system using Asset Class given in the Investment Profile
    7. Post the amounts to IO - FB01
    8. Settle the amounts to AuC from IO (Prcg type: Automatic) - KO88
    9. Create the Main Asset - AS01
    10. Settle the amounts to Main Asset from AuC(Prcg type: Full) - KO88
    AuC using Line Item Settlement:
    1. Define the AuC Asset Class (with Line Item Settlement) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Order Type (Overhead) - KOT2
    4. Create an AuC-Asset (using Step-1 Asset Class) - AS01
    5. Create an Internal Order - KO01
    a. Assign the AuC u2013 Asset in Settlement Rule in IO
    6. Post the amounts to IO - FB01
    7. Settle the amounts to AuC from IO - KO88
    8. Create Main Asset (using Step-2 Asset Class) - AS01
    9. Assign the Main Asset in IO (Step-5) - KO02
    10. Settlement AuC u2013 Line Item List - AIAB
    11. Settlement AuC - Receiver - AIBU
    VVR

    nms,
    Your message is not very clear - while you have mentioned at what stage are you getting the above-mentioned error message, you haven't mentioned exactly what you were trying to do. The fact that you are getting this error is a straight-forward indication that you are attempting to do something that SAP does expect.
    However, answering your query about how to use KO88, you have to settle the AuC to a FA (fixed asset, with asset class other than AuC ), as that will close the open AuC, transfer the value from the AuC to the FA and from this point onwards, all transactions will happen to this FA. Your statement "in KO88, we can only provide the Internal Order" is incorrect.
    Hope this helps.
    Regards
    Gulshan

  • Statement "CALL TRANSACTION" is not allowed in this form.

    Hi
    I have a form in which i want to call a transaction:
      CALL TRANSACTION 'VL32N'  USING bdc_tab
                                                       MODE    'E'
                                                       UPDATE  'S'
                                                       MESSAGES INTO mestab.
    I call this report from within a message and when reaching this statement it fails.
    Now i get this error in ST22:
    POSTING_ILLEGAL_STATEMENT
    Statement "CALL TRANSACTION" is not allowed in this form.
    and afterwards this error:
    DYNPRO_SEND_IN_BACKGROUND
    Screen output without connection to user.
    As i read,it is not allowed to call this kind of statement from within a form and we should use something like:
    RECEIVE RESULTS FROM FUNCTION but i do not know how because i have never before used such call statements.
    thanks

    Hi,
    The bdc table is filled correctly but the CALL TRANSACTION is not alllowed.I think it is because of the call from the Form ENTRY which is called when issuing an message from my transaction.I have read that it is not allowed to have any call transaction,submit or any other statements like these in a function call,and i think that my form ENTRY is seen as a sort of function module.
    Any other opinions?
    With my "call transaction" statement i wanted to open the VL32N Transaction and post a goods receipt.Is there any other way to do this?
    I get this message in the ST22 Transaction:
    This program is triggered in the update task. There, the   
    following ABAP/4 statements are not allowed:                                                                               
    -  CALL SCREEN                                             
    -  CALL DIALOG                                             
    -  CALL TRANSACTION                                        
    -  SUBMIT                                                  
    But i do not know what is ment by update task.All i use are some "export to memory"  statements and this is all.
    Any ideas?
    thanks.
    Edited by: seba seba on Jul 28, 2009 11:22 AM

  • Transaction CLM1 not allowed for notification type QL

    Hello guys,
    one of our user try to open the transaction CLM1/CLM2/CLM3 he getting error message Transaction CLM1 not allowed for notification type QL
    please any one give solution for this issue.
    find the error screen shot for your reference.
    Thanks
    Surya

    Hello Surya,
    Have you done Basic configuration for Claims processing in SAP Project System.
    SPRO > Project System > Claim > Notification - Claim > Notification creation
    Also check config for Settings for Claims.
    Refer sap help for more details
    SAP Library - Claim Management
    Regards
    Tushar

  • Transaction QM03 not allowed for notification type MQ

    HI Dears,
         The following error is appearing when i want to view my notification created through defects
    Transaction QM03 not allowed for notification type MQ
         How to rectify it ?
    Alagesan

    Hi,
    Check IQS3 transaction also....
    Cheers,
    Tushar

  • Parking not possible during batch input

    Hello,
    Iu2019m facing a problem for creating a parked vendor invoice in background (Tcode FB60 / FV60) thru BDC or BAPI.
    I looked for a BAPI and I just found "BAPI_ACC_INVOICE_RECEIPT_POST", for posting FI invoice : it doesnu2019t correspond to our requirements (we need to park).
    Then I used "PRELIMINARY_POSTING_DOC_WRITE" for parking an invoice but when we see the parked invoice in FBV2, the displayed Tcode is like FBV1. The users want the vendor invoice header, I mean the same screen as FB60.
    Finally, I tried to use Batch Input to park but I got the following message :
    "Parking not possible during batch input"
    Message no. FP140
    Procedure
    In Customizing, you can control whether an error message is issued."
    I found nothing in IMG about control message
    And in sdn forums, some said that bdc doesnu2019t work for an enjoy transaction (MIRO, MIR7, FB60 ..) but we already created a BDC for MIR7 and it works.
    Thanks,

    You can use [CALL TRANSACTION|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm] like BDC.
    via CALL TRANSACTION you may use [bdc options with NOBINPT |http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION_BDC_OPTIONS.htm] so the systeme field sy-binpt will be initial.
    You will need to manage the error messages in your program.(no SM35) one solution is to build the BDC for records with errors.
    There are many threads on [difference Between Batch Input and Call Transaction in BDC|https://forums.sdn.sap.com/search.jspa?threadID=&q=differenceBatchInputCallTransaction&objID=c42&dateRange=all&numResults=15&rankBy=10001]
    Regards,
    Raymond

  • FV50 - Parking not possible during batch input

    Dear SDN,
    our client has a custom program for GL Document batch input through TCode FV50.
    Though the answer should not be, the question here is very straightforward: why, in this program, the mentioned error occurs for some users, but not for others, giving ALL the input parameters are the same???
    1 - Batch input runs
    2 - FV50 is displayed
    3 - (Menu) Document -> Park
    4 - Error: FP140 - Msg: "Parking not possible during batch input"
    Note: User who gets the error has ALL the authorizations that users who don't get the error have.
    Any suggestion is highly appreciated.
    Regards,
    Fabio

    This message is triggered in SAPMF05A program - MF05AFB0_BELEG_PARKEN include.
    keep a breakpoint at this line and check in debug mode.
    Also since you are using a custom program to call FV50 transaction,
    check if CTU_PARAMS structure is used and try using NOBINPT = 'X' option.
      if sy-binpt ne space.
        call function 'CUSTOMIZED_MESSAGE'
          exporting
            i_arbgb = 'FP'
            i_dtype = 'E'
            i_msgnr = '140'.
        if 1 = 2.
          message e140(fp).
        endif.
      endif.

  • Field or table alias is not allowed as an input of table functions

    Hi,
    I am trying to invoke a user defined table function through a SQL snippet like below.
    SELECT (SELECT * FROM PKG_ORG_ORG_HAS_CHILDREN(org_id)) has_child
    from PA_ORG_OWNER
    where stud_id = 'np1';
    But for some reason it will not accept column name as an IN parameter
    Could not execute 'SELECT (SELECT * FROM PKG_ORG_ORG_HAS_CHILDREN(org_id)) has_child from PA_ORG_OWNER os where ...' in 2 ms 451 µs .
    SAP DBTech JDBC: [7] (at 47): feature not supported: field or table alias is not allowed as an input of table functions: line 1 col 48 (at pos 47)
    In general our product has a LOT of small Oracle PL/SQL functions that are invoked from SQL within application code. This is a huge bottleneck while migrating to HANA. Any best practice anyone can recommend for this issue?
    -Thanks
    nphana

    Hi nphana,
    Instead of using single function, you can create another function and Invoke the function and can use IN parameter.
    Here is the example:
    CREATE FUNCTION RAJ.MY_FUNC (I_VKORG NVARCHAR (4), I_VTWEG NVARCHAR (2), 
                 I_SPART NVARCHAR (2),  I_PARVW NVARCHAR (2), I_PARZA NVARCHAR (3) )
    RETURNS TABLE (KUNNR NVARCHAR (10))
    LANGUAGE SQLSCRIPT AS
    BEGIN
      RETURN
      SELECT "ECC2HANA"."KNVP".KUNNR FROM  "ECC2HANA"."KNVP"
       WHERE "ECC2HANA"."KNVP".VKORG = :I_VKORG
         AND "ECC2HANA"."KNVP".VTWEG = :I_VTWEG
         AND "ECC2HANA"."KNVP".SPART = :I_SPART
         AND "ECC2HANA"."KNVP".PARVW = :I_PARVW
         AND "ECC2HANA"."KNVP".PARZA = :I_PARZA
    END
    SELECT * FROM RAJ.MY_FUNC('7500','10','00','AG','000');
    Result is shown below:
    Now I created another function so that I can use the result set of above function which is used as criteria for some other table.
    I not used any input parameter for second function but can be used if required.
    CREATE FUNCTION RAJ.FUNC_MY_FUNC ( )
    RETURNS TABLE (NAME1 NVARCHAR (35))
    LANGUAGE SQLSCRIPT AS
    BEGIN
    RETURN 
    SELECT "ECC2HANA"."KNA1".NAME1 FROM "ECC2HANA"."KNA1"
      WHERE "ECC2HANA"."KNA1".KUNNR IN (SELECT * FROM RAJ.MY_FUNC('7500','10','00','AG','000'));
    END;
    Result is shown below:
    Similarly you can do for your requirement.
    Regards
    Raj

  • Start screen does not exist in batch input data

    I'm using .NET Connector calling Rfc_Call_Transaction funtion throught a proxy, i stablished all the params as you can see in the code below, but i get the message cited in the subject 'Start screen does not exist in batch input data'.
    What do you think is happening? or Where can i get the samples needed for perform this type of request?
            private BDCDATA FillBDCDATA(string Program,
                                        string Dynbegin,
                                        string Dynpro,
                                        string Fnam,
                                        string Fval)
                BDCDATA st_DATA = new BDCDATA();
                st_DATA.Program = Program;
                st_DATA.Dynbegin = Dynbegin;
                st_DATA.Dynpro = Dynpro;
                st_DATA.Fnam = Fnam;
                st_DATA.Fval = Fval;
                return st_DATA;
            private void button3_Click(object sender, System.EventArgs e)
                SAPProxy proxy = null;
                try
                    proxy = new SAPProxy("ASHOST="  + txtHost.Text +
                        " SYSNR="  + txtSysnr.Text +
                        " CLIENT=" + txtMand.Text +
                        " LANG="   + txtLang.Text +
                        " USER="   + txtUser.Text +
                        " PASSWD=" + txtPass.Text);
                catch(Exception excpt)
                    txtMsg.Text = excpt.Message;
                if (proxy == null)
                    return;
                BDCDATATable tblBDCDATA = new BDCDATATable();
                MESSAGEINF infMessage = new MESSAGEINF();
                //BDCDATA st_DATA = new BDCDATA();
                tblBDCDATA.Add(FillBDCDATA("SAPMKBUA", "0111", "0111", "BDC_OKCODE", "/00"));
                tblBDCDATA.Add(FillBDCDATA("SAPMKBUA", "0111", "0111", "BPDY-BLDAT", "30.12.2004"));
                tblBDCDATA.Add(FillBDCDATA("SAPMKBUA", "0111", "0111", "BPDY-VERSN", "0"));
                tblBDCDATA.Add(FillBDCDATA("SAPMKBUA", "0111", "0111", "FMPS-FIKRS", "ente"));
                tblBDCDATA.Add(FillBDCDATA("SAPMKBUA", "0111", "0111", "BPDY-JAHR",  "2005"));
                proxy.Rfc_Call_Transaction("FM9J","", out infMessage, ref tblBDCDATA);
                txtMsg.Text = infMessage.Msgtx;

    Jose,
    I imagine you are passing, for the Dynbegin parameter of the private method FillBDCDATA, invalid values.
    Why don't you try this way:
    tblBDCDATA.Add(FillBDCDATA("SAPMKBUA", "X", "0111", " "," "));
    tblBDCDATA.Add(FillBDCDATA(" ", " ", " ", "BDC_OKCODE", "/00"));
    tblBDCDATA.Add(FillBDCDATA(" ", " ", " ", "BPDY-BLDAT", "30.12.2004"));
    tblBDCDATA.Add(FillBDCDATA(" ", " ", " ", "BPDY-VERSN", "0"));
    tblBDCDATA.Add(FillBDCDATA(" ", " ", " ", "FMPS-FIKRS", "ente"));
    tblBDCDATA.Add(FillBDCDATA(" ", " ", " ", "BPDY-JAHR", "2005"));
    I hope I could help you.
    Regards,
    Daniel Carvalho

  • PARK is not possible during batch input.

    i am using FB60 ( and only can use FB60 )
    when bdc recording i push at the pushbutton PARK
    it give me the error
    PARK is not possible during batch input.
    anyone has any solution to help me solve this problem.
    btw i only can use FB60.
    thanks you

    Hi,
    have a look at: BAPI_INCOMINGINVOICE_PARK
    Best regards.

  • System shud not allow for batch change after  bacth determiantion.

    Dear ALL,
       I have one Isuue at my client , there requiremtn is -
    "Performing the process it was detected that the raw material and packaging material  batches could be changed after the process order created, which allows to picking a batch instead FEFO. "
    Is there any way that system not allow for any change related to batch and its qunitity.
    Awaiting for fevorable respoce.
    Regards,
    Prerna Verma

    Hi Prerena,
    Activating Check Batch Tab in COR4 will performs an additional check in order itself.This check works after completing Batch Determination.For example during Batch Determination system has selected (as per your sort rule) Batch X for issue.But later User tries to change this Batch No. to Batch Y(by overwriting the batch no. in Batch field).But if you have activated this Check Batch function then system will perform the check immediately whether this new Batch complies the Batch Determination rule or not.And if found wrong then gives you an error or warning msg(depends oin your msg control).
    my second point is regarding Transaction code COB1 to deactivate the Allow change function.See if you activate the this tab then you finds that qty fields editable during Batch determination.So you can change the qty. manually during batch detemination.
    So in your case 2 level checks required.
    1) During Batch Determination (COB1) - Deactivate Allow change
    2) After Batch Determination(COR4) - Activate Check Batch
    Regards,
    Dhaval
    Edited by: Dhaval on Sep 27, 2010 8:43 PM

  • Inspn For 103 Movnt Type UD Not allowing without Batch

    Hi Experts
    We have one scenario : For Incoming materials we are doing 103 GR Block stock and system
    not asking  any batch during MIGO.And after quality inspection (RR) 105 Block stock to unrestricted
    (Here we are entering the batch). But before this we need to take UD for the lot
    but system is not allowing me to do UD without Batch. For time being we are doing stock posting only.
    Kindly advise me how can I take UD without Batch for 103 inspection lots.
    Inadvance Thanks
    Shiva Patil

    Hi Vishal / Sanil,
    The problem is QM don't want create this batch we have suggested this they want system should assign automatically. In 103 there is no such a way that MM can enter this batch. QM is asking we haven't entered the batch in 103 so we want this lot need to be close without Batch.
    1) Which sap note is suitable for this kindly suggest me
    Thanks
    Shiva Patil

  • LSMW for Chart of Account: Field XSPEB not filled in batch-input session

    Hi all,
    we are using LSMW for importing the chart of account into a new system.
    The LSMW project uses the report RFBISA00 for the creation of the batch-input session.
    Some accounts need to be blocked in the new system. Therefore, we have the field XSPEB in our source structure and of course also in our target structure. But after the creation of the batch-input session the field is not included in the corresponding batch-input session.
    Does anybody know why it is not set? I already debugged the program RFBISA00 but couldn't find the place where the data get lost.
    Thanks in advance and regards,
    Martin

    Did your batch input end with save ( /11 ) or what ok_code are you using ?

  • ABAP Editor not allowing me to input the code..

    Hi Gurus,
    I am trying to enhance my datasource, but whenever i type cmod and enter the ABAP editor screen, i can not type anything, even though i am in change mode....the screen is with white background and i can not type at all....please help with me this kind of problem.
    Regards,
    Sahil

    HI Sahil
    When you click on enhancement,there you will have include ZXXXXXX
    Click on include there you have to write your code.
    The enhancement is used to write standard code b,so we cannot write the code there.If you try to change in change mode.It will ask you ACCESS KEY to write code from SAP.
    Please click on Include program and write your code there. It allows you to write code there.
    Hope it helps..
    Regards,
    SVS

Maybe you are looking for

  • Mac Mini wont start after power outage, and problem copying iPhoto library. HELP!

        So, recently there was a power outage in my neighborhood, the power was intermitent for about 2 hours, during this time my mac rebooted itself several times, but on the second time it rebooted the power went out during boot, then the power finall

  • I want to export all the screen text in a long video to a text doc

    I want to export all the screen text in a long video to a text document. Is there a way to do that without copying and pasting each item?

  • Copying Aironet IOS configuration

    I set up one AP-1041 that runs standalone IOS. No controller. I have three more that I want to copy the setup configuration over to. I have the right document, but need someone to help tell me which commands will get my set configuration from AP one

  • 10.2.0.4 Patch Upgrade on Clusterware failed - Urgent

    Hi All, I was upgrading Oracle Clusterware 10.2.0.3 to 10.2.0.4 on Production Instance on Windows 2003 2 node cluster. OUI finished the patch install and asked to run $CRS_HOME/install/patch102.bat. I ran patch patch102.bat but it failed with this me

  • Disk full error message! But disk is not full!!!

    I kept having this message "The disk is full trying to write to Macintosh HD. Free some space on this drive, ..."  while working on Microsoft Word for Apple. But I have check on my Macintosh HD and there is still plenty of available space. What is wr