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: 
Read only

Error with z program

Former Member
0 Likes
2,348

Hi all,

I already copy completely the program sapmf05a of the trx f-47 (documentation, dynpro, include, etc) to create my z program , but later,  when I tried running the program Z after to put the data in the dynpro 112 and press enter, showed an error with the field "Trg.sp.G / L ind." the message is "Entry A does not exits in T074U (check entry)" "A" is the option that I selected from the list showing the serch help in that field, what I saw is that the search help of my program z does not shows the same data as the standard and also that if I run the dynpro 112 of standard program sapmf05a gives me 2 options to run that does not display in my program z 1: "Restricted flow logic" and 2: "Complete logic flow" if I select option 1 standard program sapmf05a changes the list of your search help showing the same data as my z program also gives the same error, but if I choose option 2 works well. Another thing is that if I check my z program in runtime, for the  dynpro 112´s program  appears  program name SAPLSCR0 (dynpro 401) and so does the standard program if I choose option 1: "Restricted flow logic".

Best regards,

Diego Villalba

3 REPLIES 3
Read only

former_member188827
Active Contributor
0 Likes
1,969

Can you elaborate what was the need to copy the standard program and why didn't you opt for enhancements?

  • Please make sure that when you create transaction code of your Z-PROGRAM you do so by copying it from F-47 and changing only the program name.
  • I think  a number of transaction codes exist on "SAPMF05A" . So debug it when running it through "F-47" and see if any flags/global variables are set when it is called through F-47.

Regards

Read only

0 Likes
1,969

Hi,

I need to add three new custom fields in the trx f-47 and record in a table z generated billing number with the information they have these custom fields, also I should add some logic required in requirement after recording the bill, but I have not found the appropriate badi or exit.

Regards.

Read only

rosenberg_eitan
Active Contributor
0 Likes
1,969

Hi,

I think that this is a very bad idea (A big no no) .

What about notes, System Upgrade etc.

Who will support you if something goes wrong ?

I am afraid that you on the way to jeopardizing your system .

And finally I suggest you consult SAP before you do something like that.

Regards .