External Reference field not populating via CRM_ORDER_MAINTAIN
Hi ,
I am using the FM CRM_ORDER_MAINTAIN and wanted to add EXTERNAL REFERENCE Field in existing Complain Order(Transaction :CRMD_ORDER). I am passing the following parameter to add the Reference. But it is not updating the
with the follwoing Reference number. Could you please help on this.
ls_ext_ref-REFERENCE_TYPE = 'Z002'.
ls_ext_ref-REFERENCE_NUMBER = '12345678'.
ls_ext_ref-REFERENCE_TYPE_T = 'SOCS Number'.
ls_ext_ref-REFERENCE_MODE = 'A'.
ls_Ext_ref-handle = '0000000001'.
ls_ext_ref-ref_guid = gs_orderadm_h-guid.
ls_ext_ref-ref_kind = gc_object_ref_kind-orderadm_h.
INSERT ls_ext_ref INTO TABLE gt_ext_ref.
ls_input_field-ref_guid = gs_orderadm_h-guid.
ls_input_field-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_field-objectname = gc_object_name-ext_ref.
ls_input_field-LOGICAL_KEY = '0000000001'.
ls_input_field_names-fieldname = 'REFERENCE_TYPE_T'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'REFERENCE_TYPE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'REFERENCE_NUMBER'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE gt_input_fields.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
ct_orderadm_h = gt_orderadm_h
it_ext_ref = gt_ext_ref
CHANGING
ct_input_fields = gt_input_fields.
Get guids
LOOP AT gt_orderadm_h INTO gs_orderadm_h.
INSERT gs_orderadm_h-guid INTO TABLE gt_obj_guids.
ENDLOOP.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
IT_OBJECTS_TO_SAVE = gt_obj_guids
EXCEPTIONS
DOCUMENT_NOT_SAVED = 1
OTHERS = 2.
Hi,
For external reference field
Use Crm_order_read funtion module to read the details.
get the details of sales lt_sales and create same structure of sales and pass the value.
IF lt_sales IS NOT INITIAL.
CLEAR ls_sales.
READ TABLE lt_sales INTO ls_sales INDEX 1.
IF sy-subrc = 0.
ls_sales-po_number_sold = ls_orderadm_h-object_id. """" Ticket no
MODIFY lt_sales FROM ls_sales INDEX 1.
ENDIF.
CLEAR ls_sales.
CLEAR ls_sales1.
READ TABLE lt_sales INTO ls_sales INDEX 1.
IF sy-subrc = 0.
MOVE-CORRESPONDING ls_sales TO ls_sales1.
ls_sales1-ref_handle = 1.
ls_sales1-ref_guid = lv_hguid . ls_sales1-ref_kind = 'A' .
h2_ls_sales1-po_number_sold = ls_sales-po_number_sold. "" this is external reference no field._h2
INSERT ls_sales1 INTO TABLE lt_sales1.
ENDIF.
" Input Fields
ls_input_field-ref_handle = 1.
ls_input_field-ref_kind = 'A' . "A
ls_input_field-ref_guid = lv_hguid. "External System GUID Assignment."
ls_input_field-objectname = sales. "SALES
ls_input_field_names-fieldname = PO_NUMBER_SOLD.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = PO_DATE_SOLD.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE it_input_fields.
ENDIF.
Pass lt_sales1 to crm_order_maintain and crm_order_save.
Similar Messages
-
How to make external reference field as mandatory in customised ZDCR
Hi guys,
I am working in CHARM implementation and we have defined customised transaction type for change request(ZDCR), now my client wants the external reference field as mandatory, and we are using CRMD_ORDER for creating a customised change request. Now my point is the external refernce field should be mandatory only to ZDCR transaction type and it should not effect to another transaction types who are using through CRMD_ORDER transaction code.
Kindly give ur inputs it is very urgent as the Go-live it very near.
Thanks&Regards
Sitaramaraju.PHi!
Try to modify the Dynpro of TC: CRMD_ORDER:
Start Transaction SE80.
Display program SAPLCRM_SERVICE_UI
Go to 'Screens' and select screen 7153
Go to the element list of screen 7153
Then select 'Special attr. '.
Activate the change mode.
Mark field Name: CRMT_7010_SERVICE_UI-PO_NUMBER_SOLD / Typ: I/O as required entry field.
Activate your changes and start Transaction CRMD_ORDER
Due to this modification you will need a SSCR Key for this object (see http://service.sap.com/sscr).
Hope this will help!
Best regards / Gerhard -
Manual bank statement error: "Bank reference" field not filled
Hi,
I'm getting an error (see below) while entering details in the manual bank statement. I've checked the variant already, and the manual bank statement variant with "Bank Reference" field is already deactivated. How come FF67 still validates on this field?
Did I miss something?
Hope for your speedy reply. Thanks!
"Bank reference" field not filled
Message no. FV094
Diagnosis
An interpretation algorithm is given in transaction 003-. This algorithm interprets the value entered in the field "Bank reference" and automatically determines the items to be cleared.
The field "Bank reference" is not filled.
System Response
No interpretation will be carried out.
Procedure
Recheck your entries.Hi,
The Bank Statement Transaction you are using has an Int. Algorithm configured, which requires the Bank reference field.
In IMG in the transaction where you create and assign business transactions to posting rules, there is also a filed for Int Algorithm. The system uses the Int Alg. to determine the fields on which to match and clear documents. The transaction you are using may have an int algo. configured which uses the reference field for clearing.
Even if you remove the reference field from the Manual Bank Statement Variant, the system is still going to look for it because that is one fields defined for clearing in the int alg.
You can change the config settings for the transaction, but either removing the Int alg. or using a different one. The description of the Int Alg. on the drop down list, will give you an idea of what fields will be used for clearing.
IMG path...FA->Bank accounting> business transactions-> payment transactions>manual bank statement-> Create and Assign business transactions.
Hope this helps.
Thanks,
Uma -
hi experts,
i have one problem i have sales item,and header dso's which i have loaded the data using flat files.when am trying to load to cube some of the fields of header is not getting populated.when i am loading only header data that time it is showing the data in cube.when i am loading item data also that time some of the fields of header are not populating in cube.i have tried by taking two seperate cubes for header and item and tried to loading data to multiprovider. but same issue came.for ur reference i am providing screen shots of that. this is multi provider screen shot in this u can observe that division ,region and some fields are not populating data. in local sand box i have done this please help me to resolve this issue.
header cube screen shot before loading to multiprovider.
item cube screen shot before loading to multiprovider.
regards
jaswanthiHow are you "loading" to a MultiProvider? A MultiProvider is merely a "view" on 1 or more InfoProviders, nothing gets loaded in it.
The screen shot of your MultiProvider shows data of your items InfoCube only... have you filtered on the InfoProvider field? If not, try and filter on your header InfoCube and see whether it shows any data. If not, then there's something wrong with your mappings in the MultiProvider definition.
It's perfectly normal to have empty fields if you're combining 2 InfoProviders into 1 MultiProvider. If that's not what you want, you should consider an InfoSet (which "joins" data) or model it so that when you're sending item data to a new InfoCube, you "look up" the missing header data in your header data DSO and add it. -
End routine field not populated
Hi,
I have made the following end routine in order to populate the field YNEGOCIO with two characters.
I´m uploading data from DSO 0FIAR_O03 to customized DSO. When i activate this DSO i don´t see the field YNEGOCIO populated but the strange thing is that when i make a debbugg to the end routine, the result package-YNEGOCIO at the end of routine IS POPULATED with the correct values.
Can anybody help me with this?
LOOP AT RESULT_PACKAGE INTO e_s_result.
**Recover characters 14,15 from YNEGOCIO.
CLEAR lv_negocio.
SELECT SINGLE
/BIC/YYKEY
FROM /BIC/AYSDLASPV00
INTO lv_key
WHERE
/BIC/YYVALUE EQ e_s_result-GL_ACCOUNT.
IF sy-subrc EQ 0.
MOVE lv_key+13(2) TO lv_negocio.
ENDIF.
LOOP AT gt_inv_gl9_doc INTO gs_inv_gl8_doc
WHERE ac_doc_no = e_s_result-ac_doc_no.
* Calculate Importe Aplicado
MOVE e_s_result to aux_s_result.
aux_s_result-record = v_count + 1.
IF aux_s_result-DEB_CRE_DC IS NOT INITIAL.
aux_s_result-PROFIT_CTR = gs_inv_gl8_doc-profit_ctr.
aux_s_result-USERNAME = gs_inv_gl8_doc-USERNAME.
aux_s_result-deb_cre_dc = gs_inv_gl8_doc-DEB_CRE_DC.
aux_s_result-/BIC/YI_WRBTR = gs_inv_gl8_doc-DEB_CRE_DC *
aux_s_result-/BIC/YI_WRBTR / aux_s_result-DEB_CRE_DC.
aux_s_result-/BIC/YNEGOCIO = lv_negocio.
APPEND aux_s_result to e_t_result.
ENDIF.
endloop.
endloop.
REFRESH RESULT_PACKAGE.
MOVE e_t_result[] TO RESULT_PACKAGE[].
Regards,
Diegohi,
check your changelog table and see data over there, i guess this situation generally happens when you do delta laod , itmight happening bcoz of two image are created which might be cancelling each other when request gets actiavted in DSO and also see for 0recordmode value.
hope it helps
regards
laksh -
External Reference number not copied in Service Confirmation
Hi,
We are on CRM 5.0 SP11. We have Mobile Service 5.0 SP11.
In Mobile Service in the Service Order creation screen we have a window to input External reference number. When we create a Service Confirmation as a followup document of Service Order, SAP by default only allows to copy Reference Object,Subject and notes (both header and item level) to the Confirmation.
Does anyone have idea how we can copy the External Reference number to Confirmation when we do followup to Service Orders on mobile.
This functionality works fine on Enterprise.
Thanks,
YatinHello,
The external number won't be copied by standard as Wolhfard said they are different documents.
You need to code this to make this copy from service order to Service confirmation.
Open your Mobile Application Studio and make following changes.
Open the BusinessObject "BOMSVHelper" and view the code. Go to the Method "CopySrvTransHeader" write the following code in it.
Find the code
UserName = _unwind(BusinessRootObject.UserDataDictionary.GetData("USERNAME"))
and paste the following code below it.
Dim servconfobj As BusinessObject = bocopysrvtrans.SalesInfo
Dim servtransobj As BusinessObject = orderheaderobj.SalesInfo
servconfobj.SetAttribute("PoNumberSold", servtransobj.GetAttribute("PoNumberSold"))
servconfobj.SetAttribute("PoDateSold", servtransobj.GetAttribute("PoDateSold")) -
Hi Experts,
I have enhanced 0fi_gl_4 extractor. appropriate data is coming into the extractor. But when I load the ODS the enhanced fields are not populating.
Can anyone help please.
Thanks in advance
YvoneHi,
The issue has to be one of the areas below. Heres a checklist-
Source system:
RSA3 check. New fields pulling the correct data?
BW:
1. Replication of DataSource - done?
2. Transfer Structure & Transfer Rules in place for the new fields?
3. InfoObjects the above fileds are being mapped to are the correct type, in the correct InfoSource & Data Target? All activated?
4. Update rule that maps these new InfoObjects. Acivated? Has the specific mappings for the new infoObjects been checked and validated?
Hope this helps
Sandeep -
SQ01 query, one field not populating in first line, pushing data to next line
Good day all
I have worked with queries for some time and have never encountered this error
I have a few table joins (FAGLFLEXA, BKPF, BSEG, EKKN, SKAT and EKPO), every thing works and displays correctly, except for the one field
EKKN (ABLAD) - Unload Point.
For some reason, when I test the query, it displays correctly with one entry, but as soon as you run the test for more entries, for some reason, the first Unloading point on the report is empty and the value reflects on the next line. If you display the physical documents where the data pulls from, you can clearly see that the entire report pushes down the field to the next line.
For example
Physical SAP Document GL and or PO:
Year Per Do Document No Profit Account Short Text Merch Amount in Grp Segm Posted on Unload Point
2014 001 XF 40000000000 ABCD 86100 Text ACD 72799.60 11 20140106 24/59/68
2014 001 XD 40000000001 ABCC 86100 Text ACC 18755.50 11 20140108 26/00/48
SQ01 report (with one line)
Year Per Do Document No Profit Account Short Text Merch Amount in Grp Segm Posted on Unload Point
2014 001 XF 40000000000 ABCD 86100 Text ACD 72799.60 11 20140106 24/59/68
SQ01 report (with more lines)
Year Per Do Document No Profit Account Short Text Merch Amount in Grp Segm Posted on Unload Point
2014 001 XF 40000000000 ABCD 86100 Text ACD 72799.60 11 20140106 2014 001 XD 40000000001 ABCC 86100 Text ACC 18755.50 11 20140108 24/59/68I found the error! The query was written in a certain format. For example it had many fields which was used to populate the data from different tables. The error occured because of the sequence. The query had to bring in a field but it had to derive it from a purchase order, but the purchase order check was after the said field therefor, when it looked at the Purchase Order, it found the field and populated it, but only on the second line. In the first line it couldnt find the Purchase order yet (as EKKO was lower down), so it didnt populate it yet....
SIGH -
New COPA Value field not populating in BW
We created a NEW value field (VV0056) in SAP COPA that is NOT pulling manual journal entries into BW (document types AB and SA). All other value fields are pulling in all document types and balance to SAP u2013 itu2019s this new one that is not. We do not have any restrictions on selection of data coming into BW.
The manual journal entry is in our CE1* table in R/3.
We are still 3.x data loading in our BW 7 system.
Any ideas on what to look for? Your input is greatly appreciated.
Renee MercedeHi Renee
The new fields that has been added must be either in the COPA table or the corresponding datasource.
If it is added in the table
1) You need to enhance the corresponding datasource with a z-field that wiill represent the field added in the table.
2) This field will have to be populated through an ABAP routine.
3) Check the populated field values in RSA3.
4) Replicate the datasource in BW.
5) Create infoobject for the enhanced field.
6) Add infoobject in the corresponding BW data targets.
7) Change transformations / UR's - TR's.
8) Extract data.
If it is added in the datasource - which means you know from which base table this field needs to be populated.
Carry out steps (2) to (8) from above.
Cheers
Umesh -
Custom idoc segment fields not populated
Way back in 1999 someone create a custom Idoc type with custom Idoc segments in it. Unfortunately, they forgot to release one of the segments.
Recently a change was request to add new fields to this custom segment. In order to get the fields transported the segment had to be released.
All worked fine in Dev and the new Idoc segments were populated as expected. However when the idoc segment was moved to the test system all visually appears to be fine but when the idoc is created (status 50) the new fields are not popultated.
In 40B the start of the inbound process was IDOC_INBOUND_DATA. Does anyone know what the new starting point is in 4.7??
I beleive the error is actually that SData is not reading all the input values and stopping right where the old fields end in teh custom segment.
Thanks,
Anthonyadditionally,
SAP will not allow us to release the basic idoc type because it was released in 40B. It also will not allow us to cancel the release since we are now in 620. So, unless anyone has input for this I think the only solution will be to create a successor IDoc type and change our apps to use the new IDoc type with it's enhancements. -
Upgrade from 4.7 to ECC 6.0 - Blank XML fields not transfered via Proxy
Hello,
I have a proxy that was sending all fields via a proxy to our PI system for mapping. Now after we upgraded to ECC 6.0 the XML document from the backend is missing all the empty XML tags.
Why did this happen? How can I get my blank XML tags back?
Thanks,
MattHi,
We faced the same issue few days back..
See Prateek's reply in this thread..
After Upgrade to ECC, Proxy is not sending empty tags to XI
Regards,
Sarvesh -
Field not populating in update rule
Hi Gurus,
I have created an update rule and i assigned some characteristic to the KF in my rule when i load data to test this update rule some fields are not getting populated can any one tell me what will be the reason? the mapping is correct for these fields.
waiting for reply
raviHi Ravi,
I think you must check your code exactly.It might be that there is some problem there.Also,Make sure that your mapping is perfect for these fields and also check whether everything is availabale in activated version.
Regards,
Amar -
CRM fields not populating in BPS layout for opportunity Planning 0crm_order
Hello Support,
We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.
When creating an opportunity in CRM, the product data ( quantity ,
values) are not appearing in Planning tab( SEM-BPS Layout) .
Kindly let us know what needs to be done to resolve this issue.
Thanks and regards,
Rajiv JainIn your CRM system, check your mapping from CRM to BW are correct.
You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
Regards,
Adrian -
SRM Invoice and Confirmation fields not populated in Standard content DSO
We are implementing an extended classic SRM Scenario in our company, along with SAP recommended standard solution for BI. While activating the PO DSO (0SRPO_D1) confirmation quantity (SR_CFQBU) and amount (SR_CFVOC) along with Invoice quantity (SR_IVQBU) and amount (SR_IVVOC) are not getting populated. Is there a recommended solution to correct this scenario?
This problem has been solved by implementing OSS Note 1343257
-
External isight does not work via firewire adaptor
my external iSight camera won't work for any application in mountain lion via the firewire 800 400 adaptor ...
any ideas?
many thankselvie wrote: ... any ideas?...
Apple's http://support.apple.com/kb/HT2090
Message was edited by: EZ Jim
Mac OSX 10.8.2
Maybe you are looking for
-
How do I change my Ipod to a new "home" computer?
My employer says that all our personal software and libraries (i.e., itunes/ipod, etc.) must be removed from our business computers. Unfortunately, I set up my itunes library on my computer at work. Now I must move my itunes library to my computer at
-
Cumulative Value for calculation in Formula
Hi All, We have a requirement to use a formula based onthe cumulation of Keyfigures in the report. The scenario is like this KF1 KF2 ***(KF1) ***(KF2) Fornula1 = ***(KF1) / *** (KF2) 10 2 10 2 5 20
-
Hello, Does anyone know if there is a way to draw a line over a JLabel. The scenario is that I have a Jpanel that uses a Gridbaglayout and has an array of JLabels(to display images). I have the need to connect labels and to have the line draw over an
-
Set specific size for JTextfield/Jbutton in BorderLayout?
can some one tell me how to set a specific size for JTextfield/JButton in Border/BoxLayout please? I stried setSize, setPrefersize, setMAxsize, setMinsize, setBounds... but it won't work? For example. If I add a jbutton to a jpanel, which has borderl
-
Hi! Gurus, We would like to add a new screen field to our shipment document. My ABAPper says there's no screen exit to do the same. He talks something about breaking the code and stuff like that which I dont understand much. Please let me know a way