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

POP-UP BOX

Former Member
0 Likes
1,955

DEAR ALL GURUS,

I HAVE A REQUIREMENT WHERE IN I HAVE TO PUT A POP-UP BOX WHEN THE SOLD-TO-PARTY IS ENTERED AND WHEN THE ENTER KEY IS PRESSED.

AND ALSO THE SAME REQUIREMENT AT THE AMOUNT FIELD ALSO.

PLEASE KINDLY HELP..................

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,926

Hi Praveen,

Do you want this in std t-code ? Kindly explain

DEAR ALL GURUS,

I HAVE A REQUIREMENT WHERE IN I HAVE TO PUT A POP-UP BOX WHEN THE SOLD-TO-PARTY IS ENTERED AND WHEN THE ENTER KEY IS PRESSED.

AND ALSO THE SAME REQUIREMENT AT THE AMOUNT FIELD ALSO.

PLEASE KINDLY HELP..................

15 REPLIES 15
Read only

Former Member
0 Likes
1,926

Hi Praveen,

look at the following code,this FM will give you a POP-UP-BOX with 'YES','NO' and 'CANCEL' buttons :


    DATA : W_ANS(3) TYPE C.


    CALL FUNCTION 'POPUP_TO_CONFIRM'
      EXPORTING
        TITLEBAR              = 'There is no error in  the excel file'
        TEXT_QUESTION         = 'Do you want to save BOQ data ?'
        TEXT_BUTTON_1         = 'YES'
        ICON_BUTTON_1         = 'ICON_YES'
        TEXT_BUTTON_2         = 'NO'
        ICON_BUTTON_2         = 'ICON_NO'
        DEFAULT_BUTTON        = '1'
        DISPLAY_CANCEL_BUTTON = 'X'
        START_COLUMN          = 25
        START_ROW             = 6
      IMPORTING
        ANSWER                = W_ANS
      EXCEPTIONS
        TEXT_NOT_FOUND        = 1.

    IF W_ANS = '1'.                           " The User Pressed Yes button

      LOOP AT IT_BOQ INTO WA_BOQ.

        INSERT ZBOQP FROM WA_BOQ.

      ENDLOOP.

      MESSAGE I000 WITH 'BOQ is successfully created'.

      LEAVE PROGRAM.
    ENDIF.

Hope This Helps.

Read only

0 Likes
1,926

HI ,

THANKS FOR YOUR ANS BUT I WANT THIS REQ. FOR STANDARD PROGRAM AND THAT TOO AFTER ENTERING THE SOLD-TO-PARTY .I.E, CAN U TELL ME THE USER-EXIT NAME?

Read only

0 Likes
1,926

Praveen,

Do you want this to be done in the sel screen field of std report ?

Can you tell the report name ??

Read only

Former Member
0 Likes
1,926

is this for your customized report or for sap standard report???

Read only

0 Likes
1,926

THIS IS FOR A SAP STANDARD PROGRM

Read only

0 Likes
1,926

so you have to go for user exit.....for which tcode you want this????

Read only

0 Likes
1,926

Hi,

Please use the enhancements to enhance this....

if you are not able to find the enhancements please give the T-CODE or the standard program name where you want to do this.. and also please tell in which system this enhancement is going to be done... is it in ECC6 or 4.7 etc...

regards,

Siddarth

Read only

0 Likes
1,926

IT IS FOR VA01

Read only

0 Likes
1,926

try these exits:


Transaction Code - VA01                     Create Sales Order


 Enhancement/ Business Add-in            Description

 Enhancement
 V60F0001                                SD Billing plan (customer enhancement) diff. to billing plan
 V46H0001                                SD Customer functions for resource-related billing
 V45W0001                                SD Service Management: Forward Contract Data to Item
 V45S0004                                Effectivity type in sales order
 V45S0003                                MRP-relevance for incomplete configuration
 V45S0001                                Update sales document from configuration
 V45P0001                                SD customer function for cross-company code sales
 V45L0001                                SD component supplier processing (customer enhancements)
 V45E0002                                Data transfer in procurement elements (PRreq., assembly)
 V45E0001                                Update the purchase order from the sales order
 V45A0004                                Copy packing proposal
 V45A0003                                Collector for customer function modulpool MV45A
 V45A0002                                Predefine sold-to party in sales document
 V45A0001                                Determine alternative materials for product selection
 SDTRM001                                Reschedule schedule lines without a new ATP check

  Business Add-in
 BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073
 BADI_SD_V46H0001                        SD Customer functions for resource-related billing



No.of Exits:         15
No.of BADis:          2

Read only

Former Member
0 Likes
1,927

Hi Praveen,

Do you want this in std t-code ? Kindly explain

Read only

Former Member
0 Likes
1,926

Hi,

Try giving message type 'I' at

at selection-screen on sold-to-party.

if field is not initial.

message 'Sold-to-party is entered' type 'I'.

endif.

Read only

Former Member
0 Likes
1,926

Hi,

Are you talking about std. transaction then you need to search for Exit or else you can try with ---

Window starting at 20 30 .

Regards

Pinaki

Edited by: Pinaki Mukherjee on Feb 14, 2009 6:47 AM

Read only

Former Member
0 Likes
1,926

DEAR ALL GURUS,

I HAVE A REQUIREMENT WHERE IN I HAVE TO PUT A POP-UP BOX WHEN THE SOLD-TO-PARTY IS ENTERED AND WHEN THE ENTER KEY IS PRESSED.

AND ALSO THE SAME REQUIREMENT AT THE AMOUNT FIELD ALSO.

THIS IS FOR VA01 TCODE...

PLEASE KINDLY HELP..................

Read only

Former Member
0 Likes
1,926

Check include MV45AFZZ, USEREXIT_MOVE_FIELD_TO_VBAK.This should work

Read only

Former Member
0 Likes
1,926

Hi,

You can use

subroutine userexit_field_modification

of the include MV45AFZZ

or you can also try with this one...

userexit_cust_material_read of the include

MV45AFZB

Regards,

Siddarth