Help requeried in populating DTP filter through ABAP routine.
Hi experts,
I have written the following routine in my DTP filter.
While debugging , the values are getting populated fine , but selections are not getting pupulated in the DTP. Thus, filter is not working.
DATA: l_idx like sy-tabix ,
w_dt(2) type n ,
*Previous month
w_pvmon(2) type n,
Current month
w_mon(2) type n,
Year
w_yr(4) type n,
Start date of previous month and Start date of current month
w_sdt1 LIKE sy-datum ,
w_sdt2 LIKE sy-datum.
Read table l_t_range with key
fieldname = '/BIC/ZUPDDATE'.
l_idx = sy-tabix.
w_dt = sy-datum+6(2).
w_mon = sy-datum+4(2) .
w_yr = sy-datum+0(4).
****If first week of the month then start date = first day of previous
*month
If w_dt <= 07.
IF w_mon = 01 .
w_pvmon = 12.
w_yr = w_yr - 1.
else.
w_pvmon = w_mon - 1.
ENDIF.
CONCATENATE w_yr w_pvmon '01' into w_sdt1.
l_t_range-iobjnm = '/BIC/ZUPDDATE'.
l_t_range-sign = 'I'.
l_t_range-option = 'EQ'.
l_t_range-fieldname = '/BIC/OIZUPDDATE'.
l_t_range-low = w_sdt1.
l_t_range-high = sy-datum.
append l_t_range.
else .
After first week of the month , start date = first day of current
*month
CONCATENATE w_yr w_mon '01' into w_sdt2.
l_t_range-iobjnm = '/BIC/ZUPDDATE'.
l_t_range-sign = 'I'.
l_t_range-option = 'EQ'.
l_t_range-fieldname = '/BIC/OIZUPDDATE'.
l_t_range-low = w_sdt2.
l_t_range-high = sy-datum.
" modify l_t_range index l_idx.
append l_t_range.
p_subrc = 0.
endif.
clear:w_dt ,w_pvmon ,w_mon ,w_sdt1,w_sdt2 ,w_yr.
I have tried different fieldname values as well.
Please share your inputs.
Regards,
Taru
Edited by: Taru Dhawan on Feb 23, 2012 12:59 PM
Hi
What Alexandre said is right
fieldname must be '/BIC/ZUPDDATE'
and the iobjnm must be 'ZUPDDATE'.
This should work.
If no, just try
fieldname = 'ZUPDDATE'.
and iobjnm = '/BIC/ZUPDDATE'
One of this will definitely work.
Regards,
Joe
Similar Messages
-
ABAP Routine Variable in DTP filter
Helllo,
I am trying to create a routine in the Filter of DTP, so that I can only pass records that are between sy-datum and 12/31/9999 date range. In the filter are of DTP I created ABAP routine with this code:
form compute_HE_SPCEND
tables l_t_range structure rssdlrange
changing p_subrc like sy-subrc.
Insert source code to current selection field
$$ begin of routine - insert your code only below this line -
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'HE_SPCEND'.
l_idx = sy-tabix.
data: v_day type dats.
v_day = sy-datum.
l_t_range-sign = 'I'.
l_t_range-option = 'BT'.
l_t_range-low = v_day.
l_t_range-high = '99991231'.
modify l_t_range index l_idx.
p_subrc = 0.
$$ end of routine - insert your code only before this line -
endform.
However, when I execute the DTP I get an ABAP dump TABLE_INVALID_INDEX. Do you see anything wrong with the code?
Thank you
Edited by: AG on Jul 10, 2009 2:31 PMThanks Mr V.
I added that part of code. So now my code looks like this:
form compute_HE_SPCEND
tables l_t_range structure rssdlrange
changing p_subrc like sy-subrc.
Insert source code to current selection field
$$ begin of routine - insert your code only below this line -
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'HE_SPCEND'.
l_idx = sy-tabix.
data: v_day type datum.
v_day = sy-datum.
l_t_range-sign = 'I'.
l_t_range-option = 'BT'.
l_t_range-low = v_day.
l_t_range-high = '99991231'.
if l_idx <> 0.
modify l_t_range index l_idx.
else.
append l_t_range.
endif.
p_subrc = 0.
$$ end of routine - insert your code only before this line -
endform.
I do not get the ABAP dump anymore, but I still have the problem. When I run the DTP, It gets errors. In a log it says that it cannot determine the value:
@5C@ Incorrect initial value for characteristic 0HE_SPCEND in i_t_range @35@
@5C@ Error while extracting from source ZHE_O03 (type DataStore) @35@
@5C@ Package 1 / 07/10/2009 14:43:41 / Status 'Processed with Errors' @35@
Am I missing something? Looks like the values still do not get assigned to the field in the filter through my routine.
Thanks -
Selective deletion and selective upload through ABAP coding in SAP BI
Hi,
I have to do selective deletion from an infocube and put the same selections into the filter of DTP entirely through ABAP.
Please specify if there is any such code/function modules/methods available in ABAP.
Best Regards,
Pankajcheck this where i have written in start routine
CALL METHOD P_R_REQUEST->get_TGT
RECEIVING
R_TGT = I_TGT.
CONCATENATE '/BIC/A' I_TGT '00' INTO ACT_TABLE.
CONCATENATE '8' I_TGT '_VA' INTO ACT_TABLE_RSTSODS.
DATA: SOURCE_PACKAGE1 LIKE LINE OF SOURCE_PACKAGE.
READ TABLE SOURCE_PACKAGE INTO SOURCE_PACKAGE1 INDEX 1.
DELETE FROM (ACT_TABLE) WHERE /BIC/ZVERSION =
SOURCE_PACKAGE1-PL_VERSION.
SELECT SINGLE ODSNAME_TECH FROM RSTSODS INTO ZDSNAME_TECH WHERE ODSNAME
= ACT_TABLE_RSTSODS.
DELETE FROM (ZDSNAME_TECH) WHERE /BIC/ZVERSION =
SOURCE_PACKAGE1-PL_VERSION. -
Extract last date from DSO - Number ID through ABAP
Hi everyone.
I want to delete some records that i dont want to write to DSO through ABAP routine (transformation or DTP). For example, I am reading a number id and a date (yyyymmdd), but for that number I have many dates, and I wanna store the maximun date from all of them. For example:
ID Date
111 20111020
222 20111021
333 20111025
444 20111105
555 20111102
In DSO i want to store '444 20111105'. i tried this with a delta extraction , but the DSO receive any record. It seems the transformation read the DSO at random.
Appriciate your response
Thanks
IgnacioPerform a "selective delete".
Right click on DSO and goto Manage. Next, goto the Contents Tab. Then click on the selective delete button. This will ask you what criteria to use for the deletion. Enter your time restrictions and your'e good to go.
Cheers,
B -
Abap Routine in DTP Filter with selection in a table
Hi guys,
I need help please.
I'm trying include a abap routine in a DTP filter, for this case I need to make a select in a dso table and return a list of criterias.
Example: for this characteristic 0GL_ACCOUNT i need in a fiter 20 or more 0GL_ACCOUNT of table "/BIC/DSO_XXX".
How can I select more than one 0GL_ACCOUNT in a tranparency table "/BIC/DSO_XXX"... and put in a DTP Fiter.
DTP FILTER ROUTINE.
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'GL ACCOUNT'.
l_idx = sy-tabix.
if l_idx <> 0.
modify l_t_range index l_idx.
else.
append l_t_range.
endif.
p_subrc = 0.Try this:
DATA: lv_rows TYPE n LENGTH 10,
it_zbw_pl_proj LIKE STANDARD TABLE OF /BIC/DSO_XXX
lw_zbw_pl_proj LIKE LINE OF it_zbw_pl_proj .
SELECT COUNT(*) INTO lv_rows FROM /BIC/DSO_XXX Where <your condition> .
SELECT * INTO TABLE it_zbw_pl_proj FROM zbw_pl_proj where <your condition>
IF lv_rows <> 0.
LOOP AT it_zbw_pl_proj INTO lw_zbw_pl_proj .
l_t_range-iobjnm = '/BI0/GL_ACCOUNT'.
l_t_range-fieldname = 'GL_ACCOUNT'.
l_t_range-sign = 'I'.
l_t_range-option = 'BT'.
l_t_range-low = lw_zbw_pl_proj-GL_ACCOUNT.
l_t_range-high = lw_zbw_pl_proj-GL_ACCOUNT.
APPEND l_t_range.
ENDLOOP.
ELSE.
" No data found for Current Forecast Version.
p_subrc = 4.
ENDIF.
I just copied this data from a DTP routine where i am fetching Versions from a DB table zbw_pl_proj. You may need to change the naming convention and performance tune the code ( like defining internal table only to hold GL_account and then only selecting GL_Account from ODS).
Hope this helps!
Regards
Amandeep Sharma
Edited by: AmanSharma123 on Jul 14, 2011 2:42 PM -
Read current DTP filter value in Transformation via ABAP
Hi guys!
Here's the case.
In DTP filter there is an OLAP variable, which value depends a lot on where the DTP was started from and what starting parameters are.
We need to read the value of this variable in order to write some ABAP routines in Transformation.
How can we read the current value of our OLAP variable?
Thanks a lot for you help!Hi Vadim,
I think this is what you are looking for...
[/people/shlomi.weiss2/blog/2010/11/10/how-to-get-selection-criteria-in-transformations-routines|/people/shlomi.weiss2/blog/2010/11/10/how-to-get-selection-criteria-in-transformations-routines]
Hope it helps...
Regards, Federico -
Read filter values of DTP by ABAP routine
I am trying to read the filter values of a DTP by ABAP routine in transformation.
I could do it in the past by using the code
DATA: t_filter_values TYPE rsbk_th_range.
t_filter_values = p_r_request->get_th_range( ).
After patching (SAPKW70019), the code does not seem to work.
Are there any other ways to retrieve the DTP filter values in ABAP?Thank you Simon.
Table RSSELDTP contains the filter values comma separated.
But it would be really dirty to read the values from there.
I would have to split the comma separated values. Furthermore, low and high value are just concatenated by a minus sign. I would have to split these values as well.
Is there a better solution to the problem? -
Help regarding calling BRFPLUS function through ABAP code
Hi,
I have a situation where I have to input data into a BRFPLUS function as a table (i.e the data is input as select options where list or range of data can be provided).The corresponding output is also in the form a table .I've created this function in BRFPLUS and is working fine .Now I have to call it through ABAP code.Can someone kindly provide me with the probable code for this scenario.
E.g:
ZT_MATNR is the table in brfplus representing the list of MATNR values input along with other such inputs to function module Z_FM
ZT_ATM is the resultant output table of the function which contains several fields.
Now I have to call this BRFPLUS function with help of ABAP code.Could someone kindly help.Hello ,
There should be a number of BRF+ tutorials available in SCN which discuss the FDT APIs. You can have a look at them to get an idea of the various APIs available and their uses.
For your usecase, you should do the following.
lo_fdt_function TYPE REF TO if_fdt_function,
lo_fdt_result TYPE REF TO if_fdt_result,
* Get function handle
CALL METHOD lo_fdt_factory->get_function
EXPORTING
iv_id = lv_function_id
RECEIVING
ro_function = lo_fdt_function.
where lv_function_id is the GUID of the BRF+ function . You can either make it a constant , or you can use a FDT API to get the function GUID from the BRF+ application name and function name.
* Set function context
TRY.
CALL METHOD lo_fdt_context->set_value
EXPORTING
iv_id =
ia_value =
This is one way to set the input context ( pass the input to the BRF+ function to process ). There are other ways to do this as well. Which one you use would depend on the kind of input you want to pass.
* Execute BRFPLUS function
TRY.
CALL METHOD lo_fdt_function->process
EXPORTING
io_context = lo_fdt_context
IMPORTING
eo_result = lo_fdt_result.
* Get result output
TRY.
CALL METHOD lo_fdt_result->get_value
IMPORTING
ea_value =
Another direct way of doing it would be to use the method PROCESS of the class CL_FDT_FUNCTION_PROCESS.
I have not gone into much explaination here , but it should provide you an idea of how you can go about it.Read the SCN docs on the APIs to get a better idea , or better still if you can get hold of a copy of the BRF+ book by Carsten Ziegler , you will get an end to end explaination of all BRF+ APIs in it.
Regards,
Indranil. -
Does anybody knows if there is a way to call a DTP through ABAP?
Hi ,
You can call DTP by implementing class CL_RSBK_DTP.
I have attached a sample code below.
Create executable program (se38) with following code:
DATA: CLAS_DTP TYPE REF TO CL_RSBK_DTP,
DTP_REQ TYPE REF TO CL_RSBK_REQUEST,
L_DTP TYPE RSBKDTPNM.
L_DTP = 'DTP_8W266521AYMB0RM3U7SXM5J72'. " DTP id
CLAS_DTP = CL_RSBK_DTP=>FACTORY( L_DTP ).
TRY.
CALL METHOD CLAS_DTP->IF_RSBK_DTP_EXECUTE~CREATE_REQUEST
RECEIVING
R_R_REQUEST = DTP_REQ .
CALL METHOD DTP_REQ ->IF_RSBK_REQUEST~DOIT
EXPORTING
I_NO_COMMIT = RS_C_FALSE.
CATCH CX_RS_NOT_FOUND .
CATCH CX_RS_FAILED .
ENDTRY.
Regards
MG -
hi,
I need some help withe ABAP routine in the DTP selection
I have requirement to load the data for specific company codes on a specific days.
If the current date is monday then it should pick Taiwan or
if the current date is Tuesday the it should pick Australia and Korea or
if the current date is sunday then it should pick CHINA and Vietnam.
I want to use only one DTP for this requirement. Please help me with the code for Info Object 0COMP_Code.
Regards,
Raghuhi,
I have tried the code and it is not populating any value in the selection.
Please check
data: l_idx like sy-tabix.
data: day like SCAL-INDICATOR.
*Finding out the day
clear day.
CALL FUNCTION 'DATE_COMPUTE_DAY'
EXPORTING
DATE = sy-datum
IMPORTING
DAY = day.
read table l_t_range with key
fieldname = 'COMP_CODE'.
l_idx = sy-tabix.
case day.
when 1. "Monday
l_t_range-low = '0711'.
l_t_range-high = ' '.
l_t_range-option = 'EQ'.
l_t_range-sign = 'I'.
modify l_t_range index l_idx.
when 2. "Tuesday
l_t_range-low = '0355'.
l_t_range-high = ' '.
l_t_range-option = 'EQ'.
l_t_range-sign = 'I'.
modify l_t_range index l_idx.
when 3. "Wednesday
l_t_range-low = '0211'.
l_t_range-high = ' '.
l_t_range-option = 'EQ'.
l_t_range-sign = 'I'.
modify l_t_range index l_idx.
when 4.
when 5.
when 6.
when 7.
l_t_range-low = 'China'.
l_t_range-high = ' '.
l_t_range-option = 'EQ'.
l_t_range-sign = 'I'.
modify l_t_range index l_idx.
endcase.
p_subrc = 0. -
Assign loading / handling resource to location through ABAP program
Hello Experts,
I have a requirement where by I have to assign loading / unloading resource to a location through ABAP program. Need to assign the resource in Resources Tab in TP/VS section. Is there any function module or any method available to this?
Responses highly appreciated. Thanks in advance
Regards
Sandeep PatilHi all
I have the same requirement for the end user.
Is it a good idea update active Table of ODS behind an ABAP Program Z?, I understood that you can't have log history... and you can't delete request.. because you will not generate this..
We actually have one ODS that contain invoices... all the fields that contain the invoice..like material, vendor, etc.. was updated according to ABAp programa that we specify on start routine, each time that we need to update these fields we need to unload fros ODS to PSA and load again with dtp...
Let me copy more details:
Actually, we have an DSO that is updated each week, we load the information into different PSA, all of this PSA pass to ODS for one info source and transformation rule, in this transformation rule we have an ABAP rotine that have some validation and assign some values for different fields.
In this procees everthing look fine, actually If we need to update this information from DSO (that was loaded and the user need to update some fields) we need to download information from DSO to PSA and load again with DTP process, this was fine.
Actually the user want that this kind of changes will be apply on line, this mean that for example all the invoices that I have actually loaded into DSO need to be analyzed and update according new parameters that they specify in other tables.
The DSO is standard, and contain three basis tables, active, delta, modified.
My question is: Is it possible update directly table of active records of DSO with one Z program?? is it a good idea?, We want to discard the option of unload and load information each time that they need to update certain field that are calculated or updated whit the transformation rule or load.
Than you for your help. -
Creation of IDOC through abap program.
hello all,
I hav created idoc through abap program. I hav used FM 'Master_idoc _distrribute'.this program creates an idoc but giving status 30. can any one tell me how to get status 03. I hav already created port, Logical sys,partner no.,distribution model.
My Program is as follows:
ABLES : CRMD_ORDERADM_I,CRMD_ORDERADM_H,CRMD_SCHEDLIN.
DATA : S_CTRL_REC LIKE EDIDC OCCURS 0 WITH HEADER LINE,"Idoc Control Record
ORDER_NO TYPE CRMT_OBJECT_ID VALUE '5000000032'," SEGMENT ORDER DATA
PRODUCT TYPE CRMT_ORDERED_PROD VALUE 'SRV_01',
QUANTITY TYPE CRMT_SCHEDLIN_QUAN VALUE '1.000'.
DATA : ZORDER LIKE ZORDER_NUM OCCURS 0 WITH HEADER LINE.
DATA : T_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE. "Data Records
DATA : T_COMM_IDOC LIKE EDIDC OCCURS 0 WITH HEADER LINE. "Generated Communication IDOc
CONSTANTS :
C_ZRZSEG1 LIKE EDIDD-SEGNAM VALUE 'ZORDER_NUM'.
PARAMETERS : C_MESTYP LIKE EDIDC-MESTYP DEFAULT 'ZORDER_IDOC2', "Message Type
C_RCVPRT LIKE EDIDC-RCVPRT DEFAULT 'LS', "Partner type of receiver
C_LOGSYS LIKE EDIDC-RCVPRN DEFAULT 'BSNL_OUT',
C_RCVPOR LIKE EDIDC-RCVPOR DEFAULT 'A000000006',
C_SNDPOR LIKE EDIDC-SNDPOR DEFAULT 'SAPBCD0000',
C_SNDPRN LIKE EDIDC-SNDPRN DEFAULT 'BCDCLNT100',
C_IDOCTP LIKE EDIDC-IDOCTP DEFAULT 'ZORDER2',
C_SNDPRT LIKE EDIDC-SNDPRT DEFAULT 'LS'. "Destination System
***START-OF-SELECTION
START-OF-SELECTION.
PERFORM GENERATE_CONTROL_RECORD.
PERFORM SEND_IDOC.
*& Form generate_control_record
FORM GENERATE_CONTROL_RECORD .
S_CTRL_REC-RCVPOR = C_RCVPOR. "Receiver Port
S_CTRL_REC-MESTYP = C_MESTYP. "Message type
S_CTRL_REC-IDOCTP = C_IDOCTP. "Basic IDOC type
S_CTRL_REC-RCVPRT = C_RCVPRT. "Partner type of receiver
S_CTRL_REC-SNDPOR = C_SNDPOR. "SENDER PORT
S_CTRL_REC-RCVPRN = C_LOGSYS. "Partner number of receiver
S_CTRL_REC-SNDPRT = C_SNDPRT. "Sender Partner type
S_CTRL_REC-SNDPRN = C_SNDPRN. "Sender Partner Number
APPEND S_CTRL_REC.
ENDFORM. " generate_control_record
*& Form send_idoc
FORM SEND_IDOC.
ZORDER-ORDER_NO = ORDER_NO.
ZORDER-PRODUCT = PRODUCT.
ZORDER-QUANTITY = QUANTITY.
APPEND ZORDER.
T_EDIDD-SEGNAM = C_ZRZSEG1.
T_EDIDD-SDATA = ZORDER.
APPEND T_EDIDD.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
MASTER_IDOC_CONTROL = S_CTRL_REC
TABLES
COMMUNICATION_IDOC_CONTROL = T_COMM_IDOC
MASTER_IDOC_DATA = T_EDIDD
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
COMMIT WORK.
LOOP AT T_COMM_IDOC.
WRITE:/ 'IDoc Generated - ', T_COMM_IDOC-DOCNUM.
ENDLOOP.
ENDIF.
ENDFORM. " send_idoc
I hav created segment , basic type,message typealso and release also .I also linked them.
Plz help me.
HemlataHi Hemalatha,
Just call this Progream RSEOUT00 from your Zprogram and pass the basic parameters like IDOC number, Basic type,Partner number etc.
You can check the parameters by executing the Program RSEOUT00.
This Program will change the status of your IDOC 30 to 03.
Thanks.
Note:Reward Points if you find useful. -
How to exculde a material in DTP Filter
Hi experts,
How to exculde a material in DTP filter. Exclude from selection is not working in DTP. please help me in solving the issue.
Regards,
PradeepHi,
chk the following thread,it has the same issue as yours...
DTP filter: Exclusion
Sriram -
Steps in BW for intigration with PI system through ABAP proxy communication.
Hello Experts,
Need your help.
We need to extract data from PI system through ABAP proxy communication. Kindly suggest the steps need to be perform on BW side.(from data source creation to setting up the delta queue )
Thanks,
ArpanHi Raja Sekhar,
Thanx for the quick reply.
If i have got you point right, you are telling me to right a program that will fetch the PO's and push the data into our Interface.
Let me explain you the complete scenario, we already have a ECC to SUS thrgh PI implemeted for the same PO's generated. Our requirement is that depending on the vendor details in PO's we have got to route the PO details to either SUS or BPM.
I had thought of writing a prgm but the abapers feel that a standard BADI for the same would lessen their efforts.
Meanwhile can you explain with a little more detail the standard approach you are referring to... probably some material relating to this would help us...
thanx a lot..
waiting for your reply,
Nandan -
Parallel Processing through ABAP program
Hi,
We are trying to do the parallel processing through ABAP. As per SAP documentation we are using the CALL FUNCTION STARTING NEW TASK DESTINATION.
We have one Z function Module and as per SAP we are making this Function module (FM)as Remote -enabled module.
In this FM we would like to process data which we get it from internal table and would like to send back the processed data(through internal table) to the main program where we are using CALL FUNCTION STARTING NEW TASK DESTINATION.
Please suggest how to achieve this.
We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID. But this option is not working even though ID and name of the internal table is not working.
Also, SAP documentation says that we can use RECEIVE RESULTS FROM FUNCTION 'RFC_SYSTEM_INFO'
IMPORTING RFCSI_EXPORT = INFO in conjunction with CALL FUNCTION STARTING NEW TASK DESTINATION. Documentation also specifies that "RECEIVE is needed to gather IMPORTING and TABLE returns of an asynchronously executed RFC Function module". But while creating the FM remote-enabled we cant have EXPORT or IMPORT parameters.
Please help !
Thanks in advance
Santosh<i>We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID. But this option is not working even though ID and name of the internal table is not working</i>
I think that this is not working because that memory does not work across sessions/tasks. I think that the
IMPORT FROM SHARED BUFFER and EXPORT TO SHARED BUFFER would work. I have used these in the past and it works pretty good.
Also,
here is a quick sample of the "new task" and "recieve" functionality. You can not specify the importing parameters when call the FM. You specify them at the recieving end.
report zrich_0001 .
data: session(1) type c.
data: ccdetail type bapi0002_2.
start-of-selection.
* Call the transaction in another session...control will be stop
* in calling program and will wait for response from other session
call function 'BAPI_COMPANYCODE_GETDETAIL'
starting new task 'TEST' destination 'NONE'
performing set_session_done on end of task
exporting
companycodeid = '0010'
* IMPORTING
* COMPANYCODE_DETAIL = ccdetails
* COMPANYCODE_ADDRESS =
* RETURN =
* wait here till the other session is done
wait until session = 'X'.
write:/ ccdetail.
* FORM SET_session_DONE
form set_session_done using taskname.
* Receive results into messtab from function.......
* this will also close the session
receive results from function 'BAPI_COMPANYCODE_GETDETAIL'
importing
companycode_detail = ccdetail.
* Set session as done.
session = 'X'.
endform.
Hope this helps.
Rich Heilman
Maybe you are looking for
-
COPA - New value field defined as "Last Value"
Hi experts: We have defined a new value field that it is integrated as a 'LAST VALUE' instead of 'SUM'. However, when posting different entries the amount continue to sum instead of showing the last value. The new value field has the same behaviour a
-
Markers not appearing in Graph
I am trying to get a combination graph with one series as bars and the other as a markers (a line chart with markers but no line). I can't even get the markers to appear. This is what I have chart: <Graph seriesEffect="SE_AUTO_GRADIENT"> <LegendArea
-
Hello all - Maybe someone can help with this one - I've got multiple ipods all sharing the same itunes - Once I have all the songs selected for one of the Ipods, is there a way I can save that? I'd like to have one devoted to 3 or 4 genres - and the
-
Status = Approved then the followup transaction should be created Automatic
Dear Experts, My client's requirement is Solution manager is implemented already now client want to use Change request Mangement(ChaRM) functionality. All the statuses are maintained in the system through the Action profile. Once the Standard change
-
I'm using a number of Mac minis to run kiosks and would like to have just one monolithic disk image that I distribute to all of them, for ease of administration. But how do I manage the OS-X licensing in this situation? I shouldn't have to buy any ad