Accessing linkbutton cell data from a system matrix
I am using the UI SDK with SBO to develop an add-in. I am trying to access data from the matrix on the Sales Order form and I am stuck where the cell type is a link button.
I have figured out how to do it for an Edit cell and a Combobox cell using the UI SDK, but in the case of a link button, the only property available for that item type is the LinkedObject property which is a BoLinkedObject enumeration.
How whould I get the "Item No." value for example as entered in the form's matrix by the user?
hi,
A linked button works the same as an edit text. Just cast the specific object of the cell in an edit text object
In C# code this gives the following
string val = ((SAPbouiCOM.EditText)mtrx.Columns.Item(colID).Cells.Item(row).Specific).Value;
Yannick
Similar Messages
-
Access to EHS data from system outside of SAP
We are creating a Formulation tool in a SQL database with a Access front end which will need to use EHS Specification data and eventually push the Formulation data back into the SAP EHS Spec database.
I would like this new database to have Real-Time access to SAP data. We currently are using RFC connections with tools such as EASY-Expert and a external Rules based program Atrion as well, so I know it is possible to feed this data back and forth using XML files.
Any advice on how I should proceed and maybe some external tools for purchase that will help me do this.Hi Beverly,
it is possible to access EH&S data from outside SAP by using the standard SAP BAPIs (e.g. BAPI_BUS1077_GETDETAIL for reading EH&S data) which are RFC enabled. Another possibility would be to develop your own RFC enabled function modules in the SAP system and call them from outside.
From your access database you can use VBA to perform the RFC call.
Best regards,
Andreas -
To access the data from logical system to sap system
Hi SDN SAPERS,
I am getting a problem.
So I need ur instant help.
There is a standart report named Rptcc106 having select-options logical system.
And there is a check box and we have to click it named general idoc.
But the issue is when I execute it should be retrive the data from logical system.
The data are not in the logical system.
It is a time management system blongs to sap hr.
What are the time input and time output a employee put in a punching machine the times should be update in sap hr.
sapcdt45 is the standard report to time events.
Regards
Debasish
[email protected]Yes, you can use regular TCP/IP or UDP communication for LAN communications. There is however no built-in support for much else then WebRequests, so if you want to use any other protocol you will either have to implement it yourself on top of TCP/IP or
look for community projects that add said support (I'm currently not aware of any but it's worth looking around). -
RFC FM that will select data from other system
Hi ABAP Gurus,
Good day.
Do you have any documentation on how to develop RFC FM that will be able select data from tables in other SAP system that you can share with me? How about sample FMs? Thanks in advance!
Best regards.
Brando BraganzaHI Brando,
see the below Function modules which help to fetch data from another system ..
RFC_READ_TABLE " External access to R/3 tables via RFC
"this function module is used for table which is having max 40 fields and unlimited records..
RFC_GET_TABLE_ENTRIES "Read table entries unlimited fields and data
* call the FM like this
* Calling RFC to get Table entries from Destination 'AVP'
CALL FUNCTION 'RFC_GET_TABLE_ENTRIES' DESTINATION 'AVP'
Regards,
Prabhudas
Edited by: Prabhu Das on May 12, 2009 10:52 PM -
Can't extract the data from sourse system
hi,everyone
i have a question about extracting the data from sourse system.i created a general datasourse.in the r3 system,i used t-code:rsa3 to extract the data successful. but ,when i replicate the datasourse to the bw system,i can't extract the data to the psa. in the process of the extracting,accur a error like below:
Errors while sending packages from OLTP to BI
Diagnosis
No IDocs could be sent to BI using RFC.
System Response
There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
Further analysis:
Check the TRFC log.
You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
Error handling:
If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the
authorizations of the background user in the source system.
who can tell me why?
thx
zhangHi zhang,
Please check the below points.
1. Perform the connection and authorization test in SM59 for the RFC connecion.
2. Make sure the RFC user extracting the data is having sufficient authorization and correct profile as per note 150315.
3. make sure there are sufficient number of Dialog process in BW in SM50.
4. check T code SM58 in source system for any more errors.
5. check the connection between the systems.
Check
Note 561880 - Requests hang because IDocs are not processed.
Note 535172 - IDoc: Dup. IDocs in tRFC inbound processing w/ runtime error
Note 555229 - IDocs hang in status 64 for tRFC with immediate processing
Hope this helps.
Regards,
Suman.T -
*Journal Entries while uploading the vendor master data from legacy system*
hi SAP Folks,
can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
thanks in advance.
Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PMHi
you will be having only one entry logically
i.e. Opening Bal. clrng A/c Dr.
To Vendor A/c Cr.
regards -
Reg:when i was uploading data from legacy system
Hi All,
it is any Include program
for tcode mpr1
when i was upload the data for forecast values from
legacy system to sap system .
only one record is geting updated
other records are not updateding
i have retun logic like this
code,,,,,,,,
TYPES: BEGIN OF TY_FILE,
WERKS LIKE MAPR-WERKS,
MATNR LIKE MAPR-MATNR,
PRWRT LIKE PROW-PRWRT,
END OF TY_FILE.
DATA: IT_FILE TYPE STANDARD TABLE OF TY_FILE,
WA_FILE TYPE TY_FILE.
DATA : IT_MARA LIKE MARA OCCURS 0 WITH HEADER LINE,
IT_MARC LIKE MARC OCCURS 0 WITH HEADER LINE.
DATA : LV_FILE TYPE STRING.
LV_FILE = I_MPR1USERPAR.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
EXPORTING
FILENAME = LV_FILE
FILETYPE = 'DAT'
HAS_FIELD_SEPARATOR = 'X'
CHANGING
DATA_TAB = IT_FILE
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
NOT_SUPPORTED_BY_GUI = 17
ERROR_NO_GUI = 18
OTHERS = 19
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT T_ARTICLES.
CLEAR : IT_MARA,IT_MARC.
SELECT SINGLE * FROM MARA INTO IT_MARA WHERE MATNR = T_ARTICLES-MATNR.
SELECT SINGLE * FROM MARC INTO IT_MARC WHERE MATNR = T_ARTICLES-MATNR
AND WERKS = T_ARTICLES-WERKS.
ENDLOOP.
LOOP AT IT_FILE INTO WA_FILE .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = WA_FILE-MATNR
IMPORTING
OUTPUT = WA_FILE-MATNR.
T_FORECAST_VALUES-WERKS = WA_FILE-WERKS.
T_FORECAST_VALUES-MATNR = WA_FILE-MATNR.
T_FORECAST_VALUES-PERKZ = IT_MARC-PERKZ.
T_FORECAST_VALUES-ERTAG = T_ARTICLES-PRDAT_NEW.
T_FORECAST_VALUES-KOPRW = WA_FILE-PRWRT.
T_FORECAST_VALUES-MEINS = IT_MARA-MEINS.
APPEND T_FORECAST_VALUES.
CLEAR : T_FORECAST_VALUES.
ENDLOOP.
thanks
marsFor creating/uploading the master data from legacy system to SAP we either use below options
1. BDC (recording)
2. BAPI
3. ALE iDoc.
I would sugguest you to use BAPI and there's already this post which explains few details about the BAPI:
Problems with BAPI_PROJECT_MAINTAIN
Regards
Sreenivas -
Missing Data from Legacy System
Hello All,
My client went live end of January this year. They had a month of transaction data in their legacy system which they did not bring into SAP. Since this is their first year on SAP and recently implemented Extended Withhold Tax one month data is missing; when they run the 1099s at the end of the year they are going to be reported incorrectly.
How can we bring over that missing data from legacy system over to SAP without having to clear those invoices in SAP?
Thank You In AdvanceHi Shashi,
Have a look : <a href="http://www.box.net/shared/9tda040za6">Transferring Data with DB Connect</a>
<a href="http://sapbwneelam.blogspot.com">More Docs...</a>
Hope it Helps
Srini -
Upload data from legacy system to SAP through ALE IDOC
Hello All,
I have a requirement where i need to upload the data from legacy system to SAP. So i am using ALE IDOC.
In my requirement i need to extend the Standard IDOC. I have extended the IDOC and even found the exit for the updation of the extended fields to SAP. My data would be be placed in the application server.
Can anybody tell me how to retrieve the data and update in the tables for the extended fields.
Could you please provide a sample program for retrieving data for IDOC.
ThanksHi,
You can find the sample code in the following link.
Re: calling idoc_input_creditor
Regards
Sajid -
How to upload the data from legacy system database to SAP data base
Hi.
We are doing analysis of Legacy system and which needs to be converted to SAP system i.e. SAP implementation.
I just want to know , how we migrate the existing whole data( from legacy system) into SAP system.
and which method is the best method to use data migration from legacy to SAP system if data legacy data amount is huge.
Please suggest me.
Thanks.Hi
We can either use the BDC or BAPI or LSMW or Direct Input techiniques for the data transfers.
The combination of both Session and Call transaction can be used to achieve this that includes the error handling also. This invloves the screen interaction.
These days, BAPIs are used to overvome some upgrade problems. For easy upgradation, we cna go for BAPIs. Here ther is no screen intercation.
LSMW mainly used for master data transfers using some standrad programs.
As per your client or company desicions we can choose any of them.
Please refer to these links for more understanding -
BDC Vs LSMW -
BDC VS LSMW
BDC Vs BAPI -
BDC VS LSMW
Thanks & Regards,
Chandralekha. -
How to transfer data from one system to another by datamart please give de
how to transfer data from one system to another by datamart please give details
Hi Deba,
Find the below SAP help doc which may help u...
http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
Also find the below threads...
Loading data from one cube to another cube.
data copy from infocube to infocube in two different BW systems
Delta when loading from ODS to ODS
reg datamart
Data mart flag
Regards,
KK. -
How to access listbox binding data from a button which is not part of listbox in xaml page
Hi
I have the below listbox and its bdining as below
<ListBox x:Name="listMyPosts" ItemsSource="{Binding Path=MyPostsDataSource}" Grid.Row="0" >
<ListBox.ItemTemplate >
<DataTemplate >
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding
NewPostText ,Mode=TwoWay}"/>
<TextBlock Text="{Binding
NewPostSender}"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<Button content="Send Post" command ="Binding SendClickCommand} />
</ListBox>
And i am assining postsViewmodel
private PostsViewModel _PostsViewModel ;
public Conversation()
InitializeComponent();
_PostsViewModel = new PostsViewModel ();
this.DataContext = _PostsViewModel ;
public ObservableCollection<PostsModel> MyPostsDataSource
get
if (_MyPostsDataSource== null)
_MyPostsDataSource= GetMyPosts();
return _MyPostsDataSource;
set
this._MyPostsDataSource = value;
RaisePropertyChanged("MyPostsDataSource");
is that possible to access listbox binding data from the ViewModel's SendClickCommand property ?
KrrishnaIf you need to pass to the command selected item, try this
<Button Сontent="Send Post"
Сommand ="{Binding SendClickCommand}"
CommandParameter={Binding ElementName=listMyPosts,
Path=SelectedItem}/>
msdn -
BO DI for extracting data from legacy system to SAP BW 7.0
Hi,
Has anyone worked on scenario where BO Data Integrator is being used as ETL tool for extracting data from legacy systems to SAP BW 7.0 ?
Please share your experience on such a landscpae or related documents any of you had come across.
Regards,
PriteshThere are couple of them - Lawson ERP, Kalido, AS/400. ECC 5.0 might be there as well.
Regards,
Pritesh.
Edited by: pritesh prakash on Jun 14, 2010 2:00 PM -
Uploading data from Legacy System to SAP (In PS Module)
While Implementing Project system Module, Whether LSMW is applicable for uploading data from Legacy sytem. If not, then what is the method used for uploading the data from Legacy sytsem to SAP
For creating/uploading the master data from legacy system to SAP we either use below options
1. BDC (recording)
2. BAPI
3. ALE iDoc.
I would sugguest you to use BAPI and there's already this post which explains few details about the BAPI:
Problems with BAPI_PROJECT_MAINTAIN
Regards
Sreenivas -
Error in Process Chain while extracting data from source system
Hi All,
Dail we are facing problem while retrieving the data from source system for the data source 0TB_AMOUNT1 in the process chain, it is giving error "Function module BANK_TMC_API_SIM_GET does not exist Furnction module". when I repeat the step than it is going fine.
Please let me know why this error is coming for first why it is not coming after repeating the step?
Thanks & Regards,
Murali.Hi Murali,
Hope you are doing good..
Is it a full or Delta load on a daily basis? Did you check if the FM exists in your system?
Did you try debugging the load in source system and check if the extractor is trying to call FM you mention.
If possible please post the exact error message you are receiving so that we could get an idea whats the error and why you are encountering it.
As of now what i can suggest is, go to RSA2 in source system, give the datasource name and check if the extractor code has FM in it.
Regards,
Anil Pragada.
Maybe you are looking for
-
My serial number is not working
The serial number for my IWORK software is not working in my computer. It tells me it is invalid but I JUST purchased this software. I don't know what I am doing wrong. Anyone have any clue?
-
I am using Nokia n8 since 1 and half year. I had upgraded my phone from symbian to belle through nokia suite 3.4. At that time it updates the os. I downloaded many themes and other software compatible with my phone from ovi suite and phoneky.com. whe
-
Whenever I print or export to PDF a document with superscripts or subscripts, it deletes them
Whenever I print or export to PDF a document with superscripts or subscripts, it deletes them. I'm doing a chemistry degree so as you can imagine, there are a lot of missing superscripts or subscripts through my text! I just tried updating my iWork s
-
Best FTP for iWeb produced websites after Mobile Me?
best FTP for iWeb produced websites after Mobile Me?
-
Hi Experts, My requirement goes like: We are printing a material Bar code label via VL32N. Assume if there are 2 line items in VL32N : Qty line item 1 100 (all in one box) line item 2 20 (in each box) Now the requirement is like,