Adding field to std screen mm01
Hi folks,
i want to add a feild( idnlf ) to mm01 transaction.iam able to add the feild, bt data is not updating in mara table.iam using enhancement mga00001.in enhancement i wrote code as:
Tables: Mara.
Data: idnlf type mara-idnlf.
if sy-ucomm = 'BU' or sy-ucomm = 'YES'.
import mara-idnlf from memory id 'IDNLF'.
move mara-idnlf to cmara-idnlf.
endif.
and in function group screen :
MODULE ASSIGN_DATA INPUT.
if sy-tcode = 'MM01' or
sy-tcode = 'MM02'.
export mara-idnlf to memory id 'IDNLF'.
endif.
ENDMODULE.
My question is if im adding custom field the data is updating.but if iam using standard field(idnlf) the data is not updating.please let me know can we add standard field and update if so how.
please do needful.
Thanks,
Neelima.N
Hi,
Did you check Re: Screen Exit for MM01.
Hope this helps you
Raj
Similar Messages
-
Adding field in pa30 screen urgent
hi all,
i am new to user exits.
and my requirement is to add a field in screen for PA30 tcode screen.
so how i can go for this .
if anyone has added fields in any SAP standard screen
then plz give me the doc regd that with screen shots if u have otherwise give me the steps.
my mail id is- [email protected]
plz i am looking urgently for it.
i will award all ur efforts.
thanks
sanjeevScreen Exit
Please remove the TDS-related input fields on the PO entry screen on the customer data tab (PO line details).
- TDS account
- TDS cost code
- TDS sub code
1. Goto Transaction Code Me21n
Fill the following fields
Enter
Give the input values in following fields from ORGDATA TAB
Purchasing org
Purchasing group
Company code
Vendor
Enter
Select Customer Data tab like following
USER EXIT : MM06E005 (Customer fields in purchasing document )
 Goto : T.Code : SMOD
 Give the Enhacement Name : MM06E005
 Click on Display
 Click on Components Push Button
 Double click on function module EXIT_SAPMM06E_016( Export Data to Customer Subscreen for Purchasing document item)
 Double click on Include ZXM06O01.
 Insert the following coding in that include
SET PARAMETER ID 'BUK' FIELD g_ekko-bukrs.
LOOP AT SCREEN.
IF screen-name = 'EKPO_CI-ISMSUBTITLE1'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>>>>>> Begin of insert CR336/BG1 >>>>>>>>>>>>>>>>>>>>>>
IF screen-name = 'G_EAN11'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*<<<<<<<<<<<<<<<<<<<<<<< End of insert CR336/BG1 <<<<<<<<<<<<<<<<<<<<<<<
*>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
IF screen-name = 'EKPO_CI-TDSACCOUNT'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'EKPO_CI-TDSCOST'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'EKPO_CI-TDSSUB'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
*>>>>>>>>>>>>>>>>>>>>>> Begin of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
IF ( screen-name = 'EKPO_CI-TDSACCOUNT'
OR screen-name = 'EKPO_CI-TDSCOST'
OR screen-name = 'EKPO_CI-TDSSUB'
OR screen-name = 'TDS_TXT_1'
OR screen-name = 'TDS_TXT_2'
OR screen-name = 'TDS_TXT_3'
OR screen-name = 'TDSACCOUNT-DESC'
OR screen-name = 'TDSCOST-DESC'
OR screen-name = 'TDSSUB-DESC' ).
IF g_ekko-bukrs(2) <> 'U6'. "not a theatrical company
screen-invisible = '1'.
screen-input = '0'.
ELSEIF g_flag = 0. "display only
screen-invisible = '0'.
screen-input = '0'.
ELSEIF g_flag = 1. "change
screen-invisible = '0'.
*>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
screen-input = '1'. "Fharook Syed
screen-input = '0'. "Fharook Syed
*>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
ENDIF.
IF screen-name = 'EKPO_CI-TDSACCOUNT'.
screen-required = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
*>>>>>>>>>>>>>>>>>>>>>> End of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
 save & activate.
 Repeat the above process in ME21N to see customer data fileds in CUSTOMER DATA tab
After the above Modifications CUSTOMER DATA is displaying like this -
Hi ,
There is a requirement to add a new field in MIRO screen.
I mean that a new field needs to be made visible.
Please let me know of how to proceed with it in SPRO.
ThanksHi,
maybe this can help you:
https://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions
Best regards. -
Adding field to standard screen in tr. FPSEC1
Hi,
I need to add customer field to standard screen in FPSEC1 transaction (screen 202,second screen in transaction (non cash choice)).
Has someone did it already?
(please don't give me general advices as "find screen exit" and so on...)
Point's will be given.
Regards.
Yossi.R.
*sorry for crosspostingHow you solved this.
I am facing same problem
Please reply. -
Adding field dynamically on screen.
Hi All,
I have to add fields dynamically on screen based on the no. of data records.
Is there any way to add field dynamically.
I need field like this:
first a check box second not editable field third editable field.
Table control is another way to solve the problem but only constraint about check box.
Please help me find out any solution.
Thanks in advance.
Piyush Mathurwrite your code as :
AT SELECTION-SCREEN OUTPUT.
for making data set 2# inactive
IF rdt1 = c_x.
LOOP AT SCREEN.
IF screen-name EQ 'S_BELNR-LOW' OR
screen-name EQ 'S_BELNR-HIGH' OR
screen-name EQ 'P_GJAHR'.
screen-input ='0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
for making data set 1# inactive
IF rdt2 = c_x.
LOOP AT SCREEN.
IF screen-name EQ 'S_BUDAT-LOW'
OR screen-name EQ 'S_BUDAT-HIGH'
OR screen-name EQ 'S_KUNNR-LOW'
OR screen-name EQ 'S_KUNNR-HIGH'
OR screen-name EQ 'RDS1'
OR screen-name EQ 'RDS2'.
screen-input ='0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
END-OF-SELECTION. -
Hello All,
Is it possible to add a field for IE05 screen?
I want to add some fields like class, characteristic etc.
Is there a screen exit or bapi for this?
Thanks.Hi,
I am asked to indicate a package for this enhancement spot and it must be a SAP package.
How can i find the correct package?
Thanks. -
Adding fields on selection screen dynamically
Hi all,
Can we add some fields to selection screen dynamically on pushbutton click?
Regards,
Dnyaneshjust have look below code
REPORT zrsdvsr1
LINE-SIZE 220
LINE-COUNT 65(5).
TYPE-POOLS : slis.
TABLES
TABLES: vbak.
DATA DECLARATIONS
Ranges
RANGES: r_posnr FOR vbap-posnr.
DATA: BEGIN OF t_veramt OCCURS 0,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
netwr TYPE vbap-netwr,
mwsbp TYPE vbap-mwsbp,
END OF t_veramt.
DATA: BEGIN OF t_disamt OCCURS 0,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
netwr TYPE vbap-netwr,
mwsbp TYPE vbap-mwsbp,
netwr_v TYPE vbap-netwr,
mwsbp_v TYPE vbap-mwsbp,
disc_val TYPE vbap-mwsbp,
END OF t_disamt.
*& ALV FIELDS
DATA : alv_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
alv_layout TYPE slis_layout_alv.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_ver RADIOBUTTON GROUP g1 USER-COMMAND rad DEFAULT 'X',
p_sab RADIOBUTTON GROUP g1 .
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln NO INTERVALS MODIF ID gr1.
PARAMETERS: p_dwfile TYPE rlgrap-filename
DEFAULT 'C:\test1.txt' MODIF ID gr2, "#EC NOTEXT
p_upfile TYPE rlgrap-filename
DEFAULT 'C:\test.txt' MODIF ID gr3. "#EC NOTEXT
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_upfile.
**************F4 Help For Input File Name****************************
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'C:\'
IMPORTING
file_name = p_upfile.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_dwfile.
**************F4 Help For Input File Name****************************
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'C:\'
IMPORTING
file_name = p_dwfile.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sab = 'X'.
IF screen-group1 = 'GR1' OR screen-group1 = 'GR2'.
screen-active = '0'.
screen-invisible = '1'.
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
MODIFY SCREEN.
ELSE.
IF screen-group1 = 'GR3'.
screen-active = '0'.
screen-invisible = '1'.
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION
START-OF-SELECTION.
Check Radio Button
IF p_ver = 'X'.
PERFORM get_details_open_so_vertex.
ELSE.
PERFORM get_details_open_so.
ENDIF.
Display the output.
PERFORM diplay_report .
regards
vinod -
Adding field/column in screen painter SE51
We are trying to add field BSEG-VBUND for transaction code FSB1 fast entry screen (program SAPMF05A screen 8503). The new column will be after CoCd. However as the image below shows, TradPart is only on the first row but is needed on all rows as the other fields are.
We tried to use grouping to include BSEG-VBUND for all rows and in screen layout editor it seems to be correct.
But, when the syntax is checked the error states BSEG-VBUND is not assigned to a loop and that it must appear in "PBO" (PROCESS BEFORE OUTPUT) and "PAI" (PROCESS AFTER INPUT).
We added BSEG-VBUND to PAI but then received the error that this is not assigned to a loop.
As a functional - not technical - consultant, I am unfamiliar with how to correct this. Any suggestions are greatly appreciated.Siripuram,
Thanks for tying to help. As I am not an ABAP programmer but just functional support, I am unfamiliar with where to make the change.
The current logic is below. Any help with this is appreicated.
PROCESS BEFORE OUTPUT.
MODULE DYNPRO_KOPF_MODIF.
MODULE STATUS_SETZEN_Z.
MODULE SCHNELLERFASSUNG.
MODULE REF_STARTZEILE_SB.
LOOP.
MODULE REF_BELEGZEILE_SB.
ENDLOOP.
MODULE REF_FUSSZEILE_SB.
PROCESS AFTER INPUT.
MODULE EXIT AT EXIT-COMMAND.
MODULE PAI_ANFANG.
FIELD BKPF-XMWST MODULE XMWST_SAKO.
LOOP.
CHAIN.
* GENERATE-BEGIN, PLEASE DO NOT DELETE
FIELD BSEG-BSCHL.
FIELD RF05A-KONTO. "&FG&C
FIELD BSEG-WRBTR MODULE STERN_BETRG ON *-INPUT.
FIELD BSEG-MWSKZ. "&F4&E
FIELD BSEG-PRCTR.
FIELD BSEG-KOSTL.
FIELD BSEG-AUFNR. "&MC&A
FIELD BSEG-BUKRS.
* GENERATE-END, PLEASE DO NOT DELETE
MODULE MWSKZ_DELETED. "Note1405100
MODULE SCHNELLERFASSUNG_KB ON CHAIN-INPUT. "Kontierungsblock
MODULE SCHNELLERFASSUNG ON CHAIN-INPUT.
MODULE MWSKZ_PRUEFEN ON CHAIN-INPUT.
MODULE WAEHRUNGSFELDER ON CHAIN-INPUT.
MODULE BETRAG_PRUEFEN ON CHAIN-INPUT.
* MODULE-BEGIN, PLEASE DO NOT DELETE
MODULE RW_PRUEFUNG_POS ON CHAIN-INPUT. "&MO&C
* MODULE-END, PLEASE DO NOT DELETE
MODULE GESCHAEFTSBEREICH.
MODULE TXJCD_PRUEFEN.
ENDCHAIN.
MODULE ZEILE_SPEICHERN.
MODULE ZEILE_KOPIEREN.
ENDLOOP.
FIELD RF05A-NEWBS MODULE MC_OBJEKT_SETZEN.
FIELD RF05A-NEWBK MODULE MC_BUKRS_PARM_SETZEN.
CHAIN.
FIELD RF05A-NEWBS.
FIELD RF05A-NEWKO.
FIELD RF05A-NEWUM.
FIELD RF05A-NEWBW.
FIELD RF05A-NEWBK.
FIELD OK-CODE.
MODULE GET_REQUESTED_LINE.
MODULE FUSSZEILE_BEARBEITEN.
ENDCHAIN.
PROCESS ON VALUE-REQUEST.
* F4-BEGIN, PLEASE DO NOT DELETE
FIELD BSEG-MWSKZ MODULE F4_MWSKZ. "&M4&E
* F4-END, PLEASE DO NOT DELETE
FIELD RF05A-NEWKO MODULE F4_NEWKO.
FIELD RF05A-NEWUM MODULE F4_NEWUM.
Any help with this is greatly appreciated. -
Adding Field on Selection Screen in Standard program
Hiiii,
We have a requirement to add a field Business Place (BUPLA) on the Selection Screen.
TCode - S_ALR_87012082, Program Name - RFKSLD00
Please give me some idea, so that i can modify this program !!
Nitin GargHii Klaus,
Okay, If as per your aspects there is no need of modify logical database, so Plz let me know how can i enhance RFKSLD00 to add Business Place.
I try to find Badi for it, but i think there is no suitable Badi findings . Plz give solution soon .
Nitin Garg
Edited by: Suhas Saha on Oct 19, 2011 2:22 PM -
Dear All,
V have a request where the client wants the Header Material No( AFKO-PLNBEZ) in the screen of co24.
presently we are getting the Matrial Text from AUFK table.
In the Trace we found that AFKO table is not accesed. But only AUFK, is being used.
Can someone suggest, how to proceed.
Thanx in Advance.
Regards
AjjuHi Ajaz,
Are you asking about how to retrive AFKO-PLNBEZ or
to add new input-field for AFKO-PLNBEZ in the screen?
This is answer to former, Tables AUFK and AFKO are linked
through AUFNR i.e. order number. AFKO-AUFNR is eferencing
AUFNR primary key of table AUFK, you can easily retrieve AFKO-PLNBEZ using this relation.
To add new field to screen you'll have to use user-exits.
I have no idea about that, but you can check txn SMOD,
CMOD.
Hope it helps you.
Regards,
Narinder Hartala -
Advanced Search Help in PCUI & adding fields to SRES screen structures
I have linked the application COMM_IBASE to the POST_CODE1 field in CRMM_ACCOUNT (SRES area - field group ACC_SRES_CITY). When the user clicks the drop-down icon next to the post code field, a new window opens which shows COMM_IBASE.
We use our IBase to hold locations/addresses.
Is it possible to set up the system such that on selection of an IBase component, relevant address fields of that component are sent back to corresponding fields in the calling application, CRMM_ACCOUNT? Namely, Post code, street, city, country, region? I think my problem might be that these fields are not available in the screen structure of the COMM_IBASE Search Results area (CRMT_BSP_IBASE_RESLIST). How should you go about extending this structure? I can't see how it can be done using the EEW in the way you would extend, say, a service order.
I have the cookbook in front of me, but am finding sections 6.1.3.2/3 a little reticent here.
Thanks,
Alex.I solved it.
It wasn't too complicated, either, so I suspect my difficulty was down to me being totally unfamiliar with the PCUI (I usually do ICWC development) and this being the first PCUI requirement I have ever been given to work on.
Anyhow, if any other newbies are interested in how I implemented advanced F4 help to integrate searching of an IBase of addresses with postcode field of BP creation, then please reply to this post and I will give details.
Alex. -
Adding a Z Field onto an SAP Std Screen
Hello Experts,
I need to add my own Z field onto an SAP Std screen. The Z field already exist in the Append stucture of the table VBAK.
How to do this? Will it come under a screen exit or field exit?
May i know if i need to go for screen programming such as loop at screen..endloop. etc.
Please explain in Tech terms(code) wih an example.
Appreciate your response with points.
Thanks
DanHi
1) Here you need only to design the dynpro using the structeu VBAK and the system'll automatically store them in VBAK table.
Could you please tell me the dynpr prog involved?
Use trx SE80:
- choose program option and insert 'SAPMV45A';
- Press display and open SCREEN node;
- Search screen 8309, do a doubleclick and press MODIFY: now you're in screen painter.
- To insert the input/output fields use the structure VBAK: in this way the headerline of VBAK'll automatically be filled. You need only to insert the code in screen flow (PBO and/or PAI) if you need to insert some controls;
2) U should consider all saving are made in update task, so it should be better you create a z-function to update your z-table and call that fm in update tusk into USEREXIT_SAVE_DOCUMENT
What is the code to do the above. Pls explian.
If you see the user-exit USEREXIT_SAVE_DOCUMENT you can see a example:
FORM USEREXIT_SAVE_DOCUMENT.
* Example:
* CALL FUNCTION 'ZZ_EXAMPLE'
* IN UPDATE TASK
* EXPORTING
* ZZTAB = ZZTAB.
ENDFORM. "USEREXIT_SAVE_DOCUMENT
So you have to create a your function module with importing parameters structurated like your Z-table, in this way you can transfer the record you need to update/insert. In the fm you insert all code you need to do the updating/inserting:
FUNCTION 'ZZ_EXAMPLE'.
MODIFY ZZTAB FROM ZZTAB.
ENDFUNCTION.
Max -
UOM (additional) field to be added to the SC screen
Hi all,
We are working on SRM 4.0.I need to add a display/output field "unit of Measure" besides the i/p field "Quantity" on the SC screen where i add the items to the SC.
Now when i select the product,the product ID gets populated in the same screen.Now based on my Product selected,i need to populate this field of "Unit of measure" and display the same on the new output field.
Can anyone tell me what needs to be done for creating this additional o/p field besides the std quantity field in the SC screen(any BADI available for this?) as well as for the UOM value to get populated in this field whcih std code need to be modified?
Any help is highly apreciated.
Thanks in advance.
BR,
Disha.Hi,
I have found that there are std BADIs available for adding custom fields..But cna anyone tell me that specifically for my reqt as mentioned,i need to add the field at the Header or item level?Also if header level,wil i be able to display this field?
Also,if i need to populate this field with soem value based on the product which i select in the initial screen,do i need to make any changes in any of the std code or just use the BADI to populate this field.
Lastly,i just need to have this field as display field.For that wil i hav to use the MODIFY SCREEN method of BADI BBP_CUF_BADI_2?Pls clarify.
BR,
Disha. -
How to restrict the fields in a std screen i.e addtional data b of va01
how to restrict the fields in a std screen i.e addtional data b of va01
certain document type
as i already added some fields in it
can u help me with the setp
With regards
rohan ShettyHi Rohan,
Can you please let us know the solution that you had, i have similar requirement?
Thanks,
Manohar. -
Adding a check box in MM01 transcation screen i am not abe see the checkbox
HI experts,
I added some checkbox's in mm01 transcation and configured the screen program and number in OMT3B the problem is i am not able see the checkbox's but i can see the labels for the check box in the screen when i am executing the mm02 transcation.
urgent requirement.Hi Santosh,
When you are importing from data dictionary , please try the following
(1)in screen painter once you click the import from dictionary
(a) select the field you want as checkbox
(b) you can see if you scroll sideways an option like
Radiobutton/checkbox etc for the same field
(c) Choose the checkbox option
(d) use the "Tick" on the table control
(e) Drag and drop to your screen
(2) Activate your screen
(3) Run the transaction again
Please let me know if it solves the problem
Regards
Byju
Maybe you are looking for
-
Internal drive wont let me set to Read & Write
Ok story here is, I had Mac OS X 10.4.8 running on the stock 30GB Maxtor and had a 80GB Seagate running as storage for a while. I decieded "I have enough space on the 80GB for Mac OS why not use it? I upgraded to a 80B Seagate Barracuda hard drive, s
-
How to download a service object attachment to app server?
I found some postings / blogs to download an attachment (service objects). This tells to download to local drive or to a mapped network drive . How do I download to an applications erver? Thanks, Ven
-
Hi, I m new to illustrators. Is it possible to create a plugin/template in Illustrator cs2(xcode)? Or can we build and run the sample code from illustrator cs3 in illustrator cs2? Is this possible? Thanks in advance.
-
Hi, We are using WebLogic 8.1 SP6 in Solaris (Solaris 10 1/06 s10s_u1wos_19a SPARC). JDK 1.4_11. We have a clustered environment using two physical servers, with two WebLogic servers per physical server, making a cluster composed by a total of four s
-
PCI video card replacement for PowerMac G3 (Blue and White)
Hi, I am new to this forum. I apologize if this issue has been addressed before, but I have been reading over the forum for the last 2 days and tried all the steps I could find. I have an old PowerMac G3 (Blue and White). It used to run fine. I had a