How to make field as optional in MIGO header screen
Hi
I need to make Deveilvery note header field of MIGO screen as optional based on whether doc is GR based or PO.
How to make this screen field GOHEAD-LFSNR as optional .
it shld be optional or mandatory based on t158-vgart = WE or WH.
I chcked in BADI MB_MIGO_BADI header check. but not.
Please suggest.
Thanks in Advance
Hi Saptarshi Chakrabarti,
If the entries are generated and (Create Accounting is run) sent to GL, we cannont edit the DFF.
Please set the PROMPT to YES, so that whether the value is provided in DFF or not this info can be editable before running Create Accounting.
Regards
Raghaveder Rao K
Similar Messages
-
How to maintain fields non-editable in MIGO
Hi all.
how to make fields as non editable in the transaction MIGO .
for ex: in MIGO screen there is field serial number. when we click this one it is displaying some serial numbers. For this field need maintain only display (non editable) mode.
if anybody know this pls..reply.
thanq.
skskHi,
I have not come across any transaction as such. I think you need the field VBELN to be in display mode.
You may try the following code in the enhancements;
loop at screen.
if screen-name = 'VBELN'. (or the field of your requirement)
screen-input = 0.
endif.
Modify screen.
endloop.
Make necessary additions according to your requirement.
Regards,
Renjith Michael. -
How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110
hi
How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110
regards,
BillaHi,
Standard transaction variant is not possible ,i dont want to use as zf110.
Regards,
Billa
Edited by: Billa Mahe on Sep 3, 2010 3:14 PM -
How to make fields required in an updateble multi line form?
How to make fields required in an updateble multi line form?
You need to create a validation item that is triggered when the user clicks the submit button.
Set the validation type to "Function Returning Error Text".
Then add your validation into the "Validation Expression 1" field. Something like:
BEGIN
FOR I IN 1.. HTMLDB_APPLICATION.G_F02.COUNT LOOP
IF HTMLDB_APPLICATION.G_F02(I) IS NULL THEN
RETURN 'Please enter in a value for xxxxx on line ' || TO_CHAR(I,'0');
END IF;
END LOOP;
RETURN NULL;
END;
As long as the function returns a string, an error is generated - as there is no single field where this error can be displayed, it will need to be displayed "On Error Page".
If the return value is NULL, then the fields are valid and the submit process can continue.
Andy -
How to make field is editable in ALV CL_SALV_TABLE only)
Hi,
How to make field is editable in ALV CL_SALV_TABLE only)
Any one has tried to make field si editable by using CL_SALV_TABLE class.
*I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
Please reply only if you riedin CL_SALV_TABLE class method.
Regards
Rajesh V
Moderator message: not supported, please read class documentation and search for previous discussions.
Edited by: Thomas Zloch on Mar 17, 2011 2:07 PMHi Chad,
Please refer the link,
Edit field in alv
Regards,
Hema.
Reward points if it is useful. -
How to make fields mandatory in cost center
Hi Sap Experts,
How to make fields mandatory in cost center.
Please give me advise.
Regards,
RajIf you want to make "Profit Center" field as mandatory, then OBA5 transaction code
Application Area - KS
Number 096
make this as error for online and batch input. Then profit center will become mandatory. -
How to make several pushbuttons in one line (on screen)??
How to make several pushbuttons in one line (on screen)??
thanks in advance!!!!Hi,
USE
SELECTION-SCREEN BEGIN OF BLOCK.
SELECTION-SCREEN BEGIN OF LINE.
define all buttons between this block.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK.
selection-screen
Cheers
VJ -
How to make field MRP controller optional in Cj20n
Hi All,
Please help to make field MRP controller optional in CJ20n
Cheers,
NiesHi ,
we can create a dummy MRP in system and assigne it to the required project profile so that system will not ask u to make this entry. As per my knowledge Mandetory MRP is system requirement we cant by pass it.
Rgds -
How to make fields in field group as text fields in ABAP query
Hi friends,
I a have a ABAP query 85 corresponding to infoset A205,
there is a field group in the infoset A205 and it contains some fields
but some of the fields are made as text fields ................i want to know how to make these fields in
the field group as text fields.
there is a small icon " T " on the field when it is made as a text field .
Please help me
Thanks & RegardsHi,
IF you can specify which Field Catalog then it will be useful for us to provide appropriate answer.
1. For Customer Master
IMG> Financial Accounting New> Acs Recev and Acs Payable --> Customer Accounts --> Master Data --> Preperation of creating customer master Data --> Define Account Groups with screen layout (customers)
In that you can create your own account group, and click Details Screen.
There will Field Status header within that are listed three main areas
General data
Company code data
Sales data
When you double click these lines it will take you into "Status Group" Overview. Wherein under "Select Group" are listed fields Address, communiucation.... Double click on one group , you will bet aken into the group field wherein you will find 4 colums with indicators assigned to it. ( Suppress, Req. Entry, Opt Entry, Display) you can choose the required option. "Req. Entry" against the field. Click save after you complete your selections.
2. Similarly you can do for Material Master in
IMG --> Logistics General --> Material Master --> Field Selection --> Maintain Field Selection for Data Screens
But be careful when you do it for material master as it is cuts across all the modules...
Regards
Sathya -
How to make default personalization options for users
Hi all,
How can I make default personalization options for users, so that those will the default options when the user opens the portal BSP applications. Those will be the standard, at later point of time if they want they can personlalize some other fields, but earlier fields will be the default fields and user cant be able to change them.
Thanks
MurthyHi Murthy,
If you use IMG (crmc_blueprint_c) to customize PCUI appl than you can use the personalization feature. If you select 'Not in List' in the IMG for the field in the fieldgroup structure, than this field by default will not be viewable in the List View and will not be checked as 'Visible' in the Personilzation link. So by not selecting 'Not in List' you are giving that field to be viewable and all other fields are available for users to personalize by default.
If you have maintained the 'List View' using the CRM Designer, than most likely you would lose the above feature, as SAP Standard code considers the CRM Designer as high level of customization.
Thanks
Harsh -
How to Make Field/InfoObject Required Entry/Mandatory in DataSel of IPackag
Hi All,
How to make InfoObject or field as required/Mandatory Entry in the Data Selection TAB of InfoPackage.(Flat File Extraction)
Actually I have already Checked Selection Option of my required fields in DataSource/Transfer Structure TAB but unable to make mandatory
Rgds,
C.V.Hi,
you can do that using an ABAP program in teh infopackage. You should write code to trigger an exception and throw a message if the selection is not given.
If it is possible to give selection by calulating a date like thing you can automate with ABAP code once again and can use it in teh process chain. -
How to make field 'profit center' as non-mandatory in Transaction F-28?
Transaction F-28 shows Profit Center field as mandatory. How to make it optional; i have already checked it in field status groups-its suppressed over there?
Field status groups are suppressed. I have also checked posting keys and posting keys assigned to the relevant Bank G/L Account.
Document splitting is inactive on my company code.
Payments can be processed through transaction code: F-26 (Incoming Payment: fast entry) without Profit Center requirement.
But at F-28 (Incoming payment), profit center is mandatory.
Any Help in this regard will be appreciated.
Thanks.
Arslan Qureshi.Thank You Karan
I have Un-checked profit center accounting at transaction OKKP, but no effect.
why can i post incoming payment through F-26 but not F-28.
Also Document type is DZ in both Transactions. its only in F-28 that it askes for Profit Center
Thanks
Arslan -
How to make fields editable in an alv tree
hi
there is an alv grid for which tree view shud also be made. The cells that are editable in the grid should also be editable in the tree.
please let me know how to make the specific cells of the tree editableafter setting the edit field in the field catalogue its bot working.
i am posting the code snippet.
please let me know what else should be done and how to add INPUT field to the fieldcat.
field-symbols: <fs_fieldcat> type lvc_s_fcat.
data: l_tabix type sy-tabix.
data: g_fieldcatalog type lvc_t_fcat,
wa_fcat like line of g_fieldcatalog.
data : hide type c value 'X'.
call function 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'RSTHIE_M'
i_client_never_display = 'X'
i_bypassing_buffer = 'X'
CHANGING
ct_fieldcat = g_fieldcatalog.
***-set table header on middle width
LOOP AT g_fieldcatalog ASSIGNING <fs_fieldcat>.
<fs_fieldcat>-FIX_COLUMN = 'X'.
<fs_fieldcat>-edit = 'X'.
ENDLOOP. -
How to make fields editable in an custom enhancement
Hi Experts,
My requirement is to perform some custom validations against a field FKONT(BSEG) at the line item level of FB60 and display appropriate message and make the incorrect field editable.
I have implemented an implicit enhancement point in include MF05AFGENJ.
The error messages are coming but I am unable to make the GL account, cost center and profit center fields editable.
Please let me know how to make the above fields editable after displaying the error message.
For reference, I have done the coding like this:
IF sy-tcode = 'FB60' .
CHECK GL_ITEMS IS NOT INITIAL.
DATA: L_COUNT TYPE I,
L_STRING TYPE STRING,
L_FKONT TYPE FIPLS,
L_TABIX TYPE SY-TABIX,
G_FLAG TYPE C.
DATA: WA_ZZFSTP LIKE ZZFSTP. "Work area for ZZFSTP table
CONSTANTS:C_MK TYPE TXJCD VALUE 'MK0000000'.
*-- Validating the Financial budget item field
IF GL_ITEMS-FKONT IS NOT INITIAL.
SELECT SINGLE FKONT
INTO L_FKONT
FROM ZFSTP
WHERE FKONT = GL_ITEMS-FKONT. "cost center
IF SY-SUBRC NE 0.
CLEAR: G_FLAG.
G_FLAG = 'X'.
MESSAGE W003(ZZFI) WITH 'Please enter 'Financial' 'Budget Item Field' DISPLAY LIKE 'E'.
EXIT.
ENDIF.
*-- Copying the first line item financial budget item field to all the line items in the internal table
DESCRIBE TABLE GL_ITEMS LINES L_COUNT.
IF L_COUNT > 1.
READ TABLE GL_ITEMS INDEX 1.
IF SY-SUBRC = 0.
CLEAR: L_FKONT.
L_FKONT = GL_ITEMS-FKONT.
*-- Assign the tax jurisdiction codes in all the line items
LOOP AT GL_ITEMS.
CLEAR: L_TABIX.
L_TABIX = SY-TABIX.
GL_ITEMS-FKONT = L_FKONT.
GL_ITEMS-TXJCD = C_MK.
*-- Copy the first financial budget item number and tax jurisdiction code MK0000000 in all line items
MODIFY GL_ITEMS INDEX L_TABIX TRANSPORTING FKONT TXJCD.
*-- Populate tax jurisdiction and FKONT financial budget item number in XBSEG table
L_TABIX = L_TABIX + 1. "top record in XBSEG is for header
READ TABLE XBSEG INDEX L_TABIX.
IF SY-SUBRC = 0.
XBSEG-FKONT = L_FKONT.
XBSEG-TXJCD = C_MK.
MODIFY XBSEG INDEX L_TABIX.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF. "describe statement
CLEAR: WA_ZZSTP.
*-- Validate the amount and GL account against the FKONT(financial budget item) number
SELECT SINGLE FKONT
ZZWRBTR
ZZHKONT
ZZKOSTL
ZZPRCTR
INTO CORRESPONDING FIELDS OF WA_ZZFSTP
FROM ZFSTP
WHERE FKONT EQ GL_ITEMS-FKONT.
IF sy-subrc EQ 0.
IF BSEG-WRBTR > WA_ZZFSTP-ZWRBTR.
CLEAR: G_FLAG.
G_FLAG = 'X'.
MESSAGE W003(ZZFI) WITH 'Amount entered' 'cannot be' 'greater than ' WA_ZFSTP-ZZWRBTR DISPLAY LIKE 'E'.
EXIT.
ELSE.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-HKONT'.
MESSAGE W003(ZZFI) WITH 'Incorrect GL account' 'number entered for' 'given financial' 'budget item number'.
EXIT.
ELSE.
*-- Check for cost center and profit center at line item level
LOOP AT GL_ITEMS.
*-- Both cost center and profit center is initial.
IF GL_ITEMS-KOSTL IS INITIAL AND GL_ITEMS-PRCTR IS INITIAL.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-PRCTR' LINE SY-STEPL.
SET CURSOR FIELD 'GL_ITEMS-KOSTL' LINE SY-STEPL.
MESSAGE W003(ZZFI) WITH 'Please enter' 'cost center' 'or' 'profit center'.
EXIT.
*-- Either cost center or profit center is initial
ELSEIF GL_ITEMS-KOSTL IS INITIAL AND GL_ITEMS-PRCTR IS NOT INITIAL.
CHECK GL_ITEMS-PRCTR NE WA_ZZFSTP-ZPRCTR.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-PRCTR' LINE SY-STEPL.
MESSAGE W003(ZZFI) WITH 'Incorrect profit' 'center entered' 'for given' 'financial budget item' DISPLAY LIKE 'E'.
EXIT.
ELSEIF GL_ITEMS-KOSTL IS NOT INITIAL AND GL_ITEMS-PRCTR IS INITIAL.
CHECK GL_ITEMS-KOSTL NE WA_ZFSTP-ZKOSTL.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-KOSTL' LINE SY-STEPL.
MESSAGE W003(ZZFI) WITH 'Incorrect cost' 'center entered' 'for given' 'financial budget item' DISPLAY LIKE 'E'.
EXIT.
ENDIF.
ENDLOOP.
ENDIF. "GL Account
ENDIF. "Amount check
ENDIF. "SY-SUBRC check
ENDIF.
EXPORT G_FLAG FROM G_FLAG TO MEMORY ID 'ZER'.
Please let me know how to make GLaccount,cost center and profit center fields editable.
Regards,
Sangeeta.Hi.. chaek the below links. may be useful to u.
Making Table control records Editable / Non-editable
Table control with both Editable and non Editable fields
Regards,
KP. -
How to make field editable in ALV tree in OOPs?
Hi Gems,
Again I need help from you all.
I am writing a program using OOPs and the uotput will be in ALV tree. I need to make a field editable in a perticular row.
I am doing it using layout but the program is giving error during
CALL METHOD CL_GUI_CFW=>FLUSH
EXCEPTIONS
CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2.
This method is returning sy-subrc = 2 and I am unable to get the output.
I am using below code to make the field editable:
DATA: LT_LAYOUT_ITEM TYPE LVC_T_LAYI,
LS_LAYOUT_ITEM TYPE LVC_S_LAYI.
LS_LAYOUT_ITEM-FIELDNAME = 'ACPCKTWRT'. "ACPCKTWRT is the field name in the Internal table
LS_LAYOUT_ITEM-EDITABLE = 'X'.
APPEND LS_LAYOUT_ITEM TO LT_LAYOUT_ITEM.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = FP_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
IS_OUTTAB_LINE = LS_TMP_FINFCNO "structure of the internal table
IS_NODE_LAYOUT =
IT_ITEM_LAYOUT = LT_LAYOUT_ITEM "Added layout to make the field editable
I_NODE_TEXT = LV_NODE_TEXT "Node text
IMPORTING
E_NEW_NODE_KEY = FP_NODE_KEY
EXCEPTIONS
RELAT_NODE_NOT_FOUND = 1
NODE_NOT_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Please help me and let me know how to get the solution.Hello
The ALV tree control is not intended for making values editable (e.g. see
[How to make ALV tree columns editable|http://sap.ittoolbox.com/groups/technical-functional/sap-abap/how-to-make-alv-tree-columns-editable-2052414])
However, if you need an editable tree control then you have to use a different class (e.g. CL_ITEM_TREE_MODEL or CL_COLUMN_TREE_MODEL) but you will not have the ALV functionality of the ALV tree control.
Regards
Uwe
Maybe you are looking for
-
"Skype Has Stopped Working" Error in Windows 7 pro...
First of all, I'm sorry if this isn't the correct area to post this. So Everything was fine until yesterday, When I was talking with a Friend of mine, Skype crashed & I haven't been able to use it since. I've tried Uninstalling & Reinstalling, I lo
-
RFC with VBA Help Needed.
Hi. I'm preety new to RFCand but I have to challenge following topic: I need to call SAP transaction MF42N from RFC. I want to pass the parametres from Excel spreadsheet or externat .csv or .txt file. Can you please provide some example code. I kno
-
Using .mat as a control in LABVIEW
Hi everyone I am interested to use .mat data as a control in my LABVIEW program. As a simple program, if I display control value on any indicator I use only one control and one indicator. Now I am interested that control value would be the same valu
-
Limiting rows displayed from user-selection on dashboard prompt
Hi, I'm looking for a way to limit the number of rows displayed after a user has made a selection using a dashboard prompt. Here is my scenario: User selects 24 periods of data using an 'In Between' dashboard prompt (i.e. Jan05-Dec06). 24 rows are re
-
Need help!! HDV question
Hey guys.. I shot a project in HDV 108060i 16:9 project brought the footage into FCPro natively.. when its time to export my project can i give them a downconverted dv 4:3 copy with sides cropped?? and a hdv 16:9 copy? the only reason i want to do th