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

regarding BADI program

Former Member
0 Likes
556

Hi

when i give the enter button iam getting this error.

Requested function BSTA is not available here.

why iam getting this error help me.

regards,

sivakumar

3 REPLIES 3
Read only

alison_lloyd
Active Participant
0 Likes
506

Please provide more detail. Which transaction? What exactly are you trying to do? Click on the question mark on the message. What is the message class/number?

Read only

Former Member
0 Likes
506

Hi

The tcode is VK11 creating condition record when i create a record in currency (unit) iam getting as USD but i should change as USDN so that iam display error the code :

method IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_EXIT .

DATA : WA LIKE LINE OF CT_KONPDB_NEW.

if CT_KONH_NEW[] is not initial.

endif.

*Added by sivakumar on 05-01-2007

if CT_KONPDB_NEW[] is not initial.

endif.

LOOP AT CT_KONPDB_NEW INTO WA.

IF WA-KONWA NE 'USDN'.

MESSAGE E021(zc) WITH 'Modify Unit Price from USD to USDN'.

ENDIF.

ENDLOOP.

*end.

endmethod.

this the code when i save the record if it is USD it display error and if it is USDN it will save the record.

when i get the error the screen get disabled if i enter or press enter button on the top it should be enable when i press iam getting error :

error:

Requested function BSTA is not available here.

i should not get the error it should be enabled.

help me.

regards,

sivakumar

Read only

0 Likes
506

try changing to a warning message and see what happens