Regenerate IDOC for EEWB fields
Hi All
I have added a new field via EEWB and regenerated the IDOC using transaction BDFG (to ensure that the new field appears in the IDOC for population).
In the new message type, I see the additional field added there. I tried testing the IDOC in WE19 by populating the new field - record created but the new field's value doesnt get populated in CRMD_ORDER.
Have I missed a step for mapping - user exit? Please help.. points will be rewarded.
Thanks,
NS
Hi NS,
You need to add XIF site in site admin (SMOEAC).
Then you also need to maintain partner profiles for IDoc exchange. Atleast for this process you need inbound mapping to be defined (WE20).
CRMXIF_ORDER_SAVE should allow you to load business transaction. For the usage, you can refer to txn BDLR where some sample are given for product and partners.
Regards,
Surendar
Similar Messages
-
Trigger IDOC for ADDRESS FIELDS IN DEBMAS06
Hi
i have extended DEBMAS06 and added two new segments:
1) ZE1KNA1M (streetnumber2,3,4,PO_BOX_CTY,PO_BOX_REG
2) ZE1KNVKM.(email and fax from table ADR6 and ADR3 respectively)
now for change in the above fields IDOC has to be triggered using change pointers....may i know how to activate change pointers for these fields?Hi moorthy,
sending DEBMAS IDOCs via TA BD12 ( Report RBDSEDEB ) will generate an ADRMAS IDOC.
Have a look on the source code - inside FM MASTERIDOC_CREATE_REQ_DEBMAS there is another call of FM MASTERIDOC_CREATE_REQ_ADRMAS.
Regards
REA -
Copy Control for EEWB fields not working
Hi Experts,
I have added one custom field to CRMD_ORDERAM_H using EEWB, now i want this field to be copied from Quotation to Sales order. I have tried with the following options:
1. Created new implementation Ztest for the Badi CRM_COPY_BADI with new filter value.
2. Assigned the implementataion in Copy control for transaction types.
3. Badi is getting triggered, but I am not able to copy the value to the sales order.
I have written the following code in ORDERADM_H method:
METHOD if_ex_crm_copy_badi~orderadm_h.
constants
INCLUDE crm_object_kinds_con.
INCLUDE crm_object_names_con.
INCLUDE crm_appointment_types_con.
local data
DATA:
ls_orderadm_h_com TYPE crmt_orderadm_h_com,
lv_allowed TYPE crmt_boolean,
lv_ref_kind TYPE crmt_object_kind,
ls_input_field_names TYPE crmt_input_field_names,
lt_input_field_names TYPE crmt_input_field_names_tab.
IF cs_orderadm_h is not INITIAL.
lv_ref_kind = gc_object_ref_kind-orderadm_h.
CALL FUNCTION 'CRM_ORDERADM_H_OBJ_ALLOWED_OW'
EXPORTING
iv_ref_guid = cs_orderadm_h-guid
iv_objectname = gc_object_name-orderadm_h
IMPORTING
ev_allowed = lv_allowed
EXCEPTIONS
admin_header_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0 OR lv_allowed <> 'X'.
nothing to do
RETURN.
ENDIF.
CLEAR ls_input_field_names.
CLEAR lt_input_field_names[].
ls_input_field_names-fieldname = 'ZZDEP2PVNDPGM'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
ls_orderadm_h_com-guid = cs_orderadm_h-guid.
ls_orderadm_h_com-ZZDEP2PVNDPGM = is_ref_orderadm_h-ZZDEP2PVNDPGM.
CALL FUNCTION 'CRM_ORDERADM_H_MAINTAIN_OW'
EXPORTING
is_orderadm_h_com = ls_orderadm_h_com
IV_EXTERNAL_CALL = FALSE
IMPORTING
EV_GUID = cs_orderadm_h-guid
CHANGING
ct_input_field_names = lt_input_field_names
CT_DOC_LINKS =
CT_DOC_FLOW_FIELD_NAMES =
EXCEPTIONS
HEADER_CREATE_ERROR = 1
HEADER_CHANGE_ERROR = 2
PARAMETER_ERROR = 3
PROCESS_TYPE_ERROR = 4
DELETION_NOT_ALLOWED = 5
NO_AUTHORITY = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDMETHOD.
able to get the values to ls_orderadm_h_com and lt_input_field_names, but the value is not getting copied.
Any idea on this?
Thanks in advance.
Regards,
S ReddyHi Reddy,
You don't need to call functions like 'CRM_ORDERADM_H_MAINTAIN_OW' to update that attributes.
All you have to do is to fill changing structure CS_ORDERADM_H that belongs to your target document, with the values you desire (the value for ZZDEP2PVNDPGM field for example). Then fill changing structure CT_INPUT_FIELD_NAMES with the field names that you want to update ('ZZDEP2PVNDPGM' for example).
Kind regards,
Garcia -
Sending idocs for custom field
Hi
I need to send idocs when i save the data in field , the idocs should be send automatically when the data saved to field, please provide the solution.
Thanks
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Jun 23, 2011 9:17 AMHi
In case you have created a structure for your custom fields and added it to the standard table then you would be looking for a user exit so that the data entered in those fields from the MM01 or MM02 screen gets stored into the database.
Over there you can trigger a custom event and start your approval workflow.
If the approval is given then set a parameter say Approval as X in the workflow.
Read the workflow container in your exit for this container element and if its value is X,then move the corresponding data to the desired structure or else clear it.
Lets say you have added fields in CJ01 and it has two exits for storing the data in database.PROJ is the table and custom fields added in CI_PROJ
EXIT_SAPLCJWB_002
move-corresponding sap_proj_imp to proj.
EXIT_SAPLCJWB_003 :
call F.M. swe_event create
wait for say a particular time limit after which it should be considered as auto rejected read workflow container for this approval value
if X
move-corresponding proj to cnci_proj_exp.
else.
fire another event to cancel the workflow.
endif.
I am not sure this would be an appropriate way but could be tried. -
hi all,
is their any IDOC which containes list of below fields
1) Delivery Document Number
2) Document Date
3) Delivery Ship To Number
4) Ship To Name
5) Ship to Address
6) Delivery pertinent text
7) Planned Goods Issue Date
8) Shipment Reference Number
9) Delivery Item
10) Material Number
11) Material Description
12) Unit
13) Serial Number
14) Plant
15) Storage Location
16) Requested delivery datehi prabhu,
can u map and show me fields with respect to the segments for the above mentioned fields -
Idoc not Trigerring for Change Pointers in CREMAS only for 2 fields
Hi All,
I am trying to trigger the Idoc for 2 fields ( Contact Person First Name & last Name) KNVK-NAMEV and KNVK-NAME1. I have maintained the fields in BD52. Whenever I change the fields, entries get created in CDHDR, CDPOS and BDCP. But the Idloc doesnt get triggerred. But if I change any other fields of LFA1 or LFB1 for the same vendor, the Idoc gets created. Can anybody please help out on this?
Thanks,
GeethaHi,
Just check after executing the program "RBDMIDOC" idocs getting triggered or not.
Thanks,
Asit Purbey. -
LFA1 Table fields are not updated via IDOC for particular vendors
Hello,
We have a scenario where some of the additional vendor fields in transaction xk02 should be updated via inbound IDOC.
The IDOC segments have the corresponding vendor field values in it.
For particular vendors, the updation is not taking place for those fields.
What could be the possible reason. Kindly help me with this.Hello,
that may be due to customizing.
You should check with functional consultant.
Regards -
Implementation of F4 value help for a search field which is an EEWB field
Hi...
I am trying to create a F4 value help for a search field which is an eewb field.The f4 value help jus need to be a pop up containing the values of the field existing in the system.Since this is a search field the GET_V method cannot be used. I tried implementing it by creating a search help and then using it in the GET_DQUERY_VALUEHELPS method.But the problem when u use the search help is that all the values including the null values and duplicate entries will be populated when f4 is clicked.Is there any way to filter the values that get populated when f4 is clicked?If any other method can be used to implement the functionality please let me know..Thanks in advance....Hi,
the GET_V methods worked for me most of the time. Even in advanced searchs. Only time they do not is if there is a different aproach considered in the GET_DQUERY_VALUEHELPS.
As the GET_V_ you created obviously was called I suppose you found the correct place to Populate it to be used in the search.
I do not know what the problem with the NULL values and duplicate entries is you talked about, but it sounds to me the creation of your valuehelp class is flawed. Not the integration into the UI.
Maybe have a look at SAPs' standard implementations of Search Components. You should get a feeling for how search helps work. See. BT111S_OPPT, BP_HEAD_SEARCH
cheers Carsten -
Segment for the field EBORT in the Idoc BOMMAT04
Hi Experts,
I want to post the field EBORT(description:Installation Point for Subitem) through
the Idoc BOMMAT04 so please may I know the segment in this Idoc for this particular feild.
Regards,
Kiran.Hi,
the field EBORT is in the chile segment
<b>E1STPUM Master BOM sub-item</b>
You yourself can search in WE30 entering the IDOC name type
regards,
nazeer -
Batch Number field in IDoc for Process Orders (message type LOIPRO01)
Hello PP experts,
Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
There is a segment-field in this IDoc E1RESBL-CHARG which has description of "Batch Number"
We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type, so not on the component level.
Can anyone here verify:
1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number? If Yes, how do we populate that for in the IDoc? --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB. We need batch from AFPO and just created a lookup using the Process Order Number as import param
-
BP EEWB field in CRM to ECC zfield in KAN1
Hello all ..
I have added few custom fields to BP through EEWB and want them to replicate to ECC .
Here are the steps I followed ...
We are on CRM 5.0 and ECC 6.0
1) Added the fields in same order as EEWB in BSS_CENTIX (component type GB_BAPIUPD ) and BSS_CENTI ( data element/domain same as in BUT000) in ECC
2) Maintained table TBE24, Create a product and mark it active in ECC.
Maintained table TBE34 for the event DE_BALE with same product and Function module = Z_INTERFACE_DE_BALE
( copy of SAMPLE_INTERFACE_DE_BALE ) in ECC
3) I wrote the code in Z_INTERFACE_DE_BALE and mapped the custom fields to structures in the CT_IDOC_DATA.
I have mapped custom field/Z field in KNA1 to the eewb field in Z_INTERFACE_DE_BALE like this...
extended the Idoc i.e added a custom segment ZE1KNA1M under E1KNA1M
But still the field is not getting replicated. ( though eewb fields are replicated to standard fields in Kna1)
Hope Iu2019m clear with my question.
Thanks in advance.Hi Aday,
We have similar kind of requirement. Would like to know whether you are using BDOC to transfer BP created in CRM to R3? In this function module Z_INTERFACE_DE_BALE, if we populate the idoc structure for the required fields will it update the customer with required field information.
Thanks in advance. Your help is highly required.
Regads,
Ranadev -
Dear Friends,
I am trying to transfer data of purhcase order (ME21) (with header and item details) from one client to another client.
I am using idoc ORDERS05 for updating the data.
But i am unable to map the fields of the ME21 to the fields of segments of the idoc ORDERS05.
Note: I am using these fields of me21.
*header details
ekko-ebeln. "Purchasing document
ekko-bukrs. "company code
ekko-bsart. " Purchasing Document Type
ekko-ekgrp. " Purchasing Group
ekko-ekorg . " Purchasing Organization
ekko-lifnr. " Vendor Account Number
ekko-aedat. "date on Which Record Was Created
ekko-pincr. "Item Number Interval
ekko-spras. "language
ekko-zterm. "Terms of Payment Key
ekko-waers. "Currency Key
*item fields
ekpo-ebelp. "Item Number of Purchasing Document
ekpo-ematn. " Material Number
ekpo-txz01. " Long Material Number for MATERIAL Field
ekpo-werks. "Plant
ekpo-lgort. " Storage Location
ekpo-matkl. " Material Group
ekpo-menge. " Purchase Order Quantity
ekpo-meins. " Purchase Order Unit of Measure
ekpo-netpr. "Currency amount
pls help.
Regards,
Vinod Kumar.Hi
chek with currect version of Message type,if it's not in message type do customise segement's.
cheers
venu -
Creation of multiple nodes in target IDOC as per field from sender file
Hi SapAll.
here i have got a requirement in an File To Idoc Interface.
the requirement is there will be one field under sender file which will be repeating for multiple records(ItemCount),here pi need to check the value of this field for each record and if the value is 'x' THEN it should create the target node under idoc for the same no .of times as the occurance of this field(if the condition is true).
i just used the if Condition,text function(Equals) in the message mapping but it was not working for the
Case 1 :
if the condition in the first record fails but if it passes for the remaining records its not creating for the remaining records as it fails for the first record itself
Case 2: it is only working when the condition for the first record is sucess .
can any body help me in this.
regards.
VarmaCould be a problem of context, are you queue display is in one context or different context. You can use the SplitByvalue
regards,
lpbuff -
Mass maintainenance of material master for the field MARC-NCOST,SOBSK
Hi
While maintaining two fields NCOST and SOBSK for hude materials using MM17 transaction, the transaction executed properly while saving the transaction. There is no warning and error messages for all materials. But it was not updated in material master or in tables. for other field relavent to MRP updated correctly.
when I am maintaining manually for each material it is taking the value update the same.
Please explain the problem why it was not updating and let me know the solution.
Regards
KishoreHi,
Thanks for ur response.
I am getting green light. Please note the application message given below.
"The material cannot be maintained since no maintainable data transferred
Message no. MG160
Diagnosis
You wanted to maintain an existing material master record as follows:
By changing it
However, you have not yet maintained the material master record for the organizational levels and data fields specified, or user departments selected. You can therefore process this data only in Create mode.
By extending it
However, you have already fully created the material master record for the organizational levels and data fields specified, or user departments selected. You can therefore process this data only in Change mode.
In both cases, this message can appear if there is no maintainable user department left. This occurs if you have not set the Check required fields indicator when transferring data (program RMDATIND). Although the absence of an entry in required fields does not then necessarily result in an error, the number of maintainable user departments is reduced accordingly.
Procedure
Depending on the cause, maintain the material master record in Create or Change mode, or also transfer the missing required fields."
where can I find IDoc list for this transaction.
Regards
Kishore -
Creation of Inbound Idoc for the Outbound Idoc in same client
Hi,
My requirement:
Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
I found there is a field for function module in WE21,can this be used to get the requirement done.
Please suggest.
Regards,
AmarExample of a program that create and post an inbound idoc....maybe that will help you:
report zzinbound_idoc.
data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
data: g_edidd like edi_dd40 occurs 0 with header line.
data: g_e1bpache09 like e1bpache09.
parameter: mode type c default 'A'.
refresh: g_idoc_control_record, g_edidd.
clear: g_idoc_control_record, g_edidd.
*-Build Control Record -*
g_idoc_control_record-mestyp = 'ACC_DOCUMENT'. "Message type
g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
g_idoc_control_record-direct = '2'. "Direction
* Receiver
case sy-sysid.
when 'DE2'.
g_idoc_control_record-rcvpor = 'SAPDE2'. "Port
g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
endcase.
g_idoc_control_record-rcvprt = 'LS'. "Partner type
g_idoc_control_record-rcvpfc = ''. "Partner function
* Sender
g_idoc_control_record-sndpor = 'A000000002'. "tRFC Port
case sy-sysid.
when 'DE2'.
g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
endcase.
g_idoc_control_record-sndprt = 'LS'. "Partner type
g_idoc_control_record-sndpfc = ''. "Partner function
g_idoc_control_record-refmes = 'Customer clearing'.
append g_idoc_control_record.
*-Build Idoc Segments -*
*---E1KOMG
clear g_edidd.
clear g_e1bpache09.
g_edidd-segnam = 'E1BPACHE09'.
g_edidd-segnum = 1.
move g_e1bpache09 to g_edidd-sdata.
append g_edidd.
*-Create idoc -*
*-Syncronous
if mode = 'S'.
call function 'IDOC_INBOUND_SINGLE'
exporting
pi_idoc_control_rec_40 = g_idoc_control_record
* PI_DO_COMMIT = 'X'
* IMPORTING
* PE_IDOC_NUMBER =
* PE_ERROR_PRIOR_TO_APPLICATION =
tables
pt_idoc_data_records_40 = g_edidd
exceptions
idoc_not_saved = 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.
endif.
*-Asynchronus
else.
call function 'IDOC_INBOUND_ASYNCHRONOUS'
in background task as separate unit
tables
idoc_control_rec_40 = g_idoc_control_record
idoc_data_rec_40 = g_edidd.
commit work.
endif.
write: / 'Well done!'.
Maybe you are looking for
-
Can't create a new project in Logic pro . Goes straight to a midi file. Do I shut something down before trying to create a new project?
-
MBPr requires SMC restart for iSight camera
New MBP with Retina seems to be having a problem with iSight camera since installing Mountain Lion. It seems that every second day or so the camera stops being recognized and I have to do an SMC reset to restore normal operation. I have checked the U
-
I have a Nikon D700 12 megapixel full frame camera which has a 12 – 14 bit depth. I usually shoot images with the Nikon raw file format (NEF) with the color space setting at Adobe RGB (1998). When I select a photo to look at the details of the metada
-
Value of an operation parameter depending on the characteristic value
Hi, Is it possible to set the value of the Normal Duration (or any other parameter of the operation) depending on the value of one characteristic? For example: The value of my characteristic A is 2, so I want to set Normal Duration = 10*(Value_of_A)
-
Requirement class (OVZG)
Hi Gurus, can any give the configuration parameters for valuated and non valuated requirement class (OVZG) regards, RAM