1 messages 7_am

93 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
93
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

1 messages 7_am

  1. 1. *&---------------------------------------------------------------------**& Report ZMESSGAES **& **&---------------------------------------------------------------------*REPORT ZMESSGAES .*Here the Ctry Key from KNA1 i,e Entered here is Verified with the Check TableAutomatically*If the F.K Relation Ship Exist But the Message it Displays is User friendly i.eit says* Ctry XYZ Doesnt Exist in Check Table T005 So that We Validate it Explictly*Any Input is a Valid Input Only When there is atleast One record Exist in therespective Check Table*Ex : KNA1 -> Check Table For Customers* LFA1 -> For Vendors* MARA -> For Materials* T001 -> For Companies* T005 -> For Countries* T006 -> For Unit Of Measurements* TCURC-> For All Currency Keys*PARAMETER : P_LAND1 TYPE KNA1-LAND1 VALUE CHECK.PARAMETER : P_LAND1 TYPE LAND1_GP ,P_KUNNR TYPE KUNNR,P_BUKRS TYPE BUKRS.DATA V_LAND1 TYPE LAND1_GP.*MESSAGE S002(ZALL_7AM) WITH P_KUNNR P_BUKRS.AT SELECTION-SCREEN ON P_LAND1.SELECT SINGLE LAND1 INTO V_LAND1 FROM T005 WHERE LAND1 = P_LAND1.IF SY-SUBRC <> 0. "Entry Not FoundMESSAGE E003(ZALL_7AM) WITH P_LAND1.ENDIF.

×