Skip to Content
Author's profile photo Former Member

ABAP : Making CIN tab fields Obligatory

Making country version fields mandatory while creating the customer master data.

The aim was to make the country version fields like Pan Number, service tax registration number mandatory while creating the customer master data.

The challenge is, the user may not click the relevant tab (CIN tab) and hence the fields will not flow during run time or even they are not flown in any of the user exits. Assigning the CIN master data program SAPLJ1I_MASTER and CIN table J_1IMOCUST(memory area) to Field symbols ensuring the data pick during runtime. Also, assigning customer master data to field-symbols variable, ensuring the transaction is related to customer master data. 

 

*The detailed code as below: </p><p> considered 3 fields of CIN tab.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Good Work Mate

      Really Helpfull

      Cheers
      Deepanshu

      Author's profile photo Former Member
      Former Member
      Hii Ramakrishna,
      I have tried code given by you in include  ZXF04U01.
      but still system is taking customer without giving PAN number.
      Author's profile photo Madhu Vadlamani
      Madhu Vadlamani
      Excellent.
      Author's profile photo Shashwat Bhardwaj
      Shashwat Bhardwaj

      Dear Sir I am not able to see the code. Kindly guide me.

      Author's profile photo Mufid Bagdadi
      Mufid Bagdadi

      Please guide as i am not able to view code.

      Author's profile photo SAI GOPALA KRISHNA KOTTA
      SAI GOPALA KRISHNA KOTTA

      where is the code ? i am not able to see.