DP background processing job giving error

Hi All,
I am running few macros in a DP job. The macros are simple ones for just few KF additions.
When I am running the macros in interactive planning mode, and saving the results, it works all fine.
The same macros (in the job) when run in background, I am getting an error - " History cannot be entered in book, you cannot save data" and the results are not saved in the planning book.
Any pointer to this would be of great help.
Regards
Manotosh

Hi All,
I found a similar thread in SDN which describes the issue.
History cannot be entered in book
Is it the check box 'Not ready for input' under Unit Column tab?
Or Input check box (next to Visbile) ?
In our case, 'Not ready for input' is not checked and Input from is checked.
Regards
Manotosh

Similar Messages

  • Maximum report processing jobs limit error on compile

    I have been creating an VB.NET application using VS 2005.NET Pro. I believe the version of Crystal reports is 10.0 - I think. I got the following error when I created a new report and then compiled:
    Error     1     Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041016): The maximum report processing jobs limit configured by your system administrator has been reached.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
       at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"     J:\Development\ElkRunItWorking\WholesaleReportingSys\Trunk\WholesalerReporting\rptSalesSalesmanProductMonth.rpt     1     1     WholesalerReporting
    I have looked at several threads with this error already, but they seem to be having the error when the app is running. I am just compiling and I get this error. Now,  counted the number of reports I have created and it is 15. 16 reports seems to trigger this error. What is going on and what should I do? Thanks in advance.
    Ed Cohen

    One more thing, I do not have this in my registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\CRYSTAL DECISIONS\*10.2*\REPORT APPLICATION SERVER\SERVER\PrintJobLimit
    I have looked all over the place it PrintJobLimit does not exist. Again, I am using Visual Studio.NET 2005 Pro on a Windows XP Pro machine. Thanks again.
    Ed Cohen

  • First DTP in Process chain giving Error "CX_RSB_WRITE_ERROR"

    Hi All,
    I am facing a problem when I execute a process chain.
    I have a master process chain and 3 sub process chains. Each of these sub process chains are having some DTP in it in a sequential order. These DTP's are Independent of each other, so even if the first one gives you errors, the remaining ones will get executed.
    These DTP's are used to put some files in to the Open Hub Destination, which is the application server, using logical files names.
    now the problem is that, when i execute the master Process Chain, the first DTP in each of the sub Process chains are getting failed by giving an error. the error is as follows.
    Error : Uncaught_exception.
    Exception : CX_RSB_WRITE_ERROR
    Any idea in how to correct this? Any help in this regard will be highly appreciated.
    Thanks
    Ajith

    You might have missed some parameters in the FILE transaction.
    Check the below links so that u may get idea wht u missed out.
    Re: Can any one tell me how to write open hubs to application server?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    This might not be an security or authorization issue if u did not face such issue earlier. if so check with BASIS and add security roles to the generic user.

  • BPM Process trigger -  giving error

    Hi ,
    I have created the WSDL file to trigger start process of BPM.
    When i am executing the webservice from WSNAVIGATOR am getting the below error:-
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.
    at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1026)
    at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:104)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:730)
    at
    i have created one more wsdl file and running through the WSNAVIGATOR getting below error:-
    Server Exception: Could not retrieve SDO HelperContext for service_id XXXX//STARTEVENT; nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException: Could not retrieve SDO HelperContext for service_id XXXXX/STARTEVENT
    [EXCEPTION]
    java.rmi.ServerException: Server Exception: Could not retrieve SDO HelperContext for service_id XXXX/STARTEVENT; nested exception is
    Please help me on this.
    Thanks in advance

    Manish,
    Thanks for your information.
    I have already tried both ways, including the mesage start trigger with WSDL and default service.(No luck on both scenarios, earlier it's was working fine perfectly).
    We made some changes to WSDL, adding Few element as per our business logic.
    Application it's not triggering the process.
    Thanks
    Praneeth

  • Output Processing routine giving error in VA01 - Processing Log

    Hi,
    We have assigned a Smartform in NACE to a Customized Output type ZURE.
    When we issue the Output we are getting the Output proceed correctly but in the processing log we are getting an Error record 'Processing routine ENTRY_NEU in program ZRVADOR01 does not exist', but the routine ENTRY_NEU exits in the program ZRVADOR01 and output is generating form the same routine.
    Please advice how to proceed.
    Regards,
    Ramu N.

    Hi..
      I understand that u have  copied the Program ZRVADOR01 from Standard prg RVADOR01.
    Then you have to <b>activate all the includes</b> in your program ZRVADOR01.
    The Form Routine ENTRY_NEW may exist in a include which may not be Active.
    <b>Reward if Helpful.</b>

  • ERES process is giving error in Case Management

    Hi All,
    I am trying to implement ERES in Case Management -> Agent Dashboard -> Case Summary (click on 'E-Record' button).
    I have done the setups as mentioned in the Doc ID 1067744.1.
    I am facing the below issues
    1. As per the step 9 (Expected results), 'E-Record Details' is not enabled in 'Tools1' menu. It's still disabled.
    2. As per the step 11, I am able to test the AME setups - No Issues.
    3. As per the step 6 (ERES Administrator), when I validate the event 'oracle.apps.cs.sr.ServiceRequestApproval', I am getting the below error under XML Payload.
    An unexpected error has occurred while generating the XML payload. ORA-20001: The DB to XML transformation has failed with the following error: ECX_MAP_NOT_FOUND. The log file details are: ecx.plsql.out.61034.1609.log ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.EDR_UTILITIES", line 1488 ORA-06512: at line 2
    Could anyone help me to resolve this error for "ECX_MAP_NOT_FOUND"?
    I noticed that there is NO data in ECX_MAPPINGS table for the event when I run the below query
    SELECT * FROM ECX_MAPPINGS WHERE MAP_CODE like 'oracle.apps.cs.sr.ServiceRequestApproval';
    Thanks,
    Harish Nunna

    Solution:
    Add a new Subscription Parameter called EDR_XML_MAP_CODE for "oracle.apps.cs.sr.ServiceRequestApproval" business event:
    1. Login as SYSADMIN user
    2. (R) Workflow Administrator Web Applications responsibility
    3. (N) Administrator Workflow: Business Events
    4. Search for Name = oracle.apps.cs.sr.ServiceRequestApproval
    5. Click on "Subscription" icon
    6. Click on Update pen icon
    7. Update Event Subscriptions page will load
    8. Click on Next
    9. At the Subscription Parameters section click on Add Another Row button
    10. Add EDR_XML_MAP_CODE with oracle.apps.edr.erectxt.create value and Apply.

  • Process Chain giving error

    Hi All,
    We are using a web service data source (gets data from MDM through XI). We created a process chain for this load, but when it's run, the chain is failed at the process type " Close any Open requests (this process consists of the corresponding Info Package)" saying that info package was not found. But all the objects are in active status only.
    Can anyone please provide me with the solution?
    Thanks in advance,
    Hima Bindu

    Hi,
    Thank you  for your responses.
    The problem was solved by saving all the info packages that are present in the 'Close Open Requests' process type of the process chain and running the process chain again.
    This may be because we have migrated all the objects to the production system before the process chain run. So i think the Info Packages need to be saved in the production system.
    Thanks
    Hima Bindu

  • License and Maximum Report Processing Jobs Limit  error how to overcome

    HI,
    I am using Crystal Reports  XI  Release 2.  .Net 2010 c# web forms and published  IIS7  windows serer 2008 . everyday i  am getting the above error and i have tried to close and dispose the objects , but some  its not working correctly and when i am checking the temp folder i can see  the reports which is not disposed. as soon as i restarted the iis its working , how i can overcome the challenges .
    if anybody can help this matter i will be very obliged.
    Attached the aspx pages
    Message was edited by: Ludek Uher

    Dear Mr.Ludek ,
    Thank you so much and appreciate your crystal clear information's and suggestions .
    I had gone through the discussions and applied the coding corrections  , however  i am unable to  dispose all the  report objects ( Some times keeping the files ). because if am checking temp files i can see the pending files which is not Disposed,
    if i wanted to get the support what is the procedure And kindly give me the examples link  then i can cross the codes which i have written is correct or not.
    if you don't mind kindly guide me since this issue is going to affect my career
    This is my code i am  using
    Setp 1  :
    // page load
       protected void Page_Load(object sender, EventArgs e)
            if (!IsPostBack)
                ShowPOPrint ();
            else
                if (Request.Params["__EVENTTARGET"] != null)
                    if (Request.Params["__EVENTTARGET"].Equals("CLOSE_REPORT_OBJECT"))
                        string ret = Request.Params["__EVENTARGUMENT"];
    status = true ;
    Step 2
    // function for initialize the    
    private void ShowPOPrint()
            DataSet Temp = new DataSet();
              ReportDocument objrptdoc; 
               if (Session["REPORT_KEY"] != null)
                    objrptdoc = (ReportDocument)Session["REPORT_KEY"];
                    objrptdoc.Close();
                    objrptdoc.Dispose();
                    Session.Remove("REPORT_KEY");
                    Session.Remove("REPORT_NAME");
            // Create a new report object
            objrptdoc = new ReportDocument(); 
    objrptdoc.Load(Reportclass.RptFileName);  
            Temp = Reportclass.DataSetReport; 
            objrptdoc.SetDataSource(Temp);
            Session["Objrptdoc"] = objrptdoc;
            Session.Add("REPORT_KEY", objrptdoc);
            Session.Add("REPORT_NAME", Reportclass.RptFileName);
            crptReport.DisplayGroupTree = false;
            crptReport.ReportSource = objrptdoc;
            crptReport.DataBind();
            crptReport.DisplayPage = true;
            Temp = null;
    Step 3 : //
    // using for paging
    protected override void OnInit(EventArgs e)
            if (Session["Objrptdoc"] != null)
                objrptdoc = (ReportDocument)Session["Objrptdoc"];
                crptReport.ReportSource = objrptdoc;
    Step 4 // closing the report form and calling post back event to dispose the object
      protected void Page_Unload(object sender, EventArgs e)
             try
                 if (status == true)
                     if (this.crptReport != null)
                         this.crptReport.Dispose();
                         this.crptReport = null;
                     if (objrptdoc != null)
                         objrptdoc.Close();
                         objrptdoc.Dispose();
                         GC.Collect();
            catch(Exception ex)
    //-- SCRIPT IS USING TO CALL THE POST BACK EVENT TO  TRIGGER THE PAGE UNLOAD AND DISPOSE THE OBJECT .
    <script language="javascript" type="text/javascript">
        window.onbeforeunload = function () {
            __doPostBack('CLOSE_REPORT_OBJECT', '');
            confirmComplete();
            //alert("Report Generate PDF/Closing");
         function confirmComplete() {
             // alert("confirmComplete");
             var answer = confirm("Are you sure you want to continue");
             if (answer == true)
                 return true;
             else
                 return false;
    </script>
    PENDING FILES IMAGES
    you can see 14 , one file is pending , 15 the, and today is too much .
    Thank you so much , kindly help me as i am going to big trouble .

  • Error during background processing which is created by Std.program RFBIBL00

    Hi Gurus,
         I am using standard program RFBIBL00 to generate batch session for the Tcode FB01.
         My BDC is working fine , if i choose  foreground or display error only option in SM35.But when i process the same session in 
         background it is giving error  Field BSEG-DMBTR does exist in SAPMF05A 0302.
                                 One more thing i want to point out when i process the session in forground or in display error only option
                      there i am getting information message Field BSEG-DMBTR does exist in SAPMF05A 0302. But for background due to same message  i.e (Field BSEG-DMBTR does exist in SAPMF05A 0302)  session processing is failed.
                                    Actually through ZProgram  data being uploaded  to application server. Then i am executing std. program RFBIBL00 to generate session.And  when i go to SM35 & choose the just created session for background processing,then processin i failed.
                              We have recently upgraded from 4.7 to ECC 6.0. Previously RFBIBL00 program is working fine but after upgrade it is not working.
                   Please give your valuable suggession.
    Regards,
    S C Patil.

    How are you related to this almost identical problem?
    Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0302
    Thomas

  • Background Processing? how schedule job for "System Error" Message .

    Hello everyone,
    in sap help i have read.
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/frameset.htm
    PCK> Monitoring>Message Monitoring-->Background Processing
    you can schedule jobs for various background processing:
    ●     Archiving of messages processed successfully
    ●     Deletion of messages that are not to be archived
    ●     Restarting of messages with errors
    ●     Rescheduling of lost messages
    can anyone understand this docu?
    give me some introduction, how can i define and schedule these jobs ?
    thx in advance!!
    best regards
    Yaning

    Background Processing
    Prerequisites
    You have started the message monitor on the initial screen of the PCK and are in Background Processing.
    Features
    Archiving
    You require two archiving sessions to archive messages:
    ●     One session to write the messages to the archive
    ●     One session to delete the persisted messages that have been archived
    To do this, you schedule an archiving job, which implicitly schedules the sessions to write to the archive and delete the archived messages.
    You can define one or more rules for each archiving job; these rules contain conditions that a message must meet in order to be archived by the job. At least one of the defined rules must be met for archiving to take place.
    All information that is displayed for a message in message monitoring is archived, in addition to the audit log for each message.
    Deleting
    A standard delete job is created automatically. It runs once a day. You can schedule additional delete jobs; however, you cannot define rules for them.
    Restarting
    Instead of restarting messages with errors manually with message monitoring, you can schedule a job to automatically restart these messages. This is possible for all messages for which the number of defined restart attempts has been exceeded (messages with the system error status).
    You can define one or more rules for each job to restart messages; these rules contain conditions that a message must meet in order to be restarted by the job. At least one of the defined rules must be met for archiving to take place.
    Rescheduling
    A standard job to reschedule messages is created automatically. The job runs once a day and ensures that messages lost as a result of database failure, for example, are rescheduled. You can schedule additional rescheduling jobs; however, you cannot define rules for them.
    Thx Aamir.
    But I mean the messages with errors in Adapter Engine , not in Intergrations Engine.
    the situation is like Naveen Pandrangi's WebLog
    II. Errors in Adapter Engine [XI :  How to Re-Process failed XI Messages Automatically|XI :  How to Re-Process failed XI Messages Automatically]
    I
    Till now we have seen how to resubmit/restart message that failed in Integration Engine.  One a message makes it from Integration Engine to Adapter Engine, the message is flagged as checked in Integration Engine. The status of the message in Adapter engine does not effect the processed state in Integration Engine. Now if this message was asynchronous, XI will by default try to restart the message 3 times at intervals of 5 minutes before the status of the message is changed from Waiting to System Error .
    *how can i schedule a job to automatically restart these messages with errors?
    best regards
    Yaning
    Edited by: Yaning Liu on Aug 18, 2008 1:43 PM

  • REP-57054: In-process job terminated:Terminated with error:

    Hi All,
    I using R12 application and using 10g report devloper.
    When i run the report it is giving the below errors, can any pls check and suggest me. I had one more parameter as customer From, To and its is not mandatory. So am not passing the value.
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORG_ID='131'
    P_DIVISION='100'
    P_REPORT_DATE='2010/10/04 00:00:00'
    P_CURR_TYPE='Local'
    P_TYPE='Open'
    P_BUCKET_TYPE='Month'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    MSG-00001: 1:
    MSG-00002: 2:
    MSG-00003: 3:
    MSG-00004: 4:
    MSG-00005: 5:
    REP-0300: ORACLE error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: ORACLE error occurred.
    Report Builder: Release 10.1.2.2.0 - Production on Mon Oct 4 12:46:23 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4301855.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 4301855 on node APPSPRD at 04-OCT-2010 12:46:25.
    Post-processing of request 4301855 failed at 04-OCT-2010 12:46:25 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-OCT-2010 12:46:25
    ---------------------------------------------------------------------------

    Please see
    REP-0004 Warning - Unable to Open User Preference File. (Doc ID 26014.1)
    ApPsMaStI
    sharing is Caring

  • Error in GUI_DOWNLOAD in background processing

    Hi All,
             We have a program that is using GUI_DOWNLOAD to download the results in text and .dbf format. In foreground it is working fine.But  in background the job is getting cancelled with a log that "Error in Downloading file."
    Please let me know if there is any solution for this.

    Hi,
    GUI_DOWNLOAD  does not work properly in the background.
    You can change the GUI_DOWNLOAD by
    'open dataset .. for output... ' and 'close dataset..' and use 'transfer..' to fill up the file.
    regards,
    Rolf

  • ERROR while uploading the data into ztable with background processing

    Hi gurus,
    i am trying to upload the data from excel file to internal table 
    its working fine ..
    but........
    if i try to upload the data with background processing , in sm37 it is saying "error during the upload of clipboard contents".
    Regards,
    Sri

    Hi,
    FM GUI_UPLOAD doesnt work in background, use dataset to upload it from application server.
    refer below code
    *--Local Variables
      DATA : l_file  TYPE string,
             l_line  TYPE string,
             l_index TYPE sy-tabix.
    *--Clear
      CLEAR : l_file.
      l_file = p_ipfile.
    *--Read the data from application server file.
      OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
    *--Error in opening file
        MESSAGE i368(00) WITH text-005.
      ENDIF.
    *--Get all the records from the specified location.
      DO.
        READ DATASET l_file INTO l_line.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT l_line AT cl_abap_char_utilities=>horizontal_tab
                          INTO st_ipfile-vbeln
                               st_ipfile-posnr
                               st_ipfile-edatu
                               st_ipfile-wmeng.
          APPEND st_ipfile TO it_ipfile.
        ENDIF.
      ENDDO.
    Regards,
    Prashant

  • Error: The request could not be submitted for background processing

    I'm getting an intermittent error in our custom reporting application using Crystal Reports Server XI R2 w/ SP1:
    Error in File C:\WINDOWS\TEMP\{F6D30537-956A-458C-96D0-84ECB520D688}.rpt: The request could not be submitted for background processing.
    I'm using the Report Application Server XI Release 2 .NET SDK. This is the code that produces the exception (The export type is pdf):
    ByteArray ba = this.reportClientDocument.PrintOutputController.Export(ConvertExportReportTypeToCrystalReportExportType(),0);
    The error is also logged by Business Objects in the crystalras log file:
    ErrorLog 2007 12  3 12:24:56.531 6624 4872 (\servers\ras\dtsagent\reporthandler.cpp:11592): CReportHandler::buildReportViewerError: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:11588 ErrorCode:685 ErrorMsg:" Error in File C:\WINDOWS\TEMP\{F6D30537-956A-458C-96D0-84ECB520D688}.rpt:
    The request could not be submitted for background processing." DetailedErrorMsg:""
    This has been happening regularly about once a week, at which point the RAS fails and no more reports can be run until the CMS and RAS servers have been restarted.
    Has anyone else had this problem, or have any ideas?
    Thanks

    It was not a  bug (not in all cases anyhow), but it is one of those error message that might as well say; something went wrong. I wrote an article on the most likely cases for the error and the article can be downloaded from here;
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33
    See if the above article will help you out. Please note that having the latest SP / FP is step one. The downloads page is here;
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Parallel processing in background using Job scheduling...

    (Note: Please understand my question completely before redirecting me to parallel processing links in sdn. I hve gone through most of them.)
    Hi ABAP Gurus,
    I have read a bit till now about parallel processing. But I have a doubt.
    I am working on data transfer of around 5 million accounting records from lagacy to R/3 using Batch input recording.
    Now if these all records reside in one flat file and if I then process that flat file in my batch input program, I guess it will take days to do it. So my boss suggested
    to use parallel processing in SAP.
    Now, from the SDN threads, it seems that we have to create a Remote enabled function module for it and stuf....
    But I have a different idea. I thought to dividE these 5 million records in 10 flat files instead of just one and then to run the Custom BDC program with 10 instances which will process 10 flat files in background using Job scheduling.
    Can this be also called parallel processing ?
    Please let me know if this sounds wise to you guys...
    Regards,
    Tushar.

    Thanks for your reply...
    So what do you suggest how can I use Parallel procesisng for transferring 5 million records which is present in one flat file using custom BDC.?
    I am posting my custom BDC code for million record transfer as follows (This code is for creation of material master using BDC.)
    report ZMMI_MATERIAL_MASTER_TEST
          no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case default
                                 '/tmp/testmatfile.txt'.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record,
    data element: MATNR
           MATNR_001(018),
    data element: MBRSH
           MBRSH_002(001),
    data element: MTART
           MTART_003(004),
    data element: XFELD
           KZSEL_01_004(001),
    data element: MAKTX
           MAKTX_005(040),
    data element: MEINS
           MEINS_006(003),
    data element: MATKL
           MATKL_007(009),
    data element: BISMT
           BISMT_008(018),
    data element: EXTWG
           EXTWG_009(018),
    data element: SPART
           SPART_010(002),
    data element: PRODH_D
           PRDHA_011(018),
    data element: MTPOS_MARA
           MTPOS_MARA_012(004),
         end of record.
    data: lw_record(200).
    End generated data section ***
    data: begin of t_data occurs 0,
          matnr(18),
          mbrsh(1),
          mtart(4),
          maktx(40),
          meins(3),
          matkl(9),
          bismt(18),
          extwg(18),
          spart(2),
          prdha(18),
          MTPOS_MARA(4),
        end of t_data.
    start-of-selection.
    perform open_dataset using dataset.
    perform open_group.
    do.
    *read dataset dataset into record.
    read dataset dataset into lw_record.
    if sy-subrc eq 0.
    clear t_data.
    split lw_record
       at ','
    into t_data-matnr
          t_data-mbrsh
          t_data-mtart
          t_data-maktx
          t_data-meins
          t_data-matkl
          t_data-bismt
          t_data-extwg
          t_data-spart
          t_data-prdha
          t_data-MTPOS_MARA.
    append t_data.
    else.
    exit.
    endif.
    enddo.
    loop at t_data.
    *if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'RMMG1-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=AUSW'.
    perform bdc_field       using 'RMMG1-MATNR'
                                 t_data-MATNR.
    perform bdc_field       using 'RMMG1-MBRSH'
                                 t_data-MBRSH.
    perform bdc_field       using 'RMMG1-MTART'
                                 t_data-MTART.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                 'X'.
    perform bdc_dynpro      using 'SAPLMGMM' '4004'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    perform bdc_field       using 'MAKT-MAKTX'
                                 t_data-MAKTX.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MARA-PRDHA'.
    perform bdc_field       using 'MARA-MEINS'
                                 t_data-MEINS.
    perform bdc_field       using 'MARA-MATKL'
                                 t_data-MATKL.
    perform bdc_field       using 'MARA-BISMT'
                                 t_data-BISMT.
    perform bdc_field       using 'MARA-EXTWG'
                                 t_data-EXTWG.
    perform bdc_field       using 'MARA-SPART'
                                 t_data-SPART.
    perform bdc_field       using 'MARA-PRDHA'
                                 t_data-PRDHA.
    perform bdc_field       using 'MARA-MTPOS_MARA'
                                 t_data-MTPOS_MARA.
    perform bdc_dynpro      using 'SAPLSPO1' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=YES'.
    perform bdc_transaction using 'MM01'.
    endloop.
    *enddo.
    perform close_group.
    perform close_dataset using dataset.

Maybe you are looking for