Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SUBMIT program ABUMN returns error

jackyhjj_sn
Explorer
0 Kudos
1,680

Hi all,

I am trying to call program ABUMN through SUBMIT, but I got this error message
"You are trying to start ABAP program "SAPLAMDPS2I" with SUBMIT. This program has type "F" instead of "1" in its attributes however. Only programs of type 1 can be started with SUBMIT."

Need help, thanks!

7 REPLIES 7

Sandra_Rossi
Active Contributor
0 Kudos
1,583

Of course, you can't do that (just read the ABAP documentation, no need to ask).

What is your question?

jackyhjj_sn
Explorer
0 Kudos
1,583

Is there any way to achieve this, calling ABUMN transaction through SUBMIT ?

xiswanto
Active Participant
1,583

should be no other way. Is there any reason why you can't use CALL TRANSACTION instead?

Sandra_Rossi
Active Contributor
0 Kudos
1,583

Why do you want to call transaction ABUMN via SUBMIT, and not via CALL TRANSACTION?

jackyhjj_sn
Explorer
0 Kudos
1,583

sorry for the confusion,
The goal that I want to achieve is to process transaction of ABUMN in a custom program.

been trying using call transaction but there is a radio button that I need to set the value, when I check that radio button, there is no parameter ID for that radio button. How to pass the value to be processed in ABUMN and get the result back to the custom program ?

Any guidance is muchly appreciated. Thanks.

Sandra_Rossi
Active Contributor
1,583

Solution 1: transaction and screen variants (SHD0), no code (maybe just creating a transaction code of type variant transaction to trigger the transaction variant).

Solution 2: batch input with display type 'E' ("CTU" = CALL TRANSACTION ... USING).

RaymondGiuseppi
Active Contributor
0 Kudos
1,583

If you don't want user interaction, you might consider using these BAPIs

  • BAPI_ACC_A$S_TRANSFER_CHECK (replace $ with S)
  • BAPI_ACC_A$S_TRANSFER_POST

If you want to trigger user interaction, then use CALL TRANSACTION, USING ... OPTIONS FROM opt with flag opt-nobiend set (perform a small recording with SHDB to build the initial bdc_tab)