CST No Mandatory in XD01/XD02
Dear All
Our customers requirement is make CST no field mandatory in customer master XD01. I have tried through customization but its not possible
Plz suggest any solution
Regards
Arun
but CST no is not there under customer Account Group
Yes but you can see "VAT Registration Number" in customer master which can be set as mandatory in OBD2 for that Account Group
thanks
G. Lakshmipathi
Similar Messages
-
Making a field mandatory in additional data tab in sales area data in XD01/XD02
Hi,
Making fields in additional data tab in sales area data in XD01/XD02 as mandatory is not achievable through configuration. Also, user exit SAPMF02D was not helpful in achieving this. Kindly help me on this.Is this a new field you are creating or an existing field you want to mark as mandatory? My impression from your original post was that it was the second. If so then you don't need to create an implementation of CUSTOMER_ADD_DATA as there must already be one, instead you should be looking for the implementation that manages data for the screen you are interested in. This might be why you don't see your BADI get activated when you go to "area data -> extras -> additional data" as it isn't the right implementation.
If you just want the field to be mandatory when the user goes into the additional data tab I would code this in the screen of the customer exit. If you want this field to be mandatory whether or not they enter other additional data then you should try the method of the badi Nabheet suggested but not in your own implementation. -
Hello All,
i wnt to make CSt LST and PAN No. fielda mandatory in XD01 T code.
We have tried it through configuration settings but it didnt worked out.
Please help how can i do it through ABAP coading.
Regards,
JaideepHi,
Try creating a transaction / screen variant for XD01 transaction using SHD0 transaction and activate the same for the required users.
In the transaction variant, check the option "Required" for the CST, LST and PAN number fields.
Regards,
Harish -
Updating partner function when creating customer XD01/XD02
Hello all, I have the following requirement to do:
When creating a customer for a certain account group in XD01/XD02, I need to update the partner functions associated to this customer.
I have tried, the ENHACEMENT SAPMF02D with function EXIT_SAPMF02D_001, but when changing table content T_KNVP, this content is not taken into account and the values are not stored in DB.
I have tried too BADI's CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS, but the content of T_KNVP in CUSTOMER_ADD_DATA cannot be changed.
I would like to avoid BTE's for now.
Can someone give me a hand on this?
Thanks in advance!Solution: BAPI CUSTOMER_UPDATE
-
Hi,
I have a requirement to add 2 custom fields in the XD01/XD02 Transaction by adding tab button to the existing tab strip...
can you let me know the process of doing that
i mean how to attach the screen, where to write the coding.. and how to handle the new screen..
Thanks in advanceHi
Try to see Re: Screen exit for XD01
Max -
Validate Street and House Number in the Customer Master Data (xd01/xd02)
All.
I need to validate if the fields street and house number are in blank in the Customer Master Data transaction (xd01/xd02). I found an user-exit (EXIT_SAPMF02D_001), which I can validate the customer data (KNA1, KNB1, etc) before to save. The problem is in the KNA1 structure, there aren't the fields street (STREET) and house number (NOUSE_NUM1), there is only the field STRAS, which street and house number values are concatenated.I solved this problem using field-symbol to catch these values in the screen, but I know it isn't a good solution. Is there another solution to solve this ? I had problem using this user-exit. It shows a message error type 'E' when either field street or field house number are in blank, after show this message if the user click in the tabs navigator button before press enter button, the transaction shows the error message "System error on reading table DYNTAB, screen no. 0370". Does Somebody know this problem?
Best regards,
Alexandre
ps: I'm coding in the ECC 6.Amit.
Thanks for your suggestion, but I need to validate these values typed by the user. When I create a customer, I can't get these values in the ADRC table.
Regards, Alexandre -
Update partner function before saving Customer (XD01/XD02)
Hello Experts,
I need to update my partner function table in Sales Area Data of Customer Master (XD01/XD02)
before saving the customer. Is there any exit where I can do that.
I tried using Enhancement SAPMF02D. Exit - EXIT_SAPMF02D_001. Where I modified the table T_KNVP. But, it again defaults to its original value.
Any help is appreaciated.
Regards,
DNPI rephrase the question -
I can do an update after a Customer is created but is it possible to trigger a program everytime after a Customer(XD01/XD02) is being created.
Regards,
DNP -
How to Pre fill the screen XD01/XD02, from the report program
Hello,
I have a requirment where i have to pass the screen values for the genral view of the tcode XD01/XD02,
For example : In my report program i get the Name, City, Country, PIN etc.. now my requirement is that the First Screen(Genral view) of the XD01 is pre filled with all the values that are passed from the Program and the user can continue after that.
Please suggest a way to achieve the mentioned functionality .
Regards,
AbhinavThanks
But the screen fields that i have to fill don't have parameter id's ..and i dont want to open the object by access key.
also my requirement is to leave to the transaction with the filled screen field .from the report prog...so when i use BDC i get the OK code , that i want to avoid. -
Add tab in XK01/XK02/XD01/XD02 in 4.6c
I need add 2 tabs in transactions XK01/XK02/XD01/XD02. In this page (http://myabapworld.com/tmp/solution2.html), the is for ECC 6.0. I need to 4.6c.
tks,
Marcos FerreiraHi,
Exit Name Description
RFKRRANZ User exits: Accounts Payable Information System
SAPMF02K User exits: Vendor master data
SAPMF02D User exits: Customer master data
[link1 |http://fuller.mit.edu/user_exits/s_b_user_exits.htm]
[link2|Re: USER EXIT for XD02;
Regards,
Sandeep -
ASSERTION_FAILED in XD01,XD02 while maintaining Industry in Marketing tab
While creating a new customer (XD01) or changing an existing customer (XD02),
in the Marketing tab, Industry field, when a value is maintained,
it results in runtime error ASSERTION_FAILED.
This occurs in line:
assert condition lv_ind_sector_type is not initial.
Class/Interface: FSBP_IND_SECTOR_MAPPER
Method: MAP_TRBP_DEB_TO_BP
the piece of code relevant to this line is
7 if iv_brsch is initial.
8 raise exception type cx_parameter_invalid.
9 endif.
10
11 * assure, that industry sector type is defined
12 if iv_ind_sector_type is initial.
13 lv_ind_sector_type = get_standard_ind_sector_type( ).
14 else.
15 lv_ind_sector_type = iv_ind_sector_type.
16 endif.
17 assert condition lv_ind_sector_type is not initial.
the value maintained in the industry is filled in iv_brsch.
Here, the field iv_ind_sector_type is blank
and so is filled by line 13 (method: get_standard_ind_sector_type)
Code for Method: get_standard_ind_sector_type is as given below:
method get_standard_ind_sector_type .
if standard_ind_sector_type is initial.
select single istype from tb038
into standard_ind_sector_type
where istdef = true.
endif.
rv_ind_sector_type = standard_ind_sector_type.
endmethod.
There are no values in the table TB038, which is why the select statement fails, further resulting in the short dump.
What is the significance of the table TB038, in relation to customer creation/updation (Industry field).
Is there any other way through which this issue can be tackled with? Kindly let me know.
Regards,
Smruthi S. AcharyaThank you very much, Srini.
I understand what you say, but does it mean that the note 727205 has already been implemented in our system?
Because the exact issue is:
Earlier (say a month ago), users were able to create customers in XD01, maintaining the industry while creation. Also, users were able to edit exisiting customers and maintain the industry for them.
However, now, when users get a runtime error ASSERTION_FAILED, while creating as well as changing existing customers Industry information.
What could possibly go wrong suddenly?
Moreover, its a standard code, no customising involved.
Thanks & Regards,
Smruthi -
User exit for XD01/XD02 to update KNA1 field
Hi
I have added a custom field using append structure in KNA1
I need to update it during the XD01 or XD02 transaction before it is saved
I am searching for BADIs and user exits but I am not able to update anything in KNA1
kindly help if u were having similar requirement
thanks
bHi Max,
I have tried all of the following
BADI for XD01
CUSTOMER_ADD_DATA
BADI_LAYER
CUSTOMER_ADDRSCR_CHG
GOS_SRV_SELECT
ADDRESS_SUBSCREEN
save button:
ADDRESS_CHECK
ADDR_TXJCD_CHECK
ADDRESS_UPDATE
exits
EXIT_SAPMF02D_001.
BTEs
00001320
00001321
00001330
00001340
00001350
00001360
but nowhere I have found an interface for updating KNA1 fields.
I am not able to use CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA_BI . I checked it using CL_EXITHANDLER
is there any way i can store the information I need . I just need one field against the customer number
thanks
b -
Hi SD Gurus,
In XD01 i am getting following error -
Field KNVK-NAME1 does not exist in field status tables (TMOD*)
Same way if I do the changes in XD02 error is -
Field KNVK-NAME1 does not exist in field status tables (TMOD*)Dear Mishal,
This may due to not maintaining the master data for the contact person in VAP1 transaction.
You might have assigned contact person Partner function to your customer account group.
So before going to assign the contact person in the customer master you need to create master data for that contact person.
I hope this will help you,
Regards,
Murali. -
Digit Check calculation - for XD01/XD02 - Urgent requirment
Hi Experts,
below is my requirment.
IF have like 5 digit number 12356 (Customer number)
(here 6 is units, 5 is ten, 3 is hundred, 2 is thousand and 1 is ten thousands).
My caliculation is i have multiply this number in 2 or 1 like 2 is unit, 1 is ten,
2 is hundreds and 1 is thousands 2 is ten thousands .... and so on....
1 2 3 5 6
2 1 2 1 2 by multiply
2 2 6 5 12
now i have to add : 2 + 2 + 6 + 5 + 12 = 27
after 27 next 10 multiply number is 30
here 30 -27 = 3 is my final result
if the final added value is 32 next 10 multiply number is 40 40-32 =8 final value
if the final added value is 85 next 10 multiply number is 90 90-85 = 5 final value.
I need this logic, pls can any one help in this regards
Thanks in advance
Rams
P.S: full points will be awarded
Message was edited by:
ramesh
Message was edited by:
ramesh
Message was edited by:
ramesh
Message was edited by:
rameshHi,
Try this.
REPORT ztest_digit_calc.
DATA: num1(10) TYPE c VALUE '1235678',
num2(10) TYPE c,
x TYPE i,
y TYPE i,
num3(10) TYPE c,
num4(10) TYPE c.
DATA: BEGIN OF t_digit,
num TYPE i,
num1 TYPE i,
END OF t_digit.
DATA:lt_digit LIKE TABLE OF t_digit,
wa_digit LIKE LINE OF lt_digit.
x = STRLEN( num1 ).
y = x.
DO x TIMES.
x = x - 1.
num2 = num1+x(1).
wa_digit-num = num2.
APPEND wa_digit TO lt_digit.
ENDDO.
clear x.
LOOP AT lt_digit INTO wa_digit.
y = sy-tabix MOD 2.
IF y NE 0.
num2 = wa_digit-num * 2.
ELSE.
num2 = wa_digit-num * 1.
ENDIF.
num3 = num3 + num2.
ENDLOOP.
num4 = num3.
x = num3 mod 10.
while x NE 0.
num3 = num3 + 1.
x = num3 mod 10.
endwhile.
num3 = num3 - num4.
write : num3.
Reward points if useful.
Regards,
Vimal -
Supress screen group in transactio xd01 xd02 xd03 based on company code
All,
I have implemented the badi for additional screen group
CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CSworks well.
Only that this implementation needs to work only for one company code.
I can suppress the tab but not the screen group button.
Did someone ever had this problem beforeHi Pavan,
What you can do is, Define the screens & put them in different modification groups & based on the screen groups you can validate as follows :-
LOOP AT screen.
IF SCREEN-GROUP1 = 'ABC' and SCREEN-NAME = 'Account Group" "ABC is group in which you have put the screen
SCREEN-ACTIVE = '1' (Visible).
ENDIF.
ENDLOOP.
Regards
Abhii -
Customer Master Screen Enhancement XD02 / XD03 / XD01 in sales area data
Hi,
My requirement is to add custom fields for customer master enhancement XD01/ XD02 / XD03 in sales area data.
There are 5 tabs in sales area data. I want to add fields in sales tab after subscreen Agency business.
subscreen similar to Agency Business should be added.
I tried to create Screen group in SPRO and implemented BADI as explained in link below, even then my custom program is not displayed in customer master
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=77005819
Please help.Hi,
Please don't mind but I want to know have you activated the implementation?
regards,
Sarbajit
Maybe you are looking for
-
super drive not working
-
We are using oracle 9i db server. when starting any database tools like enterprise manager,sqlplusw it gives the error message like this: ORA -12638 Credential retrival failed Please help me...
-
Problem loading Bridge CS6, what is the problem?
I have just uploaded the subscription version of Photoshop CS6 and I can't get Adobe Bridge to load, any one have any ideas as to why?
-
Email to a Plusnet account suddenly stops receiving
Since last week using Mail, letters from chimp mail to my plusnet email account are suddenly being arrested as spam. The fault is not with the webmail server as when I select command i it will forward it to my mac mail. Any clues appreciated Richard
-
Hi Guys, The docs here (http://e-docs.bea.com/wls/docs81/ConsoleHelp/domain_networkaccesspoint_conf iguration.html) indicate that there is a channel weight associated with channels. The docs here (http://e-docs.bea.com/wls/docs81/notes/resolved.html)