MAKES MATERIAL SALES TEXT FIELD MANDATORY in MATERIAL MASTER RECORD
Dear ALl,
I want to make the Sales Text view mandatory, that is the user must enter a value in the sales text screen.
Is there a way to do it, can you suggest any user exits or any thing to make it a mandatory.
deepak
Spro-Logistics GeneralMaterial masterField selection-- select the feild.. and make mandatory there.. you can see four opitions...
other wise goto SHD0.. and do there..
Reward if it helps
Ramki
Similar Messages
-
How to make Sales Office field mandatory in VA01 initial screen?
Hi,
How to make Sales Office field mandatory in VA01 initial screen? I mean in the first screen where we enter the document type and the sales area?
Regards,
AjitDear Deepak,
Thanks for the clarification.
But, as far, I have understood the query - it is very simple and that is..
Whenever one creates a Sales Order (T.Code: VA01), Parameter: Sales Office needs to be mandatory (for all Sales Order, irrespective of Customer Account).
Until-unless, user won't enter the parameter: Sales Office, System will not lead to next page (now, here we need to enter Customer/ material etc...).
I have answered the query, in this regards, only.
Best Regards,
Amit.
Note: Pls. correct me, if I am wrong. Thanks for everyones guidance. -
Making only onr field mandatory in material master
Hi,
We want to make a field 'Account Assignment Group (MVKE-KTGRM)' (field is in Sales: Sales org - 2 view) mandatory for finished products only.
The field 'Item category Grp' in the same view is already mandatory.
We do not want to make any other additional field mandatory.
How this can be done?
Regards,hi,
You can make the field mandatory based on the only below points:
1. Transaction
2. Material type
3. Industry sector
4. Plant
5. Procurement type
6. Sap delivery
Now as per above field reference, you can't do only based on the finished production...
So, think abt it and then choose the field reference key as per your req. and then only it is possible to make it mandatory...
As per my view you can make it possible via material type, plant ..
Think abt it...
Regards
Priyanka.P -
How to pass text to Material Sales text, item note, while creating a sales
hi ,
i tried my level best with the help of friends (SDN).
but i am unable to reach the target.
my requirement is to enter text into
1) material sales text
2) item note
3) packing note
4) delivery text
5) purchase order text
6) production memo
in sales order using bapi. here i am submitting the code i wrote.
kindly some one help me.
thanks in advance
regards,
pavan
<i>report zmybapi1 .
data : my_order_header_in like bapisdhd1 occurs 0 with header line,
my_order_header_ix like bapisdhd1x occurs 0 with header line.
data : my_orderitemsin like bapisditm occurs 0 with header line,
my_orderitemsix like bapisditmx occurs 0 with header line.
data : my_order_partners like bapiparnr occurs 0 with header line.
data : my_return like bapiret2 occurs 0 with header line.
data : w_vbeln like bapivbeln-vbeln.
data:
my_orderschedulesin like bapischdl occurs 0 with header line,
my_orderschedulesinx like bapischdlx occurs 0 with header line.
data : my_orderconditionsin like bapicond occurs 0 with header line,
my_orderconditionsinx like bapicondx occurs 0 with header line.
<b>data : my_ordertext like bapisdtext occurs 0 with header line.</b>
start-of-selection.
this is to assign values to internal table my_order_header_in
my_order_header_in-doc_type = 'TA'.
my_order_header_in-sales_org = 'JNJ1'.
my_order_header_in-distr_chan = '02'.
my_order_header_in-division = 'J1'.
my_order_header_in-sales_off = 'JNJ1'.
my_order_header_in-purch_no_c = 'testbapipo'.
my_order_header_in-purch_date = sy-datum.
my_order_header_in-req_date_h = sy-datum.
append my_order_header_in.
this is to assign values to internal table my_orderitemsin
my_orderitemsin-material = '000000000000000727'.
my_orderitemsin-plant = 'JNJ1'.
my_orderitemsin-target_qu = 'EA'.
my_orderitemsin-target_qty = '10'.
append my_orderitemsin.
this is to assign values to internal table my_order_partners
my_order_partners-partn_role = 'AG'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
my_order_partners-partn_role = 'WE'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
This is to assign values to internal table my_orderschedulesin
my_orderschedulesin-itm_number = '10'.
my_orderschedulesin-itm_number = '000010'.
my_orderschedulesin-req_qty = '10'.
my_orderschedulesin-SCHED_LINE = '0001'.
append my_orderschedulesin.
*This is to assign values to internal table my_orderconditionin
my_orderconditionsin-itm_number = '000010'.
my_orderconditionsin-cond_type = 'ZPR1'.
my_orderconditionsin-cond_st_no = ''.
my_orderconditionsin-cond_count = '1'.
my_orderconditionsin-cond_value = '40'.
my_orderconditionsin-cond_p_unt = '1'.
my_orderconditionsin-currency = 'INR'.
append my_orderconditionsin.
<b> my_ordertext-itm_number = '00010'.
my_ordertext-text_id = '0002'.
my_ordertext-langu = 'EN'.
my_ordertext-langu_iso = 'EN'.
my_ordertext-text_line = 'This is for item note'.
my_ordertext-format_col = '*'.
my_ordertext-function = '009'.
*</b> <b>append my_ordertext.</b>
my_order_header_ix-updateflag = 'I'.
my_order_header_ix-doc_type = 'X'.
my_order_header_ix-sales_org = 'X'.
my_order_header_ix-distr_chan = 'X'.
my_order_header_ix-division = 'X'.
my_order_header_ix-sales_off = 'X'.
my_order_header_ix-purch_no_c = 'X'.
my_order_header_ix-purch_date = 'X'.
my_order_header_ix-req_date_h = 'X'.
append my_order_header_ix.
my_orderitemsix-updateflag = 'I'.
my_orderitemsix-material = 'X'.
my_orderitemsix-target_qty = 'X'.
my_orderitemsix-plant = 'X'.
my_orderitemsix-target_qu = 'X'.
append my_orderitemsix.
my_orderschedulesinx-updateflag = 'I'.
my_orderschedulesinx-sched_line = '0001'.
my_orderschedulesinx-req_qty = 'X'.
append my_orderschedulesinx.
my_orderconditionsinx-itm_number = '000010'.
my_orderconditionsinx-cond_type = 'ZPR1'.
my_orderconditionsinx-cond_st_no = 'X'.
my_orderconditionsinx-cond_count = 'X'.
my_orderconditionsinx-updateflag = 'U'.
my_orderconditionsinx-cond_value = 'X'.
my_orderconditionsinx-cond_p_unt = 'X'.
my_orderconditionsinx-currency = 'X'.
append my_orderconditionsinx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
SALESDOCUMENTIN =
order_header_in = my_order_header_in
order_header_inx = my_order_header_ix
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
importing
salesdocument = w_vbeln
tables
return = my_return
order_items_in = my_orderitemsin
order_items_inx = my_orderitemsix
order_partners = my_order_partners
ORDER_SCHEDULES_IN = my_orderschedulesin
order_schedules_inx = my_orderschedulesinx
ORDER_CONDITIONS_IN = my_orderconditionsin
ORDER_CONDITIONS_INX = my_orderconditionsinx
ORDER_CFGS_REF =
<b>ORDER_TEXT = my_ordertext</b>
if sy-subrc ne 0.
write: my_return-message, my_return-number, my_return-type.
else.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
write: my_return-message, my_return-number, my_return-type.</i>hi prashant,
i tried the save_text but , i am unable find the exact value which i have to enter for the field tdobject.
this is updated program as per u r instruction.
<b>Text object not found</b>
the code now is
<b>report zmybapi1 .
data : my_order_header_in like bapisdhd1 occurs 0 with header line,
my_order_header_ix like bapisdhd1x occurs 0 with header line.
data : my_orderitemsin like bapisditm occurs 0 with header line,
my_orderitemsix like bapisditmx occurs 0 with header line.
data : my_order_partners like bapiparnr occurs 0 with header line.
data : my_return like bapiret2 occurs 0 with header line.
data : w_vbeln like bapivbeln-vbeln.
data:
my_orderschedulesin like bapischdl occurs 0 with header line,
my_orderschedulesinx like bapischdlx occurs 0 with header line.
data : my_orderconditionsin like bapicond occurs 0 with header line,
my_orderconditionsinx like bapicondx occurs 0 with header line.
data : my_ordertext like bapisdtext occurs 0 with header line.
data : my_header like thead occurs 0 with header line.
data : my_tline like tline occurs 0 with header line.
start-of-selection.
this is to assign values to internal table my_order_header_in
my_order_header_in-doc_type = 'TA'.
my_order_header_in-sales_org = 'JNJ1'.
my_order_header_in-distr_chan = '02'.
my_order_header_in-division = 'J1'.
my_order_header_in-sales_off = 'JNJ1'.
my_order_header_in-purch_no_c = 'testbapipo'.
my_order_header_in-purch_date = sy-datum.
my_order_header_in-req_date_h = sy-datum.
append my_order_header_in.
this is to assign values to internal table my_orderitemsin
my_orderitemsin-material = '000000000000000727'.
my_orderitemsin-plant = 'JNJ1'.
my_orderitemsin-target_qu = 'EA'.
my_orderitemsin-target_qty = '10'.
append my_orderitemsin.
this is to assign values to internal table my_order_partners
my_order_partners-partn_role = 'AG'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
my_order_partners-partn_role = 'WE'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
This is to assign values to internal table my_orderschedulesin
my_orderschedulesin-itm_number = '10'.
my_orderschedulesin-itm_number = '000010'.
my_orderschedulesin-req_qty = '10'.
my_orderschedulesin-SCHED_LINE = '0001'.
append my_orderschedulesin.
*This is to assign values to internal table my_orderconditionin
my_orderconditionsin-itm_number = '000010'.
my_orderconditionsin-cond_type = 'ZPR1'.
my_orderconditionsin-cond_st_no = ''.
my_orderconditionsin-cond_count = '1'.
my_orderconditionsin-cond_value = '40'.
my_orderconditionsin-cond_p_unt = '1'.
my_orderconditionsin-currency = 'INR'.
append my_orderconditionsin.
my_ordertext-doc_number = '0000008632'.
my_ordertext-itm_number = '00010'.
my_ordertext-text_id = '0002'.
my_ordertext-langu = 'EN'.
my_ordertext-langu_iso = 'EN'.
my_ordertext-text_line = 'This is for item note'.
my_ordertext-format_col = '*'.
my_ordertext-function = '009'.
append my_ordertext.
my_order_header_ix-updateflag = 'I'.
my_order_header_ix-doc_type = 'X'.
my_order_header_ix-sales_org = 'X'.
my_order_header_ix-distr_chan = 'X'.
my_order_header_ix-division = 'X'.
my_order_header_ix-sales_off = 'X'.
my_order_header_ix-purch_no_c = 'X'.
my_order_header_ix-purch_date = 'X'.
my_order_header_ix-req_date_h = 'X'.
append my_order_header_ix.
my_orderitemsix-updateflag = 'I'.
my_orderitemsix-material = 'X'.
my_orderitemsix-target_qty = 'X'.
my_orderitemsix-plant = 'X'.
my_orderitemsix-target_qu = 'X'.
append my_orderitemsix.
my_orderschedulesinx-updateflag = 'I'.
my_orderschedulesinx-sched_line = '0001'.
my_orderschedulesinx-req_qty = 'X'.
append my_orderschedulesinx.
my_orderconditionsinx-itm_number = '000010'.
my_orderconditionsinx-cond_type = 'ZPR1'.
my_orderconditionsinx-cond_st_no = 'X'.
my_orderconditionsinx-cond_count = 'X'.
my_orderconditionsinx-updateflag = 'U'.
my_orderconditionsinx-cond_value = 'X'.
my_orderconditionsinx-cond_p_unt = 'X'.
my_orderconditionsinx-currency = 'X'.
append my_orderconditionsinx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
SALESDOCUMENTIN =
order_header_in = my_order_header_in
order_header_inx = my_order_header_ix
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
importing
salesdocument = w_vbeln
tables
return = my_return
order_items_in = my_orderitemsin
order_items_inx = my_orderitemsix
order_partners = my_order_partners
ORDER_SCHEDULES_IN = my_orderschedulesin
order_schedules_inx = my_orderschedulesinx
ORDER_CONDITIONS_IN = my_orderconditionsin
ORDER_CONDITIONS_INX = my_orderconditionsinx
ORDER_CFGS_REF =
ORDER_TEXT = my_ordertext
if sy-subrc ne 0.
write: my_return-message, my_return-number, my_return-type.
else.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
write: my_return-message, my_return-number, my_return-type.
my_header-tdobject = ''.
my_header-tdname = ' '.
my_header-tdid = '0002'.
my_header-tdspras = 'EN'.
append my_header.
my_tline-tdformat = '*'.
my_tline-tdline = 'This is for item note'.
append my_tline.
call function 'SAVE_TEXT'
exporting
CLIENT = SY-MANDT
header = my_header
INSERT = ' '
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
tables
lines = my_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endif.</b>
thanks in advance
regards,
pavan -
ABAB programm to copy material sales text from one sales org to another?
Hi all,
i'm searching for a ABAP programm to copy a material sales text from one sales org to another.
Has anybody seen something like that before or has anybody an idea how to do this?
Greetings & TIA
strobbel@Narin
I've tried to execute both code now over a new programm in the se38 and i get a error message from the first code (http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm).
It's called:
"BAPI_MARC1" cannot be converted to a character-type field.
Could you help me to solve this?
Sorry but i'm an absolutely newbie in things like ABAP and so on ... -
I have run across something that I can not find an answer to. I have searched this Forum, OSS Notes, and tried to Google this as well. To make a long story short, we no longer have a SD Functional/Technical person and I am trying to learn as I go. When creating a Return (Doc Type RE), I enter a material which has no Sales Text for any of the Sales Orgs, but yet when I look at the Texts, I see a Material Sales Text. I have gone to the Material Master, added a Sales Text for the Sales Org I am working with, and the Text is bought in as I expect it to be on the RE. I then delete the Text, add the material to the RE, and again a Sales Text is being bought in even though no Sales Text exits in the Sales Org Views.
We are curerntly using version 4.7
Any help would be greatly appreciated. Thanks.Go to the Sales Order and then on the line item (or the header if you see the text there) and choose the Texts tab.
Then choose the Text and clic on the "log" button on the bottom of the text panel.
This will show you the basic text determination analysis and will tell exactly from where this text came from -
Hi
I was wondering if there is a way to display Material sales text maintained in one plant(sales org) to be display in all the plants(sales org), which can make the maintenance of the sales text easier,Thanks.
Regards
PinkyHi!
Well, the material's sales text is independent from the plant, it belongs only to the sales organization.
You can write a small Z-report to list the texts for all sales organization.
You can select fot the available texts from the STXH, STXL tables.
TDOBJECT: MVKE
Use the READ_TEXT function module for readin the texts.
Regards
Tamá -
Problem in using FM READ_TEXT to read Material Sales Text.
Hi Guys,
I am developing a Customer Outstanding report in which I display all the invoices of a particular customer.
I need to read "Material Sales Text" which comes under "Item Text" tab in transaction FBL5N.
I have used READ_TEXT in my program. I have identified the Object, and ID but I am stuck up with the Name. I dont know what Name to pass. I have tried passing the Invoice Number in "Name" but couldnt get the text.
Request you to please help me out. Please check the below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = '0001'
language = SY-LANGU
name = -
object = 'VBBP'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = tl001
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OTHERS = 8
Thanks.*& Form READ_TEXT
FORM read_text USING p_tdid p_tdname
CHANGING p_tdline.
DATA: it_line TYPE STANDARD TABLE OF tline,
wa_line TYPE tline ,
l_tdid TYPE thead-tdid,
l_tdname TYPE thead-tdname.
l_tdid = p_tdid.
l_tdname = p_tdname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = l_tdid
language = 'E'
name = l_tdname
object = 'VBBP'
TABLES
lines = it_line
EXCEPTIONS
OTHERS = 8.
LOOP AT it_line INTO wa_line.
IF NOT wa_line-tdline IS INITIAL.
p_tdline = wa_line-tdline.
ENDIF.
ENDLOOP.
ENDFORM. " READ_TEXT -
Changing of Material sales text heading
In VA01/VA02 tcode, when i m entering into the material details..then i will be getting Sales Document Item..in that Texts ..i am having a text 'Material sales text' i want ot rename it as 'Refernce Number'...how to do the above heading change
Hi,
If you are talking about the name of the text in left side menu, this is a customization setting. Please check with your functional.
You can check the T-code VOTXN
Below threads gives you some idea on configuration.
sales order header text configuration
Text configuration
Thanks,
Vinod. -
Hi,
We need to retrieve Material Sales Text for thousands of materials.We are using the function module READ_TEXT to retrieve text one material at a time.Is there any best possible way of handling this? like retrieving sales text for bunch of materials at a time rather than one at a time.Hai
variable "id1" contains Document No , Check With other Id No , and your material table
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = '0014'
language = sy-langu
name = id1
object = 'VBBK'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
lines = itab_w
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT itab_w INTO g_text3.
nu = nu + 1 .
IF nu = 1 .
MOVE : g_text3 TO g_text4 .
ENDIF .
APPEND g_text3 .
*clear g_text4 .
ENDLOOP.
Regards
Sarath P G -
Help needed for changing MATERIAL SALES TEXT
We have a requirement where in i need to chang the existing material sales text. GOTO --> ITEM --> TEXT --> Material Sales text. iwould like to know if it would be possible to do it using a CATT program?? If yes any pointers if no what would be the best approach for this.
You can also use a LSMW.
You are lucky, this is exactly the eg taken in SAP help :
http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
Hope this helps,
Erwan -
Hello All,
Please tell me that how can we make the assignment or text field mandatory for payment document (f-53 or f-28)
Validation is not working.
sUGGEST,Hello,
Please change the field status for your bank gl accounts.
Make mandatory text & assignment fields in the field status group of the bank gl.
Rgds
Murali. N -
How to make the LONG TEXT as mandatory
Hi,
In one tansaction, I need to make the LONG TEXT as mandatory.
or
I need to raise an Error message if the long text is empty.
ThanksI want to make the long text mandatory in the transaction F-66.
In this, long text field (text box) is not displaying directly for typing.
We need to click on the button LONG TEXT, then text box is opening for typing.
I need to make this as mandatory.
Thanks -
How to make the Profit Center Field Mandatory in Cost center Master Data
Dear All,
Please let me know how to make the Profit Center Field mandatory in Cost Center Master Data as well as my Internal Order Master Data?
Thanks in advance!
Regards,
Rajeswari Shankar.Hi Rajeswari,
You can modify message number KS096 to "Error" via OBA5. Thus, the users would no be able to save a cost center without entering a profit center. (Depending on your release you can make KS096 modifiable by implementing note 486781.)
Concerning the internal orders (transaction KO01), you can run KOT2 and set Profit center field as required entry in "change field selection" section.
Regards,
Greta -
Vendors PAN Number field Mandatory in Vendor Master Data
HI,
I am working in 4.7 EE version. I want to make Vendors Pan Number field mandatory while creating Vendor Master Data. As per my knowledge we cannot use Validation for this purpose.
Regards
SudhakarHi Parag,
In ECC 6.0 you get a tab CIN details in vendor master itself wherein you can maintain PAN no. sales tax no. etc of the Vendor.
you dont need to use any field for PAN no... If this is followed then wht you are saying is correct. But the problem is that we want to make PAN no. in CIN details tab mandatory and that is not possible.
Regards,
SAPFICO
Maybe you are looking for
-
Java and Maven issues after upgrading OSX to Maverick 10.9.2
I upgraded my MacBookAir to Maverick and now it can't detect Java VM and Apache Maven
-
RSDU_TABLE_DROP_PARTITION_MSS Error.
Hello All, I am having this error while deleting requests from PSA" RSDU_TABLE_DROP_PARTITION_MSS Error while creating the clone table /BIC/B0000587000" I went through different suggestions and this is one I found. - Go to transaction SE14 - Type in
-
Authenticate users to production portal system
At this new installation, portal wants to import roles/users from the production portal system, not prod BW. Wonu2019t that cause errors for connections with u201Cuse SSO when refreshing reports at view timeu201D? Note, we havenu2019t set up SNC ye
-
'class' or 'interface' expected, advice please!
Hi! I have problems running a program. it is supposed to 1) open a file 2) find word 1-3, 2-4, 3-5 a.s.o. 3) write the wordstrings it found in a system.out.println. In the former version, I only had private static void and got this: Exception in thre
-
Hi BWers, Currently my clinet using BW 3.5 system and looking for a Global Roll-out by making existing solution as Global template. However I am for upgradation of existing system to 7.0 and then for Roll-out for remaining countries. Hence my client