Custom program for Tcode MIR6

Hello All,
I have created a Zprogram for the Tcode MIR6. Activated sucessfully. But when executed getting dump.
Please suggest me to correct this issue.
Runtime Errors         SUBMIT_WRONG_TYPE
Short text                 Incorrect program type with SUBMIT.
Tried to correct the issue below but unfortunately unsucessful.
You attempted to start the ABAP/4 program "YSAPMM08N" with SUBMIT, but the
attributes specify this program as type "M" instead of "1". You can
only start programs of type 1 with SUBMIT.
Best Regards,
Jai
Moderator message: very descriptive error message, please do some own research before posting, read SAP documentation for SUBMIT statement and program attributes.
Edited by: Thomas Zloch on Jan 19, 2012

1. PSAVE-FIELDNAME will use the old values in the FIELD. It will be used in cases when we have to do plausibility checks on the basis of new as well as old value, eg, we want to use dynamic action for employees whose status changes from 'inactive' to 'active'
2. Sequence no represents sequence no. If for a particular Infotype and FCode, we have to specify which step has to be performed first. Sequence no tells the system exactly this thing.
Regards
Lincoln

Similar Messages

  • How to create a customer program for "PPMOD"feature(pe03)?

    Hi,
    I want to create customer program for "PPMOD"feature(tcode:pe03),who can tell me the steps? (ECC6.0)
    thanks a lot?
    Olivia Yang

    Hi,
    /1PAPA/FEAT610PPMOD the generated program for the feature.
    You are forbidden to change this generated program. Ideally whatever logic regarding the feature needs to be put through pe03 tcode of feature and not in the program.
    Still if there are any changes that need to be done to the program you can enhance the program.
    To enhance the program you need to go to se 38 and open this program and press Shift + F4
    Then Goto->Enhancement operations->Show implicit enhancement operations
    Then go to yellow line right click on mouse and Enhancement implementation->Create
    And put your own code in the implementation.
    Regards,
    Divya

  • Custom program for Dynamic Actions

    Iam using BDC’s for Actions and Org.Assignment infotypes. The dynamic actions are planned to be carried out by using separate function modules.
    My query is, On the plausibility check conditions lots of structures are referred (eg: PSPAR,RP50D etc). How do i perform this condition check in the custom program (for dynamic actions) as these structures do not have any data?
    Thanks
    Message was edited by: SShenoy

    1. PSAVE-FIELDNAME will use the old values in the FIELD. It will be used in cases when we have to do plausibility checks on the basis of new as well as old value, eg, we want to use dynamic action for employees whose status changes from 'inactive' to 'active'
    2. Sequence no represents sequence no. If for a particular Infotype and FCode, we have to specify which step has to be performed first. Sequence no tells the system exactly this thing.
    Regards
    Lincoln

  • Customized program for format payments doesn't work in all operating unit

    I would like to ask for your help with the issue I’m having right now with the customized program I’ve created.
    Background:
    A customized program using XML was created for check payments. This check format is used when printing Payment Batches. I tried to register this program in two operating unit, one is EMR AP SuperUser-EPT-APDUS and the other one is EMR AP SuperUser-EPT-APDMX. The program completes successfully in EMR AP SuperUser-APDUS but not in EMR AP SuperUser-EPT-ADPMX. The set up was the same for both OU. In every time I tried to run the program by:
    1. Create a batch name in Payment Batches.
    2. Enter the Invoice Batch Name
    3. Assigned the Bank Account and Document type
    4. Save and hit the Actions..1 button
    5. Then Select the Format Payments - I've entered the same program for both OU
    The program errors out including the Payment Process Manager in APDMX OU but not in APDUS. Please help me fix this issue as this is a very high priority task.
    I would greatly appreciate any help that you could give.

    See https://support.mozilla.com/en-US/questions/799388

  • LSMW Custom program for updating picked quantity in outbound delivery

    I have been tasked with creating an LSMW that will update the picked quantity in an outbound delivery.  I originally thought of using a recording on transaction vl02n, but I need the LSMW to work with variable amount of item lines. 
    Through some research I figured out that FM WS_DELIVERY_UPDATE_2 can update the picked quantity.  I have successfully created a custom program that calls this FM. 
    I have created what I believe to be the correct entries in the SXDA0, SXDA1, SXDA2, and SXDA3 tables to make my custom program work with LSMW.  I am able to find my program in the "Maintain Object Attributes."  I am also able to "Maintain Structure Relations Step" (screen shot attached)  I am currently using VBKOK and VBPOK for the header and line item structures respectively. 
    My difficulty is converting the data.  I have tried everything from having no conversion rules to mapping many fields and I always receive the following error (screen shot also provided).
    Error analysis
    The statement
         "Move src TO dst"
    requires that the operands "dst" and "src" are convertible.
    Since this statement is in a Unicode program, the special conversion
    rules for Unicode programs apply.
    In this case, these rules were violated.
    Program /SAPDMC/SAP_LSMW_CONV_FORMS
    Include  /SAPDMC/SAP_LSMW_CONV_FORMS
    Row 1,080
    Module type (FORM)
    Module Name TRANSFER_RECORD
    Since I have run the conversion with no conversion rules I am very confused as to why I am still receiving this error.  Any insight would be greatly appreciated.

    For anyone I have uncovered some interesting things about my issue.  I started going through the conversion code piece by piece trying to figure out what data element the system was choking on. 
    After digging though the program and using the debugger I found out that the issue was in FORM transfer_record. 
    ASSIGN (g_record) TO <l_record>.
         CASE g_objecttype.
           WHEN '01' OR '02'.
             gt_buffer-record = g_record.
             gt_buffer-data = <l_record>.
             APPEND gt_buffer.
    If this LSMW was working
    g_record = 'VBKOK'
    <l_record> = 'VBKOK'
    But what is actually happening
    g_record = 'VBKOK'
    <l_record> = "Structure of some sort
    I do not know why this is happening since the field symbol is being assigned right before this piece of code.  Any suggestions are greatly appreciated.

  • Create a custom program for FPS3 transaction code

    Hi,
    I would like to create a custome program which does the below steps in one shot.
    1) RUN(SUBMIT) Transaction FPS3 with
    Company code = NONE and
    Created on FROM = SY-DATUM & TO = SY-DATUM
    2) In the next screen, it should select SELECT ALL
    button
    3) and then it should select EXECUTE button.
    And alos i should be able to give Information Messages when nothing is selected or displayed.
    Thanks & Regards,
    Sudheer Pusala.

    write a z program with company code as parameter. next use Submit function to submit FPS3 with the variables. In the PF-STATUS maintain the required butons which will popup when the data is shown. Now, u can select all records from one of the button of PF-STATUS (u need to write code for it). Next use execute button to execute the data. At any stage u can improper ur custom messages which will get displayed as and when something happens.

  • Modification of values of variant through program for tcode CJB1

    hi,
    How can we modify variant values for the variant created in TCODE CJB1 and also how to get the variant name saved for tcode CJB1 ? is there any FM available or any sample code for getting/changing the above senario.
    many thanks in advance
    bobby

    check these fm's
    RS_ALL_VARIANTS_4_1_REPORT     All Variants for a Report
    RS_CHANGE_CREATED_VARIANT
    RS_CREATE_VARIANT              Creating a variant (not using a selection screen)
    RS_GET_SCREENS_4_1_VARIANT     All screens assigned to a variant
    RS_RWSET_CREATE_VARIANT
    RS_RWSET_SAVE_VARIANT
    RS_VARIANT_ADD
    RS_VARIANT_ADMIN_DATA
    RS_VARIANT_ATTR_SAVE
    RS_VARIANT_CATALOG             Returns variant directory for a report in an internal table
    RS_VARIANT_CAT_PRINT
    RS_VARIANT_CHANGE              Change Variant
    RS_VARIANT_CHECK_TSTC          Checks entries in report transaction maintenance
    RS_VARIANT_CLIENTCOPY          Function Module for Client Copy
    RS_VARIANT_CONTENTS
    RS_VARIANT_CONVERT_TO_DYNAMIC
    RS_VARIANT_COPY                Copy variant
    RS_VARIANT_DELETE              Delete Variant (In Current Client or All Clients)
    RS_VARIANT_DEL_ALL_CLIENTS
    RS_VARIANT_DISPLAY
    RS_VARIANT_DISPLAY_FROM_SELSCR
    RS_VARIANT_DISPLAY_SUBSCREENS
    RS_VARIANT_EXISTS              Checks whether variant exists
    RS_VARIANT_FETCH

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • Custom program for RF

    I have just read RF_PROG_GUIDELINE_SAPNET.doc to create my own devs. in RF.
    But I have some questions about logical/physical screens.
    I have created a Z-report with two screens 9100 and 9101 with 8x40 and 16x20, respectively.
    Afterwards, I call function DETERMINE_SCREEN_ NUMBER to determine physical screen.
    Please, could anyone tell me next steps to customize RF Mobile Data Entry  with my screens and program?

    Hi
    You need to maintain user profile in table LRF_WKQU.
    Using the menu item in user profile you need to maintain RF menu management table in IMG.
    In the menu management enter the transaction number that you have created for your dialog program.
    Hope this gives you some leads to proceed.
    Regards
    Raj

  • Custom program for transport dependency

    Any body developed transport dependency program that would warn people of dependent transports? I hope this program would help greatly in managing transports and someone might have written an ABAP program.
    Your help is appreciated.
    Thanks
    Rajesh Yadla

    1. PSAVE-FIELDNAME will use the old values in the FIELD. It will be used in cases when we have to do plausibility checks on the basis of new as well as old value, eg, we want to use dynamic action for employees whose status changes from 'inactive' to 'active'
    2. Sequence no represents sequence no. If for a particular Infotype and FCode, we have to specify which step has to be performed first. Sequence no tells the system exactly this thing.
    Regards
    Lincoln

  • Any more customized program for BEx

    Hello,
    I wonder if there is any way to customized data from BEx Analyzer rathan using variables with processing type-Customer Exit?
    -WJ-

    You can use Excel Formulas and VB Macros to do customization but it works only with workbook and not with queries.
    If you want to do additional customization for your reports then you have to save the query in a Workbook and you have to write the VB Code in the interface.
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    Write your Code here
    End Sub
    You can search in SDN for Code Samples to achieve the results.
    Regs
    Gopi

  • Custom program for dynamic actions in BDC

    Hi all,
    Did anyone work on dynamic actions in BDC. I got a method of doing, but looking out for a simpler one.
    Thanks..

    Hi,
    Any updates that happen via dynamic actions in online mode must be explicitly included in the BDC session since dynamic actions are turned off during the execution of batch input sessions.this is a standard behavior.
    Regards,
    Manoj.

  • Need custome program for qe51n (inspection result recording)

    Hi Gurus,
    I am getting the same error from the BAPI  BAPI_INSPOPER_RECORDRESULTS. Defects occured during confirmatio  you find any solution? If yes please share me the solution and sample code give some ssample code .
    Javed
    Edited by: Javed Parvez on Jun 8, 2009 2:58 PM

    Dear Neeraj
    one suggestion would be create an qualitative MIC and give the short text " Inspection according to Drawing specification". Create a characteristic code as 1) Ok 2) Not ok. So while result recording you select ok or not ok according to the result and in Inspection Decription you can insert your comments
    Regards
    gajesh

  • Catching the results of tcode into a custom program

    Hi Experts
    I need to call the t-code IP19 (program name is RIMHIS00) with input values from a custom program and need to capture the results of IP19(structure : rimhis01) into a internal table in custom program for further processing.
    Can anybody help  please -- <<Removed>>
    Thanks
    Satya
    Edited by: Rob Burbank on Sep 1, 2010 11:47 AM

    Hi, 
    this is the Way you can  capture the other program output in this Report.
    **** Subroutine to get the print parameters
      PERFORM get_print_parameters.
      CONCATENATE 'QU'
                   sy-datum+4(4)
                   sy-uzeit INTO
                   wa_pri_params-plist.
    *   Submit report in background and creating spool
      SUBMIT (w_rname) USING SELECTION-SET p_var
          TO SAP-SPOOL WITHOUT SPOOL DYNPRO
          SPOOL PARAMETERS wa_pri_params AND RETURN.
      COMMIT WORK AND WAIT.
    *   To fetch the spool number from TSP01 table
      IF sy-subrc EQ 0.
        SELECT rqident
               FROM tsp01
               INTO p_spool
    *             UP TO 1 ROWS
               WHERE rq2name = wa_pri_params-plist.
        ENDSELECT.
      ENDIF.
    * Fetching Spool data into internal table
      CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
        EXPORTING
          rqident              = p_spool
        TABLES
          buffer               = t_mail_data.
    "the spool data is nothing But the output data of the report
    prabhudas

  • POSTING G/L account documents through custom program

    While posting the documents through the tcode fb01,
    when I tick at PA segement button ASSIGNMENT TO
    PROFITABILITY SEGMENT screen opens, DERIVATION
    BUTTON is activated/enabled . But through a custom program when session is
    processed and when PA segement button is ticked on
    ASSIGNMENT TO PROFITABILITY SEGMENT screen, DERIVATION BUTTON is not visible. I can only see Continue, Next Page, Delete Assignment, and Cancel buttons. Where do I need to check this problem?

    Hi,
    Nope, in standard SAP you can not do that.
    You would need to develop your custom program for it.
    Regards,
    SDNer

Maybe you are looking for