Regarding FM "SELECT_OPTIONS_RESTRICT"
Hello All,
I am using the FM "SELECT_OPTIONS_RESTRICT" for restricting two tabs (For Exclusion) on the selection screen for selct-option and it is working fine.
but the problem is that if i want to use this restriction for two select-options then it does not put restriction for both.
Can you pleaae tell how to put restriction on two selec-options.
Thanks in advance.
Mahesh,
Unfortunately we are not omniscient. Do you expect us to know the root of your problem w/o seeing the code?
BR,
Suhas
Similar Messages
-
Regarding the SELECT_OPTIONS_RESTRICT
Hi All,
Can anyone tell me how to use the FM SELECT_OPTIONS_RESTRICT.
I have to restrict the select options for S_RSO FOR STXH-TDTITLE such that the user will be able to enter the values in the SELECT-OPTIO-LOW value and in the extensions tab only in the select single values tab only.
CAN any one help this out its very urgent.
Thanks And Regards.This FM is very well documented. Have you checked it?
Rob -
Use of FM 'SELECT_OPTIONS_RESTRICT' in other than INITIALIZATION event
Hi all,
I am using function module SELECT_OPTIONS_RESTRICT to restrict the select option ranges. My question is can we use this FM into another event such as AT SELECTION-SCREEN. Basically I want to restrict n grayed out Select Option High value and Ranges option on certain value of other paramter on selection screen. When I use this FM into event AT SELECTION-SCREEN it gives me exception 'TOO_LATE'.
Any idea how to use this or any other way to fullfll such requirement?
Thanks,
Vikas.The FM SELECT_OPTIONS_RESTRICT would only work in INITIALIZATION event. I don't came across other FM which we can call from another event. But, you to achieve your functionality, you can have a dummy type of select option with required restricted settings and make it active when required.
DATA: w_vbeln TYPE vbak-vbeln.
TYPE-POOLS sscr.
DATA: restrict TYPE sscr_restrict,
opt_list TYPE sscr_opt_list,
associate TYPE sscr_***.
PARAMETERS: p_simpl RADIOBUTTON GROUP rd1 USER-COMMAND usr1 DEFAULT 'X',
p_compl RADIOBUTTON GROUP rd1.
SELECT-OPTIONS: s_simpl FOR w_vbeln MODIF ID gp1.
SELECT-OPTIONS: s_compl FOR w_vbeln MODIF ID gp2.
INITIALIZATION.
%_s_simpl_%_app_%-text = 'Select Option'.
%_s_compl_%_app_%-text = 'Select Option'.
* Set the complex
MOVE 'EQ' TO opt_list-name.
opt_list-options-eq = 'X'.
APPEND opt_list TO restrict-opt_list_tab.
associate-kind = 'S'.
associate-name = 'S_COMPL'.
associate-sg_main = 'I'.
associate-sg_addy = ' '.
associate-op_main = 'EQ'.
associate-op_addy = 'EQ'.
APPEND associate TO restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
restriction = restrict.
AT SELECTION-SCREEN OUTPUT.
CASE 'X'.
WHEN p_simpl.
LOOP AT SCREEN.
IF screen-group1 = 'GP2'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN p_compl.
LOOP AT SCREEN.
IF screen-group1 = 'GP1'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDCASE.
Regards,
Naimesh Patel -
Enable Exclude Options Only : Using SELECT_OPTIONS_RESTRICT
Hello Experts,
I have select options for one field. I would like to include only "Excluded Single Values" Tab Only.
Can anybody will suggest me how to do that?
I had tried to use various ways but didn't succeed.
Below sample code for your reference.
TYPE-POOLS sscr.
TABLES :
marc.
defining the selection-screen
select-options :
s_matnr for marc-matnr.
Define the object to be passed to the RESTRICTION parameter
DATA restrict TYPE sscr_restrict.
Auxiliary objects for filling RESTRICT
DATA : optlist TYPE sscr_opt_list,
*** type sscr_***.
INITIALIZATION.
Restricting the MATNR selection to only EQ and 'BT'.
optlist-name = 'OBJECTKEY1'.
optlist-options-nb = 'X'.
optlist-options-ne = 'X'.
optlist-options-np = 'X'.
APPEND optlist TO restrict-opt_list_tab.
***-kind = 'S'.
***-name = 'S_MATNR'.
***-sg_main = 'I'.
***-sg_addy = space.
***-op_main = 'OBJECTKEY1'.
APPEND *** TO restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
restriction = restrict
EXCEPTIONS
TOO_LATE = 1
REPEATED = 2
SELOPT_WITHOUT_OPTIONS = 3
SELOPT_WITHOUT_SIGNS = 4
INVALID_SIGN = 5
EMPTY_OPTION_LIST = 6
INVALID_KIND = 7
REPEATED_KIND_A = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
START-OF-SELECTION.
Regards,
AmitHi,
Please check the below threads, You too can search as this has been answered many a times
Restrict Select-option tab view
Use of FM 'SELECT_OPTIONS_RESTRICT' in other than INITIALIZATION event
Display "Exclude Single Values" tab only in a Select Option dialog box
http://forums.sdn.sap.com/search.jspa?threadID=&q=Display%22ExcludeSingleValues%22tabonlyinaSelectOptiondialog+&objID=&dateRange=all&numResults=30
Cheerz
Ramchander Rao.K -
Restricting the Select-options by using the FM "SELECT_OPTIONS_RESTRICT"
Hi ,
Thank You very much for reading this query.
My requirement is, I need to display 3 select-option fields on my selection screen.
1) Field1 is S_periods which is to populate the Numbers.For this field I need to provide the options single and ranges (First 2 options).
2) Field 2 is S_RECIPIENTS which should contain user IDs.For this field I need to give first option which is single values.
3) Field 3 is S_TRANSACTIONS which should contain 3 options (Select singles, ranges and Exclude singles).
So by calling the FM "SELECT_OPTIONS_RESTRICT' only once, Can i provide all these options or I need to call this FM 3 times for 3 fields .
Can any one help me on this.
If possible plz provide me some pseudo code on this.I have gone through so many forum points on this but I havenot seen this kind of requirement.
Thanks and Regards,
K.krishna Chaitanya.Check this code for first and second case.
I don't think third case is possible.
* T A B L E S
TABLES: afko, mara.
* D A T A D E C L A R A T I O N S
TYPE-POOLS: sscr.
DATA: gt_restrict TYPE sscr_restrict,
gs_selopt TYPE sscr_***,
gs_opt_list TYPE sscr_opt_list.
SELECT-OPTIONS: s_aufnr FOR afko-aufnr,
s_matnr FOR mara-matnr.
* INITIALIZATION
INITIALIZATION.
* MATERIAL
CLEAR gs_opt_list.
gs_opt_list-name = 'OBJ_MATNR'.
gs_opt_list-options-eq = 'X'.
gs_opt_list-options-bt = 'X'.
APPEND gs_opt_list TO gt_restrict-opt_list_tab.
CLEAR gs_selopt.
gs_selopt-kind = 'S'.
gs_selopt-name = 'S_MATNR'.
gs_selopt-sg_main = 'I'.
gs_selopt-op_main = 'OBJ_MATNR'.
APPEND gs_selopt TO gt_restrict-***_tab.
* ORDER
CLEAR gs_opt_list.
gs_opt_list-name = 'OBJ_AUFNR'.
gs_opt_list-options-eq = 'X'.
APPEND gs_opt_list TO gt_restrict-opt_list_tab.
CLEAR gs_selopt.
gs_selopt-kind = 'S'.
gs_selopt-name = 'S_AUFNR'.
gs_selopt-sg_main = 'I'.
gs_selopt-op_main = 'OBJ_AUFNR'.
APPEND gs_selopt TO gt_restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
restriction = gt_restrict
EXCEPTIONS
too_late = 1
repeated = 2
selopt_without_options = 5
selopt_without_signs = 6
invalid_sign = 7
empty_option_list = 9
invalid_kind = 10
repeated_kind_a = 11
OTHERS = 12. -
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
Hi guys ,
I would like to restrict a select options. When I push the botton "multiple selection" in my select
options I would like that I can see only 2 tabs 'Exclude individual values' and 'Exclude intervals'.
I tried with the FM 'SELECT_OPTIONS_RESTRICT', but It doesn't work. When I execute sy-subrc = 5
'INVALID_SIGN' and I can't resolve it.
My code is:
SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS: S_BUDAT FOR BKPF-BUDAT,
S_BELNR FOR BKPF-BELNR,
S_HKONT FOR BSEG-HKONT, <----*restric this*
S_BLART FOR BKPF-BLART,
S_BSTAT FOR BKPF-BSTAT.
SELECTION-SCREEN: END OF BLOCK B2.
INITIALIZATION.
CLEAR T_OPT_LIST.
T_OPT_LIST-NAME = 'S_HKONT'.
T_OPT_LIST-OPTIONS-EQ = 'X'.
T_OPT_LIST-OPTIONS-GE = 'X'.
APPEND T_OPT_LIST TO RESTRICT-OPT_LIST_TAB.
CLEAR T_***_TAB.
T_***_TAB-KIND = 'A'. "Apply only to the named SELECT-OPTION
T_***_TAB-NAME = 'S_HKONT'. "This is name of the SELECT-OPTION
T_***_TAB-SG_MAIN = 'I'.
T_***_TAB-OP_MAIN = 'S_HKONT'. "This must match opt_list-name
APPEND T_***_TAB TO RESTRICT-***_TAB.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
RESTRICTION = RESTRICT
EXCEPTIONS
TOO_LATE = 1
REPEATED = 2
SELOPT_WITHOUT_OPTIONS = 3
SELOPT_WITHOUT_SIGNS = 4
INVALID_SIGN = 5
EMPTY_OPTION_LIST = 6
INVALID_KIND = 7
REPEATED_KIND_A = 8
OTHERS = 9.
Thanks in advance.
Best Regards.
Edited by: Ana Marí on Apr 12, 2010 12:13 PMSolution;
INICIALIZATION.
PERFORM INICIALIZACION_SELECT_OPTION.
FORM INICIALIZACION_SELECT_OPTION.
DATA: T_OPT_LIST TYPE SSCR_OPT_LIST, "switches controlling each option
T_***_TAB TYPE SSCR_***, "select-options to be restricted
RESTRICT TYPE SSCR_RESTRICT, "structure holding above 2 tables
TEXTO TYPE STRING,
L_SUBRC(4) TYPE N.
CLEAR T_***_TAB.
T_***_TAB-KIND = 'S'. "Apply only to the named SELECT-OPTION
T_***_TAB-NAME = 'S_HKONT'. "This is name of the SELECT-OPTION
T_***_TAB-SG_MAIN = 'I'. "I = ONLY Inclusions; * = Both
T_***_TAB-SG_ADDY = SPACE.
T_***_TAB-OP_MAIN = 'WHATEVER'. "This must match opt_list-name
APPEND T_***_TAB TO RESTRICT-***_TAB.
crear las restricviones del select option en t_opt_list.
CLEAR T_OPT_LIST.
T_OPT_LIST-NAME = 'WHATEVER'."This must match ***_tab-op_main
T_OPT_LIST-OPTIONS-BT = SPACE. "Do not permit BETWEEN
T_OPT_LIST-OPTIONS-CP = SPACE. " permit MATCHES-PATTERN
T_OPT_LIST-OPTIONS-EQ = SPACE. " Permit EQUALS
T_OPT_LIST-OPTIONS-GE = SPACE. "Do not permit GREATER-OR-EQUAL
T_OPT_LIST-OPTIONS-GT = SPACE. "Do not permit GREATER-THAN
T_OPT_LIST-OPTIONS-LE = SPACE. "Do not permit LESS-OR-EQUAL
T_OPT_LIST-OPTIONS-LT = SPACE. "Do not permit LESS-THAN
T_OPT_LIST-OPTIONS-NB = 'X' . "Do not permit NOT-BETWEEN
T_OPT_LIST-OPTIONS-NE = 'X'. "Do not permit NOT-EQUAL
T_OPT_LIST-OPTIONS-NP = 'X'. "Do not permit NO-PATTERN-MATCH
APPEND T_OPT_LIST TO RESTRICT-OPT_LIST_TAB.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
RESTRICTION = RESTRICT
EXCEPTIONS
TOO_LATE = 1
REPEATED = 2
SELOPT_WITHOUT_OPTIONS = 3
SELOPT_WITHOUT_SIGNS = 4
INVALID_SIGN = 5
EMPTY_OPTION_LIST = 6
INVALID_KIND = 7
REPEATED_KIND_A = 8
OTHERS = 9.
ENDFORM. -
Function module "select_options_restrict"
what is the functionlity of the FM select_options_restrict?
hi..
This function module simplifies the handling of SELECT-OPTIONS on the selection screen by restricting possible selection options and signs.
By calling this function module, you can restrict the number of selection options available for the chosen selection field. You can also disable the function allowing users to enter values to be excluded from the selection (SIGN = 'E').
U can check the Documentation in SE37 for this FM. It is available in English with an example.
regards,
Padma -
Restrict ALV filter criteria like with MF SELECT_OPTIONS_RESTRICT
Hi all,
I would like to be able to manage my ALV OO filters.
The aim is to force the user to use the pattern option (CP) when they want to filter on a specific field of the ALV.
It would be great if there was a mean to get the same result as the MF SELECT_OPTIONS_RESTRICT for Select-option. ( = Only Pattern is available when the user tries to filter on this specific field)
I'm able to user get_criteria/set_criteria to do so, but the result is not as OK as I want, because the filter are modified after the user action => the user wont understand what happened...
Does anyone know about how to get the result I want?
Thanks and regards,
Christophe DrancourtHi Christophe,
for manage Filter after User Input you can use Event AFTER_USER_COMMAND:
methods EVENT_AFTER_USER_COMMAND
for event AFTER_USER_COMMAND of CL_GUI_ALV_GRID
importing
!E_UCOMM
!SENDER .
In method:
METHOD EVENT_AFTER_USER_COMMAND.
DATA ltb_filter TYPE LVC_T_FILT
CASE e_ucomm.
WHEN cl_gui_alv_grid=>mc_mb_filter.
CALL METHOD sender->get_filter_criteria IMPORTING et_filter = ltb_filter.
*Here Manage the Filter
CALL METHOD sender->set_filter_criteria EXPORTING it_filter = ltb_filter.
CALL METHOD sender->refresh_table_display.
ENDCASE.
ENDCASE.
ENDMETHOD.
Regards,
Angelo. -
Regarding sy-index and sy-tabix
Hi,
What is the major difference between sy-index and sy-tabix ,
can you give me one good example with code..
Regards,
Reddy.Hi,
SY-TABIX - Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
SEARCH FOR sets SY-TABIX to the index of the table line in which the search string is found.
SY_INDEX - In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
sy-tabix is the tab index - the index of the record in the internal table you are accessing,
sy-index is the loop counter.
If you use a condition in LOOP the sy-index will go from 1 to n, but sy-tabix will refer to the line in the internal table.
Hope this helps u.
Thanks,
Ruthra -
Regarding Field Missing in Dso Transformation
Hi
Folks
I am facing the issue like
In Datasouce to DSO transformation i can see the 55 objects in DSO table, and in DSO to Cube Transformation i can see 54 fields in DSO table, one field is missing , the object 0TXTSH(short discription) is mapped to field 0TXZ01in DS to DSO transformation.
so How can i get the field in DSO to Cube transformation.??
any settings have to be change???
waiting for yours Valuable answers
Regards
AnandHi,
Please identify the object and check it whether it is an attribute or a characteristic, if it is attribute only disable that option then check it.
Regards,
Srinivas -
I am having an issue regarding a placed order via customer service department
I recently relocated to Anchorage Alaska as part of a permanent change of station per the United States Air Force. I was initially located on the East Coast in the lower 48 and at the time of activating my contract I had purchased two separate Iphone 4 devices. I also recently went in to a store in February to purchase a Nexus 7 as well.
Upon arrival in Anchorage I had multiple issues regarding the Iphone 4 devices including being unable to send and receive text messages & imessages, unable to make phone calls, dropped phone calls, unable to utilize GPS, as well as not being able to access general account information and use anything related to web browsing or data usage. It was determined that because the Iphone 4 operates on the 3g network and Verizon does not have a 3g network in Alaska, as a result I was utilizing an extended service network from another carrier. As a result of this I am only able to use my Iphone 4 devices while connected to my wi-fi network while within my home, which is totally unacceptable.
I was not made aware that I would be dealing with this when I moved to Alaska and inquired as the the use of the devices I currently owned prior to purchasing the tablet. I was assured by three separate store employees one of which being a manager that all devices would function at 100% efficiency including the Iphone 4s. In fact I was recently billed 350$ for roaming charges last month, which prompted me to speak with a representative via the online chat regarding the significant increase she said that she was unable to process any sort of credit to the account regardless of what I had been told at a local Verizon store where I purchased the tablet.
As a result of all of these mishaps since arriving here in Alaska I determined I was in need of newer devices that utilize the 4G LTE network currently provided by Verizon in Alaska. I know for a fact that the 4G LTE works great up here because my Nexus 7 tablet runs flawlessly and does not incur roaming charges when utilizing the 4G LTE network.
Yesterday I attempted to contact Verizon through the live chat feature regarding upgrading two of the devices on my account. The live chat representative immediately asked me when my upgrade date was. Upon telling her my upgrade date 9/29/2014 she told me I should contact the customer service department as I might be eligible for an early upgrade. I then proceeded to contact the customer service department using my Iphone 4.
My attempt to speak to anyone in the customer service department resulted in a merry-go-round of being put on hold 6 separate times by two different employees, both of which had me wait for more than an hour while they attempted to speak to a manager to gain approval for an early upgrade. The first rep seemed almost sure she would be able to have my devices upgraded early especially considering the issues I was having regarding service.
The second rep seemed newer and was very dodgy about my questions and was very unwilling to help at first. He even mentioned that I had been a Verizon customer for almost two years, had never missed a single payment and had outstanding account history which should have garnered some sort of importance to the level of my request. But I digress, during this time I was disconnected from the call twice from each separate representative.
Both reps assured me they would call me back, I never did get a call back from either one of those reps and I was becoming very frustrated having waited four hours trying to find some sort of solution to my current predicament.
After waiting an hour for the second representative to call back I grew impatient and contacted the customer service department, was put on hold again, and finally reached a third customer service representative who was able to provide a solution for me.
I explained everything I had been dealing with to Cory ID # V0PAC61, both regarding the phones, the issue of the level of service I was receiving, the dire need for working devices and the multiple times I had been disconnected. I explained to him as a result of these issues I was certainly considering switching to a different provider, a local provider even who could provide me the adequate service that I require for my mobile devices.
I explained to Cory that I had been with Verizon for almost two years, and I had been on a relatives account prior to owning my own Verizon account and had never received this kind of treatment when trying to work towards a simple solution. Cory proceeded to tell me he needed to put me on hold to see if there was anything that could be done regarding the upgrades of the device considering all of the trouble I had been dealing with.
After Cory reconnected with me in the phone call he was able to successfully reach a solution by allowing me to upgrade my devices. We conversed about the options available and I eventually decided to upgrade both Iphone 4 devices to Moto X devices as we determined those would be sufficient for my needs while in Alaska. I also proceeded to add two Otter Box Defender cases to the order so that the devices would have sufficient protection. Cory inquired as to whether or not I would like to purchase insurance for the phones as well and I opted for the $5.00 monthly insurance which including damage and water protection.
Cory explained to me the grand total for the devices which included an activation fee of $35.00 for each device, $49.99 for each Otter Box case, and an additional $50.00 for each device which would be refunded as a rebate upon receipt of the devices and activation, a rebate that I would be required to submit. Cory explained to me that the devices would most likely arrive Tuesday of 6/17 and no later than Wednesday 6/18.
Cory took my shipping information and told me everything was all set and the only thing left to do was to transfer me to the automated service so that I could accept the 2 year agreement for both devices. I thanked him very much, took his name and ID# so that I might leave positive feedback about his exemplary customer service and was then transferred to the automated service.
Once transferred to the automated service I was then prompted to enter both telephone numbers for the devices that would be upgraded, I was then required to accept the new 2 year agreement for both devices and after doing so I was required to end the call. I did so in an orderly fashion and expected a confirmation # to arrive in my email regarding the placed order.
I have never received a confirmation email. I decided to sleep on it and assumed a confirmation email would be sent sometime tomorrow. Nothing has since been received however. I woke up early this morning around 6AM Alaska time to speak to another live chat representative, Bryan, in the billing department who assured me the order was currently processing and verified the order #. I asked him whether or not it was typical for a customer to not receive a confirmation email for an order placed and he said it can sometimes take up to 2-3 business days. He then stated that he had taken note of the issues I was experiencing and told me he would transfer me to the sales department as they would be able to provide more information regarding the shipment of both devices and a confirmation email, as he stated he did not want me to have to wait any longer than necessary to receive said devices.
I was then transferred to Devon in the sales department via the live chat service where I was then required to repeat everything I had said to both Bryan and the other representatives I had spoken too. After a lengthy discussion and repeating everything I have just wrote he told me the order was indeed processing and that he would send a confirmation email in the next 30 minutes.
That was 2 hours ago. It is now 8am Alaska time and I still have not received a confirmation email regarding my order. I was sent an email by Verizon an hour ago stating I had a device to "discover". The email contained no information regarding the shipment of my device, the order confirmation number, or anything regarding my account. The email I received was a typical spam email asking an individual to check out the current available phones and sign up for a new contract.
All I want is a confirmation email to assure that the devices are being sent. I need my phone for work and to communicate with my family in the lower 48. I desperately need to make sure that the device is in fact being sent to the proper address, this is why a confirmation email of the order is so important. I do not care about the shipping speed I just want what I ask to be taken care of for a change. I would hate to sit here unable to determine what the status of my devices are only for the order to be stuck in "processing" limbo and be unable to receive the devices when I was told they would be sent.
I feel I have been given the run around treatment way more than is typically given with any company when an individual is trying to work towards a solution. I have been patient and cordial with everyone I have spoken with, I have not raised my voice or shown stress or anger towards the situation I have only tried my best to work towards a solution with anyone I have spoken too but I am becoming increasingly frustrated with this situation.
Any help regarding this matter would be greatly appreciated. This situation has left a sour taste in my mouth and if the devices were indeed not actually processed in an order, or they were not shipped correctly, or in fact if the order had never existed at all it will only deter me from keeping my Verizon account active and affect my decision to switch to another provider.Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
WiltonA_VZW
VZW Support
Follow us on twitter @VZWSupport -
Vendor Line item with Opening and Closing Balances report regarding
Dear All,
I need a report for vendor line items with Opening and Closing balances.
Thanks in advance
SateeshHi
Try S_ALR_87012082 - Vendor Balances in Local Currency
Regards
Sanil Bhandari -
Regarding training and event management queries
hi experts,
in my company we have ess in which training and event management module is working fine.i need to develop a report in which training booked against employee through tc-psv1 means in sap-r/3 and through ess means tc-pv8i will come.means saggregation for sap r/3 and ess will come.
please help me regarding this.
how will i identifie that training has been booked against employees through sap r/3 or ess on what paramenet we will identifie.
plz help me....
is there any function module;....solved by own
-
Regarding Exporting and Importing internal table
Hello Experts,
I have two programs:
1) Main program: It create batch jobs through open_job,submit and close job.Giving sub program as SUBMIT.
I am using Export IT to memory id 'MID' to export internal table data to sap memory in the subprogram.
The data will be processed in the subprogram and exporting data to sap memory.I need this data in the main program(And using import to get the data,but it is not working).
Importing IT1 from memory id 'MID' to import the table data in the main program after completing the job(SUBMIT SUBPROGRAM AND RETURN).
Importing is not getting data to internal table.
Can you please suggest something to solve this issue.
Thank you.
Regards,
Anand.Hi,
This is the code i am using.
DO g_f_packets TIMES.
* Start Immediately
IF NOT p_imm IS INITIAL .
g_flg_start = 'X'.
ENDIF.
g_f_jobname = 'KZDO_INHERIT'.
g_f_jobno = g_f_jobno + '001'.
CONCATENATE g_f_jobname g_f_strtdate g_f_jobno INTO g_f_jobname
SEPARATED BY '_'.
CONDENSE g_f_jobname NO-GAPS.
p_psize1 = p_psize1 + p_psize.
p_psize2 = p_psize1 - p_psize + 1.
IF p_psize2 IS INITIAL.
p_psize2 = 1.
ENDIF.
g_f_spname = 'MID'.
g_f_spid = g_f_spid + '001'.
CONDENSE g_f_spid NO-GAPS.
CONCATENATE g_f_spname g_f_spid INTO g_f_spname.
CONDENSE g_f_spname NO-GAPS.
* ... (1) Job creating...
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = g_f_jobname
IMPORTING
jobcount = g_f_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE e469(9j) WITH g_f_jobname.
ENDIF.
* (2)Report start under job name
SUBMIT (g_c_prog_kzdo)
WITH p_lgreg EQ p_lgreg
WITH s_grvsy IN s_grvsy
WITH s_prvsy IN s_prvsy
WITH s_prdat IN s_prdat
WITH s_datab IN s_datab
WITH p1 EQ p1
WITH p3 EQ p3
WITH p4 EQ p4
WITH p_mailid EQ g_f_mailid
WITH p_psize EQ p_psize
WITH p_psize1 EQ p_psize1
WITH p_psize2 EQ p_psize2
WITH spid EQ g_f_spid
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
VIA JOB g_f_jobname NUMBER g_f_jobcount AND RETURN.
*(3)Job closed when starts Immediately
IF NOT p_imm IS INITIAL.
IF sy-index LE g_f_nojob.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = g_f_jobcount
jobname = g_f_jobname
strtimmed = g_flg_start
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
gs_jobsts-jobcount = g_f_jobcount.
gs_jobsts-jobname = g_f_jobname.
gs_jobsts-spname = g_f_spname.
APPEND gs_jobsts to gt_jobsts.
ELSEIF sy-index GT g_f_nojob.
CLEAR g_f_flg.
DO. " Wiating untill any job completion
LOOP AT gt_jobsts into gs_jobsts.
CLEAR g_f_status.
CALL FUNCTION 'BP_JOB_STATUS_GET'
EXPORTING
JOBCOUNT = gs_jobsts-jobcount
JOBNAME = gs_jobsts-jobname
IMPORTING
STATUS = g_f_status
* HAS_CHILD =
* EXCEPTIONS
* JOB_DOESNT_EXIST = 1
* UNKNOWN_ERROR = 2
* PARENT_CHILD_INCONSISTENCY = 3
* OTHERS = 4
g_f_mid = gs_jobsts-spname.
IF g_f_status = 'F'.
IMPORT gt_final FROM MEMORY ID g_f_mid .
FREE MEMORY ID gs_jobsts-spname.
APPEND LINES OF gt_final to gt_final1.
REFRESH gt_prlist.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = g_f_jobcount
jobname = g_f_jobname
strtimmed = g_flg_start
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc = 0.
g_f_flg = 'X'.
gs_jobsts1-jobcount = g_f_jobcount.
gs_jobsts1-jobname = g_f_jobname.
gs_jobsts1-spname = g_f_spname.
APPEND gs_jobsts1 TO gt_jobsts.
DELETE TABLE gt_jobsts FROM gs_jobsts.
EXIT.
ENDIF.
ENDIF.
ENDLOOP.
IF g_f_flg = 'X'.
CLEAR g_f_flg.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
IF sy-subrc <> 0.
MESSAGE e539(scpr) WITH g_f_jobname.
ENDIF.
COMMIT WORK .
ENDDO. -
I'm trying to find an outlet for the frustration I feel regarding the "upgrade" that replaced my full screen picture for my contact numbers to a tiny, little dot in the right hand corner. Are they going to give us an option to go back or did someone just need to justify their job by making changes??
Apple.com/feedback
Maybe you are looking for
-
Hi, For a particular timecard. The timesheet has 2 versions. The days has 2 versions, but the detail have 3. So the max version number on the timesheet is 2. The max version number on the DAYS is 2. But the max version number in the detail is 3.
-
I know how to have multiple buttons/routes on a form served up within the workflow, but how do I have two on the form when pulled up by the originator?
-
How do you unlock an Ipod Touch if you have exceeded your attempts for a valid password. I have connnected the Ipod to my host computer, but the computer doesnt recognize the Ipod because it is locked. The error I get on the Ipod is "Ipod Disabled
-
FM SO_NEW_DOCUMENT_SEND_API1 short dump
hello experts, im using the FM SO_NEW_DOCUMENT_SEND_API1 to send email. my program encounters short dump. here is my code: * p_text_alert = The Maximum Blocked Time limit has been exceeded for DL13LT. in 0082 * lt_receptores-rec_id = AVISOLOG0082 * t
-
Blackberry Z10 - BDS 6.2.0, recurring account authentication request message
We are having problem when activting user with the correct acount password on Blackberry Z10 mobile. The BDS is under the active directory enviroment, and we have logon on access security for every staff member. The Blackberry Z10 will not active use