Skip to Content
avatar image
Former Member

Adding Field in XD02 screen to display the data from KNA1 table



To create a screen field in XD02 screen in order to Display the value fetched from KNA1 table ,

kindly suggest the exit or BADI for the same.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 24, 2017 at 06:00 AM

    the state code is nothing else than the region which is in the address screen, see OSS note 2441042 - GST India: Maintenance of State Codes

    Don't develop anything yourself, except it is explicitly explained in one of the 190 OSS notes which already exist for GST India, and this number is rising every day.

    Add comment
    10|10000 characters needed characters exceeded

    • A new z-field can be added, no doubt, how to do this is plenty times explained here in the community. ( Google returns more than 2000 results for this search term: add z-field customer master

      But just adding a field in a customer master is not really getting you further, you also need to have coding to edit this field and even more important you need coding to make use of this field in other programs.

      And probably anybody uses the region field more or less in his business partner addresses. The very important information is put in brackets, you should read it better this way "state codes which are not as per Indian Cencus or ISO " . Are your state codes really different from that definition? did you define your own state codes in the past?

      Review the process to know where your region is currently used and how and make up your mind if you really can't exchange it to meet the Cencus (in case yours are different)

  • Jun 23, 2017 at 08:57 PM

    About what field are you talking? Why is a BADI needed? KNA1 is the standard customer table, what is in there should be displayed already based on the customizing of field selection.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      For GST Requirement our client requires new field called Sate Code which contains the state which their customer belong ,so they want to add one field called state code in customer master table & key in that data ,

      Now we have to display the contents in statecode field in XD02 screen based on customer number entered on that field.,Iam unable to find he sscreen exit for that package,

      Kindly suggest me BADI to add one field to XD02 screen to diplay the state code.