2009 Feb 14 5:37 AM
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..................
2009 Feb 14 5:43 AM
2009 Feb 14 5:42 AM
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.
2009 Feb 14 5:46 AM
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?
2009 Feb 14 5:48 AM
Praveen,
Do you want this to be done in the sel screen field of std report ?
Can you tell the report name ??
2009 Feb 14 5:42 AM
is this for your customized report or for sap standard report???
2009 Feb 14 5:44 AM
2009 Feb 14 5:45 AM
so you have to go for user exit.....for which tcode you want this????
2009 Feb 14 5:46 AM
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
2009 Feb 14 5:47 AM
2009 Feb 14 5:49 AM
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
2009 Feb 14 5:43 AM
2009 Feb 14 5:45 AM
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.
2009 Feb 14 5:45 AM
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
2009 Feb 14 5:55 AM
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..................
2009 Feb 14 6:03 AM
Check include MV45AFZZ, USEREXIT_MOVE_FIELD_TO_VBAK.This should work
2009 Feb 16 4:22 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |