New Custom Field in Delivery output Communication Structure
Hello friends,
I need your help to Solve my below problem
We want the delivery output to be triggered based on the shipping point and storage location.
Storage location is at item level and is not in LIKP and hence not in KOMKBV2 (Output Comm Structure for Deliveries)
I have created a new Field ZZLGORT in the Header Strucutre and has performed thefolloiwng steps
1. Include field ZZLGORT in communication structure KOMKBV2. This is an Include that is provided for additional fields.
Add the field with the name ZZLGORT in Include KOMKBZ4.
2. In structure KOMB in Include KOMBZ, have added the same field
(same procedure as for item 1).
3. In view V_T681F, I created the same field with transaction SM31 under key B V2.
4. Program LVCOMU04 contains Perform USEREXIT_KOMKBV2_FILL. This Perform
is in program RVCOMFZZ.
Modiied the source code as follows:
FORM_USEREXIT_KOMKBV2_FILL.
COM_KBV2-ZZLGORT = item Storage location.
When i am in Debugging mode till the last minute the structure COM_KBV2-ZZLGORT is having the storage location value.
so there is no problem in the userexit logic.
5) I have created a new cond table , and assigned the table access sequence and assigned he access seq to the Delivery output type
When i created the Delivery , the output analysis screen shows that the field ZZLGORT is blank ( With exclamation Mark) and it says Access Not made (initialized Field )
can any one of you tell me what is the step i am missing out to make sure that the analysis screen has the storage location.
and also the system reading the condition record and issuing the output.
i have checked whether the output is issued by some other condition or not. no there is only condition record and its triggering that condition record but the analysis shows "Output Not found"
Can any one of you help me here please. Your immediate inputs will be of great help to me
Thanks & Regards
Srini
Hi Srini,
As per note 32662 it seems you have followed all the steps, but might be that you didn't do in proper sequence.
The note states that:
"If a new access sequence and condition table was created before the communication structure was modified, it must be deleted again. Items 1 to 5 must be carried out in the specified sequence."
So I guess the key for you would be to delete the Condition table and access and create them again.
Regards,
Ganesh
Similar Messages
-
Sample code for a custom field added to LIS Communication structure for Del
We appended a new custome field into extraction structure of the LO Cookpit datasource 2LIS_02_ITM through RSA6. And then run CMOD to write the exit code to populate the value and it works fine. But after we read Roberto's Weblog:
/people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
Find the enhancement we did can't make the Delta mechanism works if only this new field gets changed in a record, and the change cannot be reflected on BW. I know we can run SMOD on the enhancement LEINS001 to write the code for LIS Communication structure customer exit. But we have never writen such a code for LIS Communication Structure enhancement and also don't know on how to make the Delta mechanism works in the code. We would be very appreciated if some expert here can provide the sample code!
Thankshi AHP,
Have you tried Sanyam's code listed in this article you recommended?
Now our R3 team has added a custom field called ZZZ to EKKO table and I modify the code to suit our need and the code would be as following:
*& Include ZXM06U16 *
DATA: i_t_ekko LIKE ekko OCCURS 1 WITH HEADER LINE.
DATA: ebeln LIKE ekpo-ebeln,
it_ekko TYPE TABLE OF ekko WITH HEADER LINE,
old_val(50) TYPE c. "For storing the value from the Field Symbol
FIELD-SYMBOLS <fs> TYPE ANY TABLE.
CASE zeitp.
WHEN 'MA'. "When creating a purchase order
MOVE '(SAPLEINS)T_EKKO[]' TO old_val.
ASSIGN (old_val) TO <fs>.
i_t_ekko[] = <fs>.
LOOP AT xmcekko.
ebeln = xmcekko-ebeln.
IF xmcekko-supkz = '1'. "Old Value ?
SELECT SINGLE * FROM ekko INTO it_ekko WHERE ebeln = ebeln.
xmcekko-ZZZ = it_ekko-ZZZ.
ELSE. "New Value ?
READ TABLE i_t_ekko WITH KEY ebeln = ebeln.
xmcekko-ZZZ = i_t_ekko-ZZZ.
ENDIF.
MODIFY xmcekko.
ENDLOOP.
EndCase.
The compile of the above code works fine and we activated everywhere including project level. Then we set debug points in this code, and run RSA3 on 2LIS_02_ITM, but find the extraction program never reaches this code or call this user exit function EXIT_SAPLEINS_001 of this enhancement LEINS001. Any reason?
Thanks
Kevin
Message was edited by: Kevin Smith -
IPC in CRM 7.0: New customer field in item communication structure
Hi Experts,
I tried to enhance the IPC according to the known manual.
I created a new item related z-field in the item communication structure which I fill in the BadI IF_EX_CRM_COND_COM_BADI with a Char(1) value:
IF cs_acs_i_com-zfield IS INITIAL.
LOOP AT ls_prc_agrmnts_wrk-price_agreements_crm ASSIGNING <price>.
CASE <price>-kschl.
WHEN 'ZFRE'.
cs_acs_i_com-zfield = 'B'.
I also did the customizing for that new formula which is a requirement. There I added two attributes to the implementation:
-ITEM_GUID Item GUID
-ZFIELD Z-Field
and also two attributes to the formula:
-ITEM_GUID CRM_ITEM_GUID
-ZFIELD ZFIELD
I use this requirement in my pricing procedure and uploaded the jar file. My java code looks as follows:
import com.sap.spe.condmgnt.finding.userexit.RequirementAdapter;
import com.sap.spe.condmgnt.customizing.IAccess;
import com.sap.spe.condmgnt.customizing.IStep;
import com.sap.spe.condmgnt.finding.userexit.IConditionFindingManagerUserExit;
import com.sap.spe.base.logging.UserexitLogger;
public class ZFreiStBLP extends RequirementAdapter {
private static UserexitLogger userexitlogger =
new UserexitLogger(ZFreiStBLP.class);
public boolean checkRequirement(IConditionFindingManagerUserExit item,
IStep step, IAccess access) {
String item_guid = item.getAttributeValue("ITEM_GUID");
userexitlogger.writeLogDebug("Item: "
+ item_guid);
String zfield = item.getAttributeValue("ZFIELD");
userexitlogger.writeLogDebug("ZFIELD: "
+ zfield );
if (pauschale != "B"){
return pauschale.equals("");
}else
{ return pauschale.equals("X");
In SM53 i can see the logs, but the problem is that obviously only the standard field ITEM_GUID is available in the Java. Means, that for my z-field I never get a value although the BadI is called an the value is written to the communication structure.
Does anybody has an idea, why I do not get the value of that zfield in my java code?
Thanks a lot!
Regards,
MireilleHello Vinod,
I have customised complete pricing procedure but in the Quotation order we are not getting NET VALUE.
When i come accrossed with BBP_CHECK_CND_CUST In my findings i found parameter IPC_ON is missing.
I am waiting for the reply from BASIS.
Is there any functional customisation required for IPC let me know.
Best Regards,
Sathyadev -
New custom field in the POWL search criteria
Hi experts,
My requirement is to add a new custom field in the search criteria (Parameters)
In my Easy shopping card POWL. I need to add custom fields in search criteria.
I tried appending my custom fields in structure /SAPSRM/S_SEARCHFIELDS
And customized the POWL type DB criteria SAPSRM_FEEDER_SC by adding the custom field
But still the newly added search criteria is not displaying in the
Query SAPSRM_E_CHECKSTATUS_01 in powl_query transaction.
Kindly help me to solve this issue
Regards
Chinnaiya PHello Konstantin,
thanks for the reply...
I tried to add an extra Field(Company code) in POWL Search. the problem is the Field Company code doesnt get updated in BBP_PDHSC and BBP_PDISC with the value used in while creating SC.
I only get the Company code value in table BBP_PDBEI for SC.
So when i give any value in POWL search for company code no data is shown even though the SC was created in the inputted Company code.
so how to go about adding CC as search criteria in POWL so that the resultant output is filtered on the basis of CC value.
Thanks
Rajat -
Hi Experts
i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
i am doing below steps for this.
1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by using append structure.
2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
then click on "Metadata for Fields of Substructures and Table-Like Enhancements"
add the below entry
Bus. Object Set Type : I am trying 7 and 29
Structure Field Name : ZZfield
Bus. Object Type : BUS2121/BUS2201
Set Level : Item
Field Visible : Check box should be checked
Field Enable : check box should be checked
Can anyone has the idea of this?
Thanks
RohitHello Rohit,
Please create a enchancement for component /SAPSRM/WDC_UI_DO_SHIPTO.
Add new input field and label in view V_DODC_SHIPTO.
Bind the input field value with field ZZfield from structure /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
Regards,
Neelima -
ECC6.0 - Foreign Key in BSEG for new custom field
When I create a new custom field in NewGL, it is created in some tables like BSEG and others. In BSEG there is no flag in the field "Foreign Keys" (I inserted it when I set the field), while in the others tables I find the flag.
How can I solve it? I think that I have to mark the field directly in BSEG. Is it true?
Let me know
ThanksHi Srini,
As per note 32662 it seems you have followed all the steps, but might be that you didn't do in proper sequence.
The note states that:
"If a new access sequence and condition table was created before the communication structure was modified, it must be deleted again. Items 1 to 5 must be carried out in the specified sequence."
So I guess the key for you would be to delete the Condition table and access and create them again.
Regards,
Ganesh -
Issue with new Custom field value in Material UI (EHP5)
Hi
We added new Custom field (country) in material UI for Routing the WF based on country.
we added this new field in material general data, When user press the "check" button in the header the value disappeared in the UI.
This field value required only in MDG CR level, this field value will not be updated in ECC active area.
Request your inputs to solve this problem.resolved myself:
PROCESS BEFORE OUTPUT.
* Verarbeitung vor der Ausgabe
*MS17092009 Non eliminare modules standard.
MODULE set_propriety.
MODULE INIT_SUB.
MODULE GET_DATEN_SUB.
PROCESS AFTER INPUT.
* Verarbeitung nach der Eingabe
MODULE GET_DATEN_SUB.
CHAIN.
FIELD MARA-ZBARCODE.
ENDCHAIN.
MODULE SET_DATEN_SUB.
FIELD MARA-ZBARCODE MODULE BARCODE_0001 ON INPUT. -
Adding a custom field in Delivery header
HI all,
I want to add a custom field in Delivery order creation header section.
Is there any user exit to add the field in LAyout? which is the program i need to add the new field?
thanks in advance
Rakesh
points will be awardedHI chandra,
Thanks for the reply.
But I need to add a custom field 'Internal order number' to Delivery order header.
Then is there any other alternative to add the field in Screen layout?
thanks
Rakesh -
New Custom field to be created in condition records
Hi,
I have a requirement where-in there is a need to create new custom field (30 chars) as there is no standard field in condition record screen which can be used because of lenght limitation.
This new field needs to be populated from incoming inbound idoc (COND_A04).
Kindly provide me necessary changes that needs to be made to achieve this.
Thanks
RamaDear Rama,
Add this field in below structure
If field is for header than add in structure - KOMKAZ
For for item KOMPAZ
After add this new field in stcture, That field available in field catelog. Add this field in field catelog and than maintain this field in pricing table.
Also mapp this new field value in below pricing exit.
Program : MV45AFZZ
User exit for header: USEREXIT_PRICING_PREPARE_TKOMK.
User exit for item : USEREXIT_PRICING_PREPARE_ITEM
Regards,
Haresh -
Issue with the new COPA field added into the BBSEG Structure
Hello All,
I have an issue with the new COPA field added into the BBSEG Structure.
I think its added becuase of test Operationa Conern Created by somebody.
Can you please let me know how to remove that structure from BBSEG Structure.
Thanks
vsrHi Monohar & Ankur,
Thanks for your answers..
main issue is suddenly new field called RKE_COPA_KOSTL has been added to the BBESG Structure..
Because of this RFBIBL00 Upload is not working. I heard that this new fields will come by generating Operating Concerns by Transaction KEA0.I found an operating concern which was created as a test in developemt system..
But I am not sure how to delete that operating concern.Even i am not sure if we delete the Operating Concern ..is it going to delete that field in BBESG Structure or not??
Please advise me..
Thanks
sathi -
New Customer Field in CCM2.0
Hi
I need a new customer field in catalog which I want in the shopping cart as well. I have used the allready created customer fields 1-5.
Do anyone know how to create a new OCI customer fields?
Thanks in advance
Best regards
JesperHi
We have allready used the 5 standard customer fields in the catalog and want a new one.
We use the standard for
- "Asset class",
- "No control" (for workflow),
- "Approval" (for workflow),
- "GL account" (different GL account within same UNSPSC class)
- "High Level Articles" which control workflow and it is possible to change price and vendor in SC.
Then I need a new field for a responsible purchasing department (purchasing group). When a user buy an article with an responsible purchasing department the SC must be approved first before it runs the normal workflow.
For the above new fields I therefore need 6 customer fields.
The question is, can I create a new customer field or do I have to use a standard field in catalog and transfer this to a new field in SC??
Best regards
Jesper -
New custom field in lead conversion
Hi..
Can we capture new custom field in account object while converting it using the lead conversion layout. TIA
Edited by: user13260779 on Aug 22, 2011 11:33 PMYour requirement is not clear; can you please elaborate?
-
New Customer Field in Shopping Cart (SRM) with default value
We have requirement to add new Customer field in Shopping cart (SRM 4.0) and assign a default value to it.
We have added the custom field and also assigned default value 'X' to it using BADI BBP_CUF_BADI_2 method MODIFY_OUTPUT. Problem we are facing is in case user changes the value and unchecks the custom field then it gets overwritten by default value once the shopping cart is saved. We have followed steps mentioned in link below in order to add custom field and populate it.
/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm
KR Jaideep,Dear Poster
Your thread has had no response since it's creation over
2 weeks ago, therefore, I recommend that you either:
- Rephrase the question.
- Provide additional Information to prompt a response.
- Close the thread if the answer is already known.
Thank you for your compliance in this regard.
Jason Boggans
SAP SRM SDN Moderator -
Addtion of new custom field in PP order
Hi All,
I am looking forward to add a new custom field in PP order and to link it with table AUFK in the existing tabs of PP order.
I dont want to use any existing field. Also I have only have an option of having a new custom tab with the new field altogether which I dont want to use.
Please help if possible how can I accomplish it.
Rg,
VipulHi Vipul,
Nobody works in all areas and nobody gives instant solutions to each problem. I told you in my first reply that we have done similar devlopment in material master..not in prod order and i clearly mentioned that possibilty is there.
Your Abaper might not be able to develop this because this is not easy and you also might not be able to give correct functional logic.
Regards
Tajuddin -
Addign new customer field in Shopping cart SRM with default value
We have requirement to add new Customer field in Shopping cart (SRM 4.0) and assign a default value to it.
We have added the custom field and also assigned default value 'X' to it using BADI BBP_CUF_BADI_2 method MODIFY_OUTPUT. Problem we are facing is in case user changes the value and unchecks the custom field then it gets overwritten by default value once the shopping cart is saved. We have followed steps mentioned in link below in order to add custom field and populate it.
[/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm|/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm]
KR Jaideep,Hi,
In badi BBP_CUF_BADI_2, method MODIFY_OUTPUT,
are you doing something like this?
CASE IV_FIELDNAME.
WHEN 'YOUR_CUSTOM_FIELD'.
IF IV_VALUE IS INITIAL.
MOVE 'YOUR_DEFAULT_VALUE' TO EV_VALUE.
ENDIF.
ENDCASE.
Best regards.
Edited by: Pablo Casamayor on Jul 23, 2009 12:32 PM
Maybe you are looking for
-
IPhone 4 Photos Accelerometer not working
I just received a new iPhone 4 and the Photos application appears to ignore the accelerometer and is always stuck in portrait mode. All other apps work fine, just Photos is not working. This is a new phone setup, not a restore from a previous phone.
-
I upgraded to 50gb last night from 20gb , I have realised I don't need this extra storage , how do I downgrade to 20 again and get a refund
-
Generating a report for non-existent apps?
I have 200+ machines on my network and manage mostly through ARD, I am trying to figure out a way to generate a list of computers that DO NOT have a specified app installed. Can this be achieved through either ARD, AppleScript or a combination of bot
-
How do I download to adobe flash player to my samsung galaxy tab 2 10.1?
How do I download adobe flash player on my Samsung galaxy tab 2 10.1 so I can download jigsawpuzzles from various sebsites...M
-
Understand OlapQueryLog Dataset
Hi everybody, I would like to create manuals aggregations to improve some MDX requests. (in SSRS Reports) When I'm reading OlapQueryLog table, i see this Dataset: 10000011001000000,00000000000000000000.... 1000002300400.... The first dimension is a t