How to use function:MLApp_DIMLAppPutWorkspaceData?
how to use function:MLApp_DIMLAppPutWorkspaceData?
MLApp_DIMLAppPutWorkspaceData is a function of MATLAB ACTIVE
在LABWINDOWS/CVI调用MATLAB的控件生成的函数有下面一个
MLApp_DIMLAppGetWorkspaceData (CAObjHandle objectHandle,ERRORINFO *errorInfo,const char *name,const char *workspace,VARIANT data);
在使用过程中应该如何用?
定义了一个VARIANT *DATA=NULL,无法获得数据,应该如何处理?
Hi,
refer the given below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
language = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
name = TNAME "table name
object = 'AUFK' " these details we will get thru transaction , where we enter these details.
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
IMPORTING
HEADER = HTEXT
tables
lines = LTEXT
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks
Arun
Similar Messages
-
How to use functions in Message Mapping
Hi All,
I am new to SAP XI. I don't know how to use functions in message mapping. Can any body tell me how to use IF condition in message mapping.
Please provide me a good link where I can get the details how to use those functions.
Thanks,
Srinivas.HI Srinivas
Please take a look at these links,
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
This will help you
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
This will give you a detailed Idea about Context
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95f835c111d1829f0000e829fbfe/frameset.htm
This will give more explanation on Queue
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/51a39490-0201-0010-5b9f-ae21e8b78195
For understanding node functions this blog will help you
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Not sure you can find a collection of all...
Cheers..
Vasu
<i>** REward Points if found useful **</i> -
How to Use Function Module READ_TEXT
Hi
Anyone give me code or link or example for how to use function module READ_TEXT
and what are the parameters which we have to pass in module.
Regards.
MohsinHi,
refer the given below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
language = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
name = TNAME "table name
object = 'AUFK' " these details we will get thru transaction , where we enter these details.
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
IMPORTING
HEADER = HTEXT
tables
lines = LTEXT
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks
Arun -
How to use functional module " DETERMINE_DUE_DATE"
Hi All,
Can anyone suggest how to use functional module " DETERMINE_DUE_DATE" as it is used in an FI transaction code "FBL5N" and i have to use it in my zprogram to capture the net due date..please suggest..
Regards,
Shanuhi,
CALL FUNCTION 'DETERMINE_DUE_DATE'
EXPORTING
I_FAEDE = LS_FAEDE
IMPORTING
E_FAEDE = LS_FAEDE
EXCEPTIONS
OTHERS = 1 -
HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN
Respected all
i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am not getting any changes in the request of dso. kindly let me know how to use this 2nd function.
thanks
abhayHi Mahodaya,
As per SAp standards its good to delete the requestes that are no longer needed for the delta update and no longer used ffor inti from the change log table and the data is loaded already in to DSO.
Goto RSPC
Click on create New PC -> enter the PC name n long descp
Next we need to define the start process for the PC.Maintain the start variant process.save n come back.
for deletion of change log we have option in the Other BW Processes -> deletion of requestes from change log
Once u select the option we get a dialoge box here we need to create the variant for the process enter the process variant n long descp. cick ok.
Next in the maintenance screen for the deleting the request from change log table will appear.
Enter the selection patterns to which the requestes should be deleted from the change log.
In the maintenance screen, select one or more Data Store objects for which requests are to be deleted from the relevant change log tables under Data Store Object column and select theInfo Area of the corresponding Data Store Objects under Info Area
If you select the first check box exclude selction pattern, this means that del of requests from change log table will be ignored.
or
We can delete the requests which are Older than N-number of days (or) date in the above screen. For this one, enter the number of days (or) date in the filed Older than .
OR
If we want to select the requests with a certain status then we can also do in the above screen. We can select the following status indicators from the above screen.
Delete Successfully Updated Requests Only -This status will delete only requests which
are successfully updated into corresponding Data Store objects.
Delete Incorrect Requests that were not Updated - This status will delete only incorrect requests which are not successfully updated into the corresponding Data Store Objects.
Delete Activation Requests only, No Load requests- This status will delete only the activation requests (requests that begin with ODSR_... ). No load requests are deleted. -
How to use functions and views in SMP2.3
Hi all,
I am new to SUP/SMP, I did some samples for hwc like create the MBO with object queries and operations using tables. Now i have a doubt
Is it possible to use sql functions in smp2.3?
If it possible how to use them?
for Select Query can i use stored procedure?
Ex: Select * from Employee where EmpID=:empid for this querey i wrote a stored procedure like this
Create procedure Emp_sp(@empID int)
as
begin
Select * from Employee where EmpID=@empID;
end
This procedure shown in my database connections profile.
I created an operation,
when i invoke the operation this procedure is visible in the operations list, i give the success screen in that i put a listview but here the attributes are not comming.
Is there any mistake in my approach,
Please suggest me.
Thank you.I will suggest you to look at official document for more understanding:
SyBooks Online -
How to use Function module generated to update CDHDR CDPOS
Hi,
I have a Z-table, and I want to tracks the value changes in some fields,
the data elements for those specific fields are marked for "Change document".
I created a Change document object using the transaction SCDO and I got the function module.
now can any one tell me how to use these function modules like ( what values need to be passed to function module. what value do we need to pass for OBJECTID,..value for tables ...etc )
I have a custom program to update/delete entries in the custom table so should I use the function module in my custom program to result an entry in CDHDR & CDPOS.
how to display the old value and new values for the fields specified to changes.
Regards,
Nagu.check in SE37
RV_ORDER_FLOW_INFORMATION
SD_SALES_DOCUMENT_READ
SD_SALES_DOCUMENT_READ_POS
SD_DOCUMENT_PARTNER_READ
SD_DETERMINE_CONTRACT_TYPE
SD_SALES_DOCUMENT_COPY
SD_SALES_DOCUMENT_SAVE
SD_SALES_DOCUMENT_ENQUEUE
SD_PARTNER_READ
RV_DELIVERY_PRINT_VIEW
SD_PACKING_PRINT_VIEW
SD_DELIVERY_VIEW
RV_BILLING_PRINT_VIEW
RV_PRICE_PRINT_HEAD
RV_PRICE_PRINT_ITEM
Rewards if useful...........
Minal -
How to use functional global with a large amount of variables?
Hi all,
I'm currently developping a LV program which control and acquired data from a device. Up to now I used global variables ( very conveniente to use for experimental parameters). But now my program is become to be too large and I have too much "global" variables to continue to use a global.vi.
I'm wondering if functional global can help me. If someone has an exemple of how use functional global with a large amount of variables...
thanksI agree with Ben.
Using queues is better than a number of Globals or Action Engines (Functional Globals). If you need to pass data to a sub-vi, you can simply wire the queue out to a queue control of a sub-vi, or a reference. See attached example of passing data to a sub-vi using a queue. The example is an extremely simple, undocumented tid-bit of code that sends the loop count to the consumer VI.
Run the main program called QueueProducer.vi.
R
Attachments:
QueueProducer.vi 18 KB
QueueConsumer.vi 14 KB -
How to use function to Post with Clearing - Partial Pymnt with FB05
hi,Dears,
I am write a function to post with clearing - partial pymnt or Res. Items with FB05, but there is no any BAPI to do that, and I find the function POSTING_INTERFACE_CLEARING.
but it seems that the function is only for Post with Clearing-Standard Screen, how to use that function to post with clearing - partial pymnt or Res. Items???
Many thanks.Hi Guys,
If you post partiall payment you don't clear the invoice. Just post a normal item and fill the connection with the invoice, filling fields rebzg, rebzj, rebzz.
PERFORM fill_ftpost using:
'P' '3' 'BSEG-BSCHL' '15', "
'P' '3' 'BSEG-HKONT' customer_id ,
'P' '3' 'BSEG-WRBTR' tmpt,
'P' '3' 'BSEG-GSBER' it_pozkli-gsber,
'P' '3' 'BSEG-SGTXT' 'Patial payment',
'P' '3' 'BSEG-REBZG' it_pozkli-belnr,
'P' '3' 'BSEG-REBZJ' it_pozkli-gjahr,
'P' '3' 'BSEG-REBZZ' it_pozkli-buzei. -
HOW TO USE FUNCTION MODULE IN ALV
hi guyz
I developed an alv report using join statements .But i got all that fields in a function module. so how can i use function module in alv .
if i got a function module with all the fileds do i need to use select statement.
plz help me.
thanks
sudheerHi,
Hope the following helps..
1)
LOOP AT IT_OUTPUT.
Call the function module to get the tracking number and store the output in the
variable V_TRACKINGNO.
IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
ENDLOOP.
2) Date conversion
DATA: V_CHAR(10) VALUE '2006.11.17'.
DATA: V_DATE TYPE SYDATUM.
CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
WRITE: / 'MM/DD/YYY Format - ', V_CHAR.
Please make sure to reward points for helpful answers..
Thanks,
Naren -
How to use function module to update data
Hello ,
Can any body have idea how we can use function module SAVE_TEXT to update the master recipe header and operation long text.
I want to use this functional module to update the master recipe long text
step by step procedure is highly appreciated
thanks & regards
siddhasrthHi
SAVE_TEXT
SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.
You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.
If the lines table passed with the function module is empty, the system deletes the text from the text file.
Function call:
CALL FUNCTION 'SAVE_TEXT'
EXPORTING CLIENT = SY-MANDT
HEADER = ?...
INSERT = SPACE
SAVEMODE_DIRECT = SPACE
OWNER_SPECIFIED = SPACE
IMPORTING FUNCTION =
NEWHEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
check thi sample code
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
* IMPORTING
* FUNCTION =
* NEWHEADER =
TABLES
LINES = t_long
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
Reward all helpfull answers
Regards
Pavan -
How to use function module SALRT_CREATE_API to trigger alert in XI?
Hi experts,
I have read that alert can be triggered in BPM or through a FM SALRT_CREATE_API. Now how to use this FM?
In what XI scenario I can use this FM and how?
Any example will be really appreciated.
Thanks
GopalHi Gopal,
I am not sure if any function module like SALRT_CREATE_API is used to create ALERTS.
If you want to <b>create alerts</b>, just check this blog,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Next , after you have done this to <b>test your configuration</b>,
go to T code - SE38.
In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
Finally if you are on <b>SP14 or above</b> , check this note <b>913858</b>
and if <b>below SP14</b>, just check this blog,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
And. to use this alerts in your BPM,
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
Bhavesh
Message was edited by: Bhavesh Kantilal -
How to use Function Module of Appraisal
Hi,
I want to use the standard Function Module for Appraisal like HRHAP_DOCUMENT_GET_DETAIL.
But how to use it. What is the procedure to use standard function module.Hi,
Goto SE37 and put the function module name and then execute it.
Put the following parameters:
MODE
UI_MODE
PLAN_VERSION
S_APPRAISAL_ID
ADMINISTRATOR
S_DISPLAY_UI
NO_ACTION_LOG
Execute it. This will give you an idea of what data you will get from this function module.
In order to use it in your code you would have to pass the import parameters depending upon your requirement and you will get your results in export parameters.
Regards,
Kanupriya
Edited by: Kanupriya Madan on Jun 24, 2009 9:06 AM -
How to use function module SAPGUI_SET_FUNCTIONCODE?
Hi all,
I understand that the function module SAPGUI_SET_FUNCTIONCODE is being used to manully trigger the PAI/PBO at the POV. However, I was not able to get it to even trigger anything. Need suggestion as of how to use this function module. I try to call it at the end of the POV but to no avail. Any help is greatly appreciated and rewarded.Hi,
Afer POV control will not go to PBO until y pressed ENTER . for overcome this you need to set a dummy OKCODE. in the following way.
CALL FUNCTION SAPGUI_SET_FUNCTIONCODE
EXPORTING
FUNCTIONCODE = =
EXCEPTION
FUNCTION_NOT_SUPPORTED = 1
OTHERS = 2
Here is the sample code
PROCESS BEFORE OUTPUT.
MODULES l201_blanklines.
LOOP RK intdrad WITH CONTROL tab_x CURSOR tab_x-current_line.
MODULES l201_init.
FINAL LOOP.
PROCESS AFTER INPUT.
MODULES l201_new.
LOOP RK intdrad.
CHAIN.
FIELD equi equnr.
MODULES l201_bear.
FINAL CHAIN.
FINAL LOOP.
MODULES l201_end.
Importantly
PROCESS ON VALUE REQUEST.
field EQUI EQUNR of modules ZZ_DMS_MULTIPLE_EQUIS.
Importantly
--End to screen Logic
Modules ZZ_DMS_MULTIPLE_EQUIS
CALL FUNCTION F4IF_FIELD_VALUE_REQUEST
EXPORTING
TABNAME = EQUI
FIELDNAME = EQUNR
SEARCHHELP = EQUI
SHLPPARAM = EQUNR
DYNPPROG = system-repid
DYNPNR = system-dynnr
DYNPROFIELD = EQUI EQUNR
MULTIPLE_CHOICE = X
TABLES
RETURN_TAB = lt_return_tab
EXCEPTION
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
CALL FUNCTION SAPGUI_SET_FUNCTIONCODE
EXPORTING
FUNCTIONCODE = =
EXCEPTION
FUNCTION_NOT_SUPPORTED = 1
OTHERS = 2
CALL FUNCTION DYNP_VALUES_UPDATE
EXPORTING
DYNAME = system-repid
DYNUMB = system-dynnr
TABLES
DYNPFIELDS = lt_dynpfields
EXCEPTION
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
MORE INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
UNDEFIND_ERROR = 7
OTHERS = 8
Regards
Sudheer -
How to use function module K_ORDER_SRULE_ADD?
Hi,
Can you provide me the details on how to use K_ORDER_SRULE_ADD especially criteria parameter? If possible, attached wit sample code? Thanks.
Best Regards,
Chee BoonHi,
Try for a Where used List for this FM and see how a SAP Standard Prog using this or any Zprog might also be using this.
Try this also:
DATA: it_rules TYPE srules_ext OCCURS 0.
CALL FUNCTION 'K_SRULE_CREATE'
EXPORTING
i_objnr = caufvd_imp-objnr
EXCEPTIONS
rule_already_exists = 1
OTHERS = 2.
srules-settl_type = 'FUL'.
srules-percentage = 100.
srules-amount = 0.
srules-costcenter = caufvd_imp-kostl.
APPEND srules.
CALL FUNCTION 'K_ORDER_SRULE_ADD'
EXPORTING
object_no = caufvd_imp-objnr
TABLES
srules = srules
EXCEPTIONS
wrong_input = 1
error_occurred = 2
object_not_found = 3
activity_not_allowed = 4
OTHERS = 5.
IF sy-subrc = 0.
COMMIT WORK AND WAIT.
ENDIF.
Maybe you are looking for
-
How to achieve BC4J stateful management in a web app?
I have a web application developed with JSP, Struts as the view / controller layer and BC4J as the model layer. I am not using the complete ADF framework. Just plain struts, JSP and BC4J. What I want to do is to have one struts action to set a query
-
Auto Update of measuring point/document
Dear all, I have one issue over here.Measuring point/document is not updating automatically after productiuon order confirmation . I tried with following steps 1) Created the equipment as test equipment -->created measuring point as a counter ---> ma
-
Photoshopimport.aip will not run on Yosemite
after updating to yosemite and then RE-INSTALLING cs-4 from the original discs, entering my key and installing all updates, i can no longer open .psd files inside illustrator. i receive an error for the plugin photoshopimport.aip when i startup AI. a
-
Trying to activtae Iphone 4 but getting a message saying that already activated
HI I'm trying to activtae Iphone 4 but getting a message saying that already activated on October 4th, I received the phone on October 20th. Any idea wht can be the issue ?
-
LabVIEW 8.5 crashes when I try to open this VI
A few days ago i was making changes to this VI for programmatically fitting the waveform graph to a pane on front panel. I was able to make some changes to the code successfully, saved the file and closed LabVIEW. But today i am not able to open