Adding New fields to field catalog
Hi friends, i have comeup with a requirement. its related to output determination. the output have to be sent based on certain criteria. for this we decided to create a new condition table(Acess) and add it in the Access sequence. To create a condition table we need to select the fields from the "Field Catalog". so for this the field should be avilable in the field catalog. Since the field we are going to use is a new Zfield the field is not avilable in the "Output field Catalog".
What to be done to make the field avilable in the 'Output field catalog'
Can anyone give some input on this? Thanks in advance.
Hi Srini,
Following are the activities.
1. Find out what are the output communication structures involved in that output condition table. To find that, go to field catalog, and enter a new field called "test". Then it will give you a message "The field test is not a part of the communication structures KOMB, KOMPBV* KOMKBV*where * equals 1, 2 or 3 based on whether the output is for order, delivery or billing documents. For delivery document it is KOMPBV2, KOMKBV2 and KOMB.
2. Now having known the communication structures for the field catalog, go to all these structures in SE11 and append these structures with a new field say ZZ_SOLD TO PARTY with the relevant data element and domain.
3. To populate the field while doing transactions, you have to represent this field by a foreign key which is a field from transaction say LIKP_KUNAG for a delivery output.This coding takes place in a user exit. The correct user exit has to be found. Once this is done, the new field is ready for input and it will be available in the list of allowed fields in the field catalogue.
4.Now you can create a condition table using the new field and use it as one of the accesses in access seq.
Please assign reward points if this info is helpful to you.
Similar Messages
-
Having problems when adding new Curency value field + currency field.
I need to add a new Currency field (CURR, length 15, 2 decimal places) plus the Currency field itself to a view.
I'm really struggerling. I have looked at the existing SAP fields in the Component workbench and I have to admit I can not see how a field is linked/related to the currency itself. Is this link established purlely at the disctionary level?.
Has anyone added their own Z field value and Z currency field before. I can create both fields and display them, but what I can not work out is how I related them within the component workbench, or is this done from the dictionary?.
Any help would be greatly appreciated.
I should have been able to look at an existing SAP example and work out how it's done, but so far I can not see/determine how this is achieved, even though someone has mentioned that it's controlled via the GET_I_field method. Looking at this method I was expecting to see some mention of both the Currency value field and the Currency field. But as I don't see these confusion reigns.
JasonThat's correct, but am I right in thinking that you can't actually create the currency key field itself?.
I am aware that currency value fields can be created which reference a currency key field, but can see nothing that allows me to create a currency key field to be referenced.
I hope that makes sense.
Also, I have amended the structure, changing my value fields from Decimal 15,2 to Currency 15,2 and have created a new currency key field in the structure and referenced this from the Currency value field.
Witin the Component/view/context node I can see this new currency key field, but it appears as STRUCT.fieldlabel whereas my currency value field appears in the context node as EXT.fieldlabel, because it was created in the AET.
My problem is that when attempting to add the currency key field onto the screen I don't have it to select from within the list of structures/attributes. All the others attributes in the context node seem to be there, except the new currency key field/attribute.
The attribute has a SET_fieldlabel, GET_fieldlabel, GET_M_Fieldlabel and a GET_I_Fieldlabel, which I believe is all that should be required.
Does anyone know what my problem could be?.
Jason -
Adding new object type (field BKPF-AWKEY) for BAPI posting
Hi everyone,
I am posting to SAP GL using an input file to read the data and transfer it to BKPF and BSEG tables.
The problem is I have to use BAPI_ACC_DOCUMENT_POST, and it expects values for OBJ_KEY and OBJ_TYPE.. For now, OBJ_TYPE creates a problem, because if I use BKPF, it says it cannot post using this object type, as it is for SAP internal use only.
Does anyone know how to add a new object type for the customer namespace, which can be manually used for this kind of posting? I know that the new entry must be made in tables TTYP, TTYPT, and possibly TTYPV, for which the maintainence view exists: V_TTYPV.
How to add an entry here, or where can I find it in customizing?
All helpful answers will be awarded.
Thank you very much
Srdjanperform fill_internal_tables.
if check_l = 'X'.
call function 'BAPI_ACC_DOCUMENT_CHECK'
destination dest
exporting
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
tables
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
return = it_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
extension2 = it_ext2
realestate = it_re.
write: / 'Result of check lines:'. "#EC NOTEXT
perform show_messages.
endif.
if check_a = 'X'.
call function 'BAPI_ACC_DOCUMENT_CHECK'
destination dest
exporting
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
tables
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
return = it_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
extension2 = it_ext2
realestate = it_re.
write: / 'Result of check all:'. "#EC NOTEXT
perform show_messages.
endif.
if post = 'X'.
data: l_type like gd_documentheader-obj_type,
l_key like gd_documentheader-obj_key,
l_sys like gd_documentheader-obj_sys.
if dest = space or
dest = gd_documentheader-obj_sys.
post synchron
call function 'BAPI_ACC_DOCUMENT_POST'
exporting
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
importing
obj_type = l_type
obj_key = l_key
obj_sys = l_sys
tables
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
return = it_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
extension2 = it_ext2
realestate = it_re.
write: / 'Result of post:'. "#EC NOTEXT
perform show_messages.
else.
create Idoc
it_receivers-logsys = dest.
append it_receivers.
call function 'ALE_ACC_DOCUMENT_POST'
exporting
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
tables
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
paymentcard = it_paymentcard
contractitem = it_fica_it
extension2 = it_ext2
realestate = it_re
receivers = it_receivers
COMMUNICATION_DOCUMENTS =
APPLICATION_OBJECTS =
exceptions
error_creating_idocs = 1
others = 2 .
if sy-subrc = 0.
write: / 'IDoc created'. "#EC NOTEXT
else.
write: sy-msgid.
endif.
endif.
endif.
if rev_p = 'X' or rev_c = 'X'.
data: rev like bapiacrev,
rev_key like ref_key.
rev_key = ref_key.
rev_key(1) = 'R'.
rev-obj_type = gd_documentheader-obj_type.
rev-obj_key = rev_key.
rev-obj_sys = gd_documentheader-obj_sys.
rev-obj_key_r = ref_key.
if rev_c is initial.
if dest = space or
dest = gd_documentheader-obj_sys.
call function 'BAPI_ACC_DOCUMENT_REV_POST'
exporting
reversal = rev
bus_act = gd_documentheader-bus_act
tables
return = it_return.
else.
it_receivers-logsys = dest.
append it_receivers.
call function 'ALE_ACC_DOCUMENT_REV_POST'
exporting
reversal = rev
busact = gd_documentheader-bus_act
OBJ_TYPE = 'BUS6035'
SERIAL_ID = '0'
tables
receivers = it_receivers
COMMUNICATION_DOCUMENTS =
APPLICATION_OBJECTS =
exceptions
error_creating_idocs = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
write: / 'IDoc created'. "#EC NOTEXT
endif.
endif.
else.
call function 'BAPI_ACC_DOCUMENT_REV_CHECK'
exporting
reversal = rev
bus_act = gd_documentheader-bus_act
tables
return = it_return.
endif.
write: / 'Result of Reversal Posting:'. "#EC NOTEXT
perform show_messages.
endif.
commit work.
chk this
Give points if useful -
Adding new field to MB51 screen output
Hi All,
I need to add a new field TCODE2 from MKPF table on the screen output of MB51. I have added my new field thro SPRO following the below steps:-
Go to SPRO -- MM -- Inventory Management and Physical Inventory -- Reporting -- Define Field Selection for Material Document List
Here I have give
RM07DOCS MKPF TCODE2 Transaction code -- output box checked
and saved.
Now I tried to re-execute the transaction MB51 but not able to see the Tcode2 on the output screen .
Can any one help me out, if I am missing out something or is there any thing else i need to check on the ALV output to see the field TCODE2 on the screen og MB51?
Regards
Shilpa.Hi,
Check these notes:
Note 357187 - MB51: Fields in field catalog / selection screen
Note 828104 - Enhancing MB51 for AFS
I hope this helps you
Regards
Eduardo -
New field in field catalog in output
How can I add new field in field catalog in Output determination. I heard it can be done through a user exit. Can somebofd help with the user exit name.
if you want to use new field in output determination - you need to modify corresponding communication structure (KOMKBV1 - header structure for V1 application - like sales orders, contracts,...)
Then in RVCOMFZZ in one of the userexits you can populate those fields.
After your fields are added to KOMKBV1 - you can use them in output determination. -
Adding new field in the table for Output
Hi ,
I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
regards,
RaguHi Refer below link on sdn for adding new Field
Adding New Field to Catalog
Adding New fields to field catalog -
Adding item level field to field catalog for a PPF for Outbound Delivery
Hi,
We wish to send a method call to an external system at the time of PGI of the Outbound Delivery Order for the combination of Product/Ship To combination.
Since Product is at item level and not in the standard field catalog, I added it to the field catalog in config, defined a new condition table, access sequence, condition type and maintained it in the right Procedure/Maintenance Group (Outbound Delivery).
Then I defined a new Action Definition, with a new method to send the details to the external system, but am confused on what Schedule Condition I should assign to this Action Definition. If I use standard Outbound Delivery Printing Schedule Condition /SCWM/FDO_PRINT, the PPF only triggers when I use the standard condition type 0DDN with the standard Access Sequence (no Product available). However if I use the new condition type (with product) with the same Schedule condition: /SCWM/FDO_PRINT, the PPF does not get triggered. The log in SLG1 simply says Condition is not fulfilled.
Can you please suggest
Do I need to work with my developer on building a new schedule condition which would look at the new condition technique I have condition records for? Or is there a non ABAP way of making this work?
Lastly, if my ODO has 5 items with only 2 products which have condition record, I want the PPF to be triggered 2 times for that Outbound Delivery.Hi Experts,
Any update on the above request? -
Adding 'Your Reference'(VBKD-IHREZ) field to Field catalog in Output determ
The requirement is maintaining the condition table using Sales Org/Sales Doc Type/Your reference in output determination process. But the field 'Your reference(VBKD-IHREZ)' is not in the field catalog. Can someone tell me how to add the VBKD-IHREZ to field catalog?
Thanks in Advance.Hey,
You can find intructions for adding fields to field catalog from this link: http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm -
How to add new field to Field Catalog in Pricing?
I want to create new field in field catalog (i.e. Average Supply Quantity), and then populate it to Web UI (user must enter value in this field for calculate price in opporunity). What actions I need to do for this?
Hi Pavel,
Fields added to field catalog are to define condition table.
Go to SPRO->CRM->BAsic Functions->Pricing->Define Settings for Pricing->Maintain Field Catalog.
Create the attribute in field catalog with below parameters,
Field Type = 'I' ( item field ) if its header field then it should be H and corresponding structure is CRMT_ACS_H_COM
Implementation type = ' '
Enter field name
Virtual = 'C'
Visibility = ' '
Selection type = 'A'
Enter the data element
Now save the field catalog and click generate.
The next step is to pass value to the field in order to do pricing. This should be done in CRM_COND_COM_BADI. If the field is a
header field then assign value to the field in method HEADER_COMMUNICATION_STRUCTURE else use method ITEM_COMMUNICATION STRUCTURE. You will find the attribute in importing structure of the both the methods. Assign value (i.e. Average Supply Quantity) to the field.
Regards,
Arun -
Add a new field in field catalog of Material exclusion & inclusion.
Hi All,
I want to add a new field in field catlog Material exclusion & inclusion.
Filed to be added-
Field:MVKE-PRAT6.
Please help me ot add the same.
Thank you
RKMACCHi,
You need to go for enhancement,use the exit MV45AFZZ to include into the field catalog,take the help of ABAPer.
Regards
Ram -
Hi All,
I am adding new fields in the Sales Order which is required for pricing. The following steps were followed
New fields included in a structure and added into VBAP
The structure also included in the KOMPAZ .
Now I am trying to use the fields in creation of condition tables. But I am unable to see the fields in the field catalog for pricing. Can anyone help?
Regards,
Swarnacheck /add ur fields in this view
V_T681F
,then u will get.
Regards
Prabhu -
Added new field to cube but data not passed from DSO
Hope someone can help.
(BI 7.0) We added new fields into a cube. The fields already existed in the DSO. When we ran the process chain in development for the first time after making this change, we notice that the 'historical' data for these fields is populated in the cube. When we do this in our quality system only new data passed to the cube is updated. In development in the sub-chain DTP request we see all previous requests listed under selections. In quality it is only the latest request. The only difference is that the DeltaInit flag in the DTP request in development is ticked (extraction mode) - but not in quality. Does anyone know whyb this is?hi peter,
Adding fields to cube doesn't affect delta status...The delta DTP should be able to handle delta requests automatically.
I guess in you quality system, the cube already got all requests updated from ODS before you importing the change request. And in develop system none of the requests in ODS were updated before the change.
Regards,
Frank -
Added new fields in vendor master in xk01 but data is not getting saved
Hi experts,
To add new fields in vendor master i have followed the following steps :
1.) Appended a structure ZRTGS in LFA1 table with required fields and activated
2.) Added new button in xk01( vendor master ) using spro -> logistics-general -> business partner -> vendors ->
control ->adoption of customer's owaster data fields -> prepare modification free-enhancement of vendor master record
Created a screen group ZR and defined label tab pages with function code ZRTGS and saved entries
3.) Created a implementation for BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
4.) Created a program with my own subscreen for the required fields
The button is getting displayed in XK01, XK02 and XK03 respectively. Whenever the button is clicked the subscreen with
the fields is also displayed. But whenever i try to save the data in either XK01 or XK02 it is not getting saved in to the
database table LFA1.
Request your help in this regard.
Thanks in Advance.Hi,
You may need to check this include .
EXIT_SAPMM06E_008 -->Import Data from Customer Subscreen for Purchasing Document
Thanks,
vamshi -
Adding new date field to already loaded data target.
Hi,
we have a cube containing date feild such as 0CALMONTH. the data is being loaded to the cube. now they have added new date feild (0FISCYEAR). how to get data to this feild. there is no data coming from source system for this feild. please can any one tell me how to include this feild and load data into it.
with regards,
sreekanth.Sreekanth,
If Record creation date is the right field for deriving fiscal year, Why cant you derive the year from the date...by using automatioc time conversion...?? In update rules...??
For exising data, you can do loop back to populate the data. see the below doc, for more info:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f421c86c-0801-0010-e88c-a07ccdc69601
Hope it Helps
Srini
Message was edited by: Srini -
Adding new fields to Item Data - PO (ME
Hi All,
Is it possible to add new custom fields to PO Item Data in Confirmations tab and these new fields are required only in PO Change (ME22N).
How can we achieve this!
Can anybody provide feasible solution for the same!
can anybody tell me if this is possible!
Thanks in advance.
Thanks,
Deep.Hi All,
Thanks for the reply.
Can anybody confirm BADI ME_GUI_PO_CUST will acheive desired functionality for above posted issue!
Functionality: Adding new custom fields to confirmation tab. During Inbound delivery in confirmation tab (Item data) if 'Confirmation category' is selected then the new custom fields should show up below for input & they can be saved.
if 'Confirmation category' is not selected then new custom fields should be invisible.
Thanks,
Deep.
Edited by: Deep on Jul 24, 2009 4:49 AM
Edited by: Deep on Jul 24, 2009 5:05 AM
Maybe you are looking for
-
Hi, I have changed from an old laptop to a macbook air. how can i keep my music from my iPhone and sync it my macbook? Only purchased music seems to be available to sync, even though the rest of the music was uploaded from CD's on my last laptop. As
-
Clicking on links in Safari does nothing
Running OS 10.8.5 on desk top iMac. Lately, today, have found that clicking ona link in Safari does nothing. Simply stays on the same page I was viewing.
-
Can't remove LCCDaemon from LogInItems
I used to have a Logitech mouse, but removed it. Used the Logitech uninstall program to remove the software from the Logitech Control Console, however on rebooting the LCCDaemon is in the System Preferences-Accounts-Loginitems. I reinstalled the LCC
-
PUBLIC vs. SYSTEM document type id's
I am developing an XML language used to describe plot layouts for a data analysis system. Currently the dtd is stored on a web server. This will not work out, since the program that interprets the XML and produces the plot will not necessarily be abl
-
How do I apply one application for all those files/?
Now I am doing them one by one which is annoying