How to make Plant as an optional field in ME21N
Dear Experts,
Is it possible to make plant as an optional field while creating a PO(me21n)? If so then please suggest the T-code and procedure.
Thanks and Regards,
Manish
Dear All,
I completely agree to all of you that Plant is mandatory, but since I am procuring with reference to WBS element, plant is already picked up. I am trying to avoid the error of assigning 2 plants to same PO.
Please advise,
Thanks and Regards,
Manish
Similar Messages
-
How to make plant in shipping cond tab for line item in sales doc mandatory
Hi
How to make plant as mandatory for a sales document say quotation mandatory ? I went to SPRO-> Basic Fucntion - > log of incomplete terms -> Define incomplete Groups -> B.selected sales -Item -> Created new procedure Z001 with fielda VBAP - WERKS ,selected screen name PDE2 and checked warning check box.
When i goto Assign incompleteness procedures I donot have option to assign it sales document item level procedure i will only get sales doc header procedure to assign it to document type quotation.
How to make plant as mandatory for each line item in quotation?
Thanks,
VaishnaviInclude: MV45AFZB
Form USEREXIT_CHECK_VBAP
In our business scenario, we have used the same ,But Plant is mandatory only for 1st line item-
source code:
IF vbak-vkorg = '1000' OR vbak-vkorg = '2000'.
IF sy-tcode = 'VA31' OR
sy-tcode = 'VA11' OR
sy-tcode = 'VA21' OR
sy-tcode = 'VA41' OR
sy-tcode = 'VA01' .
IF vbap-werks IS INITIAL AND
vbap-posnr EQ '000010'.
MESSAGE e398(00) WITH 'Please enter the plant for first line'.
ENDIF.
ENDIF.
ENDIF.
Help:
Through this form exit we are making the "plant' field (for the ist &*
& line item ) mandatory for the sales document . This interns helps us &
& to create the sales document numner according to the plant (Region) &
*& of the Plant
Hope it clears. take assistance of your ABAPer. -
How to make Add to Favorites Option for website?
Please Advice how to make Add to Favorites Option for the
Website.
Appreciated
Thank Youhttp://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1191543&highlight_key=y&keyword1=favorites
-
How to make tcp have establish option's function or reflexive in ASA like icmp have echo reply
how to make tcp have establish option's function or reflexive in ASA like icmp have echo reply
rather than permit tcp in both sideAn ASA firewall is stateful.
The reflexive access for TCP connections (or UDP flows) is allowed by default as the firewall checks for established connections prior to applying an access-list on traffic that arrives at an interface.
Excerpted from this document (emphasis mine):
"Here are the individual steps in detail:
Packet is reached at the ingress interface.
Once the packet reaches the internal buffer of the interface, the input counter of the interface is incremented by one.
Cisco ASA will first verify if this is an existing connection by looking at its internal connection table details. If the packet flow matches an existing connection, then the access-control list (ACL) check is bypassed, and the packet is moved forward.
If packet flow does not match an existing connection, then TCP state is verified. If it is a SYN packet or UDP packet, then the connection counter is incremented by one and the packet is sent for an ACL check. If it is not a SYN packet, the packet is dropped and the event is logged." -
How to make plant mandatory field in Sales order thru standard SAP process
Hello,
There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
Thanks & Regards,
SaurabhHI
Plant will determine based on Customer-material Info Record, Customer Master data & material Master
If plant is not mandatory in customer Master and Customer material no problem
but at the time of creating the material master Plant Mandatory as per my knowledge, so system will pick plant from Material master that is the case why you required plant Mandatory in Sale order level
and you need to do Shipping Point Determination for that plant
Did you check by using User Exit ? if not try once what i have suggested
Try with User Exit
MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
VBAP - WERKS = " "
if VBAP - MATNR , POSNR = not initial
Error Messgae "E"
Check and Revert
Regards,
Prasanna
Edited by: prasanna_sap on Feb 14, 2012 11:41 AM -
How to make default values in selection field?
hi,
i have selection field date , using data element 'QENTST' using following code in view INIT Method. i get the input selection field when i test application.
DATA: LT_RANGE_TABLE TYPE REF TO DATA.
CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
EXPORTING
I_TYPENAME = 'QENTST'
RECEIVING
RT_RANGE_TABLE = LT_RANGE_TABLE.
CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
EXPORTING
I_ID = 'QENTST'
IT_RESULT = LT_RANGE_TABLE
I_OBLIGATORY = ABAP_TRUE.
What i need now , to make default value in this selection field( low = sy-datum and high = sy-datum + 10 ) . I have checked , i found one method called... SET_RANGE_TABLE_OF_SEL_FIELD. Bt i m not able to understand how to assign values to input table parameter in this method?
Thanks In Advance.
Saurin ShahHi,
Refer this Article by Thomas on how to make default values in Select Options:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
I hope it would solve your problem. -
How to make a selection screen two fields obligatory
Dear friends...
I wish to know how i make two fields obligatory in the selection screen
like
select-options Po_Num for ekpo-ebeln obligatory.
select-options Po_Date for ekko-aedat.
select-options Material for mara-matnr.
in the above example i am looking for po_num and po_date both obligatory but if i dont enter data in the po_num, po_dat becomes obligatory and po_dat has no data entererd po_num is obligatory. i wish to know how i achieve single field act as a obligatory in absence of another field. please help in this regards..
thanking you,,,
regards.
NaimREPORT ZMM_COMP_POS no standard page heading line-size 225
tables: ekko, ekpo, mara.
data: begin of i_ekko occurs 0,
ebeln like ekko-ebeln,
ebelp like ekpo-ebelp,
matnr like mara-matnr,
aedat like ekko-aedat,
waers like ekko-waers,
ernam like ekko-ernam,
end of i_ekko.
data: begin of i_ekpo occurs 0,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
matnr like mara-matnr,
aedat like ekpo-aedat,
waers like ekko-waers,
menge like ekpo-menge,
meins like ekpo-meins,
ernam like ekko-ernam,
lgort like ekpo-lgort,
netwr like ekpo-netwr,
recd(16) type p decimals 3,
rec_val(16) type p decimals 3,
end of i_ekpo.
data: lines type i.
data :itab_output like i_ekpo occurs 0 with header line.
data: itab_output3 like standard table of itab_output .
data data.
data total like sy-dbcnt.
data recd(16) type p decimals 3.
data rec_val(16) type p decimals 3.
data : it like i_ekpo occurs 0 with header line.
selection-screen begin of block b1 with frame title text-010.
select-options Po_Num for ekpo-ebeln .
select-options Po_Date for ekko-aedat.
select-options Material for mara-matnr.
selection-screen end of block b1.
at selection-screen.
if po_num[] is initial
and po_date[] is initial.
message e001(00) with 'Make at least one entry'.
endif.
start-of-selection.
if PO_NUM is initial and
Po_Date is initial or
Material is initial.
select ebeln ebelp matnr
menge meins netwr
aedat
from ekpo
into corresponding fields of table i_ekpo
where ebeln in Po_Num.
endif.
loop at i_ekpo.
select ebeln aedat waers ernam
from ekko
into corresponding fields of table i_ekko
where ebeln in Po_Num.
if sy-subrc = 0 .
i_ekpo-aedat = i_ekko-aedat.
i_ekpo-waers = i_ekko-waers.
i_ekpo-ebeln = i_ekko-ebeln.
i_ekpo-ernam = i_ekko-ernam.
modify i_ekpo transporting ebeln aedat waers
ernam
where ebeln = i_ekko-ebeln.
clear i_ekko.
endif.
endloop.
describe table i_ekpo lines lines.
if lines le 0.
message e017(zk).
endif.
select ebeln ebelp matnr
menge meins netwr
werks
from ekpo
into corresponding fields of table i_ekpo
for all entries in i_ekko
where ebeln = i_ekko-ebeln .
sort i_ekpo by ebeln ebelp.
sort i_ekko by ebeln.
loop at i_ekko.
read table i_ekpo with key ebeln = i_ekko-ebeln.
if sy-subrc = 0.
i_ekpo-aedat = i_ekko-aedat.
i_ekpo-waers = i_ekko-waers.
i_ekpo-ebeln = i_ekko-ebeln.
i_ekpo-ernam = i_ekko-ernam.
modify i_ekpo transporting ebeln aedat waers
ernam
where ebeln = i_ekko-ebeln.
endif.
endloop.
describe table i_ekpo lines lines.
if lines le 0.
message e017(zk).
endif.
loop at i_ekpo.
write:/1 sy-vline,
(5) i_ekpo-ebeln left-justified ,sy-vline,
(10) i_ekpo-ebelp left-justified ,sy-vline,
(15) i_ekpo-aedat left-justified ,sy-vline,
(18) i_ekpo-ernam left-justified ,sy-vline,
(23) i_ekpo-matnr left-justified , sy-vline,
(27) i_ekpo-menge UNIT i_ekpo-meins left-justified , sy-vline,
(29) i_ekpo-meins left-justified , sy-vline,
(31) i_ekpo-netwr CURRENCY 'INR' left-justified ,sy-vline,
(33) i_ekpo-waers left-justified ,sy-vline.
endloop.
write:/(743) sy-uline.
top-of-page.
write:/30 'ESSAR CONSTRUCTIONS LTD.' color 6 inverse.
write:80 'DATE :' color 6 inverse, sy-datum color 6 inverse.
new-line no-scrolling.
write:/30 'PO Details.' color 7 inverse.
write: /(743) sy-uline.
format color col_heading on.
write:/1 sy-vline.
write: (5) 'PO no.',sy-vline,
(10) 'Item no.',sy-vline,
(15) 'PO Date' color 1,sy-vline,
(18) 'PO Created By.',sy-vline,
(23) 'Material No.', sy-vline,
(27) 'PO Quantity', sy-vline,
(29) 'PO Unit', sy-vline,
(31) 'PO Value',sy-vline,
(33) 'Currency' , sy-vline.
write:/(743) sy-uline.
format reset. -
How to make Sales group and office field mandatory in VA01 first screen
hi gurus,
can anybody tell me how to make Sales group and sales office mandatory field on VA01 tcode first screen. i have requirement to make it compulsary on the first screen otherwise they wont be able to goto next screen.
will reward points for sure
thanks
mandyHi! Mandy,
Try using t.code SHD0, choose your transaction variant here, further choose your screen variant.
Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter> scroll down to the entry required by you make the necessary changes(Output only, invisible or required) and save.
The system will prompt to assign a package and request enter the necessary values.
Provide your feedback.
Regards,
PATHIK -
How to Make u0091Contactu0092 Profile a required field in BP Maintenance?
We are using "status" tab in the Tcode: /nBP- BP Maintenance and trying to do following two things:
1. Make Contact filed as REQUIRED fields in BP Master in under Status tab, and
2. Restrict one or more communication method(s) as Disallowed while others remain Allowed. Here is the scenario: BP chooses NOT TO BE CALLED on Phone but agrees to receive Letters and/or Emails.
We believe this would require development, but wonder if there are other options, or if anyone has done something similar and would be willing to share?
Thanks in advance,
Purush ChitkaraHi,
Sort Key can be made as mandatory through SPRO settings.
SPRO > Financial Accounting New > Accounts receivable and accounts payable > vendor accounts > Master Data > Preparations for creating vendor master data > Define Account groups with screen layout > Double click on your account group > Double Click on company code data > Double clcik on account management > Make the field sort key as required entry.
Regards,
Prabu -
How to make DM mpackage Prompt OPTIONAL
Hi All
I want to run my DM package which has only profit center as the prompt. User want to see the prompt but dont want to enter anything but just say next so that it runs for all profit centers.
I am using
PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%") in my script logic editor. How to make the prompt optional. When i am trying to run it gives me a message to "SELECT FEWER MEMBERS".
And one more point : What is the difference between SELECTINPUT and SELECT.
PROMPT(SELECTINPUT, [variable], [second variable], [label], [dimensions])
PROMPT(SELECT, [variable], [second variable], [label], [dimensions])
Thanks in advance for your inputs.
Regards
AKHi,
To make the user to execute the package without Prompt you can remove the script,
PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%")
From Dynamic Script of your package.
Regarding your second question,
SELECTINPUT and SELECT both are to get input from user through Prompt.They Differ by the following,
In SELECTINPUT You will get only the Base members of the dimension to select.
In SELECT you get both Base and Parent Members of the dimension to select.
Hope this helps,
Regards,
G.Vijaya Kumar -
How to make Start Date as optional parameter in Crystal reports 2011
Hi All,
I have existing Start Date and End Date parameter how to make them as optional parameters.
Thanks for your help in advance!!.Hi Mnnica,
There is an option 'Optional Prompt' under value options, make that as true. Do the same for both startdate and enddate then go in Record Selection Formula and write below formula :
If Not (hasvalue({?Startdate}) then True else {?Startdate} >= {databasedatefield}
and
If Not (hasvalue({?Enddate}) then True else {?Enddate} <= {databasedatefield}
Check below screen capture for Optional Prompt options :
-Sastry -
How to make a column as Password field?
Hi,
I need to change the column as "Password" field.
I.e. the data should be shown as "******" in DB Also.
How to make this happen in Table column?
Kindly guide / help me on this.
Thanks,
Orahar.Orahar wrote:
Dear Kumaran,
Thanks.
Can you explain me about the view which I need to create to displays the column value as stars ("*****")?
Thanks,
Orahar.
SQL> create table tbl_test (id number, name varchar2(10));
Table created.
SQL> insert into tbl_test values(111,'test');
1 row created.
SQL> select * from tbl_test;
ID NAME
111 test
SQL> create or replace view vw_test as
2 select '*****' id, name from tbl_test;
View created.
SQL> select * from vw_test;
ID NAME
***** test
SQL> insert into tbl_test values(2,'test2');
1 row created.
SQL> select * from vw_test;
ID NAME
***** test
***** test2
SQL> -
i wnat to know that how to make apple id without credit or debit card....cuz i dont have....but i want to download apps for my ipod touch
Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card -
How to add spaces on select-option field?
All,
I want to add few spaces on my select-option field.
Customer: ________ to ________
Can I change the spaces here? I
I want to put some spaces after 'to'
It should be displayed like....
Customer: _________ to _________
Regards,
RHHi!
Using the SELECT-OPTIONS it's not possible.
But you can create your own line, somehow like this:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT ... "customer
PARAMETERS: p_low.
SELECTION-SCREEN COMMENT ... "to+spaces
PARAMETERS: p_high.
SELECTION-SCREEN END OF LINE.
The syntax is not perfect, but you have to do something like that.
Regards
Tamá -
How to Make one of 2 Selection Fields Obligatory
Hi All,
On my seletion screen, i have about 5 select-option input fields. The thing is I want to make the 'article' (s_matnr) and the 'merchandise category' (s_matkl) fields obligatory. The way it should be is that one of them should be obligatory at a time not the 2 at the same time. And 1 of them must be filled they can't be run wide open.
So in Summary, the user must either provide an input for either the ariticle or the merchandize category, not the 2 at the same time and not neither.
Thanks.hi basil
how you did
Maybe you are looking for
-
How do I print from wifi-connected MacBook Pro to printer connected via USB to Win7 PC?
This is really frustrating, and I did not think that anything could be this difficult on a Mac. I have a Windows 7 Home Premium desktop PC connected via ethernet cable to wireless router, and a printer connected to the PC via USB. I recently bought m
-
Optimal Ethernet Network for FCS Usage
Hi I recently purchased a G5 Dual 1.8 G5 PCI-X. I also have a G4 QuickSilver 867 with an upgraded processor (Sonnet 1.8 Ghz). According to the specs, they both have Gigabit Ethernet built in. My question is this.... To maximize the transfer of files,
-
My videos won't play in my itunes
my videos won't play in my itunes- just blank and no sound but running like it was playing something
-
Hi I am SAP Functional Consultant. I want to learn and work on SAP ECC FI and CO. Can anyone please help me in giving me the links to FICO documentation starting from the basic information links or guides? Appreciate your help. Thank you,
-
RRI - pulling all customers info for jump query
Folks, I have created a RRI from query Q1 (Order information for all customers) to query Q2 (Detailed Invoice information at Customer level) also I have created a Variable on Customer in query Q2. My intention is when I right click on the customer fr