Getting input for atleast one variable present in the report
Hi All,
I want to create a report with the below requirement.
If user didn't enter the value for any of the customer exit varaibles(ZCALDAY, ZCALMNTH and ZCALYEAR), then it should not allow user to generate the report. It should give a message or popup and return to the selection screen for getting the value for the input variable. Basically, it should get input for atleast one variable.
Please help me in this issue.
Regards,
Yokesh Kumar.
Hi All,
I have written the below code for my requirement.
when 'zcalday' or 'zcalmnth' or 'zcalyear'.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT,
count type i.
IF I_STEP = 3.
count = 0.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'zcalday' or VNAM = 'zcalmnth' or VNAM = 'zcalyear'.
IF LOC_VAR_RANGE-LOW is initial.
count = count + 1.
ENDIF.
ENDLOOP.
if count EQ 3.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'I'
I_NUMBER = '000'
I_MSGV1 = 'Please give inout for atleast one varialbe''.
RAISE no_replacement.
endif.
ENDIF.
Is there any fault in the below code? Please let me know if there is anything to correct...
Regards,
Yokesh Kumar.
Similar Messages
-
My hard drive fried and had to be replaced. I'm trying to install CS4 from my original discs but keep getting this error message - "One or more of the required components of Adobe Creative Suite 4 Design Standard failed to install correctly". A customer service rep gave me a link to download off the Adobe site, but when I try to open the file to run it, I get this error message - "A problem occurred extracting the archive".
Can anyone help?Yep. Nothing happens at all. Windows tries to execute the uninstaller, but I don't get any other screen and all activity stops for the MSI. I monitored it in Process Monitor and the MSI executable appears, but is quickly ended, like it couldn't find anything or something.
It's as if windows has a blank entry in Programs and Features, because it used to show the size of the Adobe application in the "Size" column. Now it's just blank. Link to screenshot below:
http://img829.imageshack.us/img829/5006/screenshotcaf.jpg
Note the install date. That's when I was able to successfully reinstall it. Now I can't even do that. I should also mention I tried Revo Uninstaller. It deleted one small registry key, but nothing changed.
By the way, is the CS cleaner supposed to ask for a disc in the drive when you run it? It refused to run unless I had one in it, so I used my install dvd. -
When downloading a CD album, if it contains different artists, the album is split up into separate albums/icons. How do I get all songs into one album (just like the original CD)?
Generally, in iTunes, all you need to do is fill in an appropriate Album Artist to keep things together. For older iPods each track from the same album should have the same artist, or be marked as a compilation where appropriate. For iOS devices you may need to go to Settings > Music > Group By Album Artist > On.
For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
tt2 -
PLEASE HELP ME I AM WONDERING IF I CAN CHANDE MY IPOD FOR ANOTHER ONE I DIDNT BUY THE WARANTY OR THE PROTECTION BUT I JUST HAVE 4 DAYS WHITH IT
Yes, just go in and explain the problem. If you have the receipt thats ok but it is not required, the can verify the warranty using the serial number. They may run some diagnostics on it, and if there is indeed a hardware issue then you will get a replacement.
-
I bye Element 11 for over one years ago, have the DVD with serienumber. Have now an solidstate disk in my DVD port. So I will download Element 11 from you homesite do you have the link?
MVh
Ulf GarpnellPSE 10, 11, 12 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
PE 10, 11, 12 - http://helpx.adobe.com/premiere-elements/kb/premiere-elements-10-11-downloads.html -
I paid for a one year subscription to "the daily" and after 6 days I was notified my subscription had expired. The Daily support does not respond. How can I resolve this?
Hi there,
Your subscription was started on Mar 27, 2014 and ended on Mar 27, 2015. Since then no new renewal has happened.
If you have received a new code from your college then please visit https://creative.adobe.com/redeem to start your membership again.
^Ani -
Who do i get lion for free, when i bought it the 17/6
Who do i get lion for free, when i bought it the 17/6?
If you are in the US go here:
http://www.apple.com/macosx/uptodate/
It could be in your country's Apple website like this (Canada - ca):
http://www.apple.com/ca/macosx/uptodate/
If its not there then try the regional apple website like:
http://www.apple.com/asia/macosx/uptodate/
Country chooser page:
http://www.apple.com/choose-your-country/ -
‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?
Hi Febin,
In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
can then enter the information for their projects in the same workbook.
Regarding how to do this,
the following article can be referred to reference.
Use a shared workbook to collaborate
http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
Best regards,
Frank Shen -
Portal asking for Login details again while executing the reports
Hi Team,
Our Portal is asking for Login details again while executing the reports individually.
The issue is the if i enter the same PORTAL Login credentials, its showing as Authentication failed.
PLEASE ADVICE ASAP.
thanks & regards
SnehaHi Kiran,
I have recently taken up this portal.. so not clear on the structure.
however, I observed there was no user mapping available.. so i added the same with my login credentials..
stil the issue persists.
Please advice.
Sneha -
Getting an error " Atleast one entry could not be found in object buffer"
Hi All,
I m facing an peculiar problem while executing a custom Function Module.I have written a custom FM to create a service request and fetch the obj ID and return it back.When i tested the same in debugging mode everything is working fine. But when i execute it directly, It is giving me an error saying " Atleast one entry could not be found in object buffer" at the bottom of the screen and return parameters are not displayed.
Any pointers on this would be of great help.
Thanks,
EurekaHi Phani,
PFB the source code. Please look in to this at your convenient time..
FUNCTION ZSERVICE_TICKET_INC_EDIORDERS.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(ZPROCESS_TYPE) TYPE CRMT_PROCESS_TYPE
*" EXPORTING
*" REFERENCE(ZOBJECT_ID) TYPE CRMT_OBJECT_ID_DB
* PARAMETER QUANTITY TYPE CRMT_SCHEDLIN_QUAN.
* DATA DECLARATION FOR LOCAL VARIABLES
DATA : lv_header_guid TYPE GUID_32,
lv_header_guid16 type guid_16,
lv_item_guid TYPE guid_32,
lv_sched_guid TYPE guid_32,
lt_header_guid16 type CRMT_OBJECT_GUID_TAB,
wa_header_guid16 like line of lt_header_guid16.
DATA: itab_header TYPE STANDARD TABLE OF bapibus20001_header_ins,
itab_created_process TYPE STANDARD TABLE OF bapibus20001_header_ins,
itab_objects_to_save TYPE STANDARD TABLE OF bapibus20001_guid_dis,
itab_partner TYPE STANDARD TABLE OF bapibus20001_partner_ins,
itab_input_fields TYPE STANDARD TABLE OF bapibus20001_input_fields,
itab_return TYPE STANDARD TABLE OF bapiret2,
lt_orderadm_h type CRMT_ORDERADM_H_WRKT.
* DATA DECLARATION WORKAREAS
DATA: wa_header TYPE bapibus20001_header_ins,
wa_partner TYPE bapibus20001_partner_ins,
* wa_item TYPE bapibus20001_item,
* WA_SCHEDLIN_I TYPE BAPIBUS20001_SCHEDLIN,
ls_inputfields TYPE bapibus20001_input_fields,
wa_objects_to_save LIKE LINE OF itab_objects_to_save.
* wa_pricing TYPE bapibus20001_pricing,
* wa_sales TYPE bapibus20001_sales,
* wa_shipping TYPE bapibus20001_shipping,
* wa_product_i TYPE bapibus20001_product.
* wa_schedlin_i LIKE LINE OF lt_schedlin_i,
* wa_schedlines LIKE LINE OF lt_schedlines,
DATA: wa_created_process LIKE LINE OF itab_created_process,
itab_saved_objects TYPE STANDARD TABLE OF bapibus20001_object_id,
wa_saved_objects LIKE LINE OF itab_saved_objects,
gc_x TYPE c.
gc_x = 'x'.
* CREATION OF HEADER GUID
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = lv_header_guid16
ev_guid_32 = lv_header_guid.
CLEAR : wa_header.
data: temp type CRMT_OBJECT_GUID_TAB.
*temp = (CRMT_OBJECT_GUID_TAB)lv_header_guid16.
* Passing the respective values from the Header table to internal table.
wa_header-guid = lv_header_guid.
* zprocess_type = 'ZSC'.
wa_header-process_type = zprocess_type.
* wa_header-description = 'MY S2D ORDER'.
APPEND wa_header TO itab_header.
*Appending the values to the ITAB_HEADER.
* ls_inputfields-ref_guid = LV_HEADER_GUID.
* ls_inputfields-REF_KIND = 'A'.
* ls_inputfields-objectname = 'ORDERADM_H'.
** ls_inputfields-logical_key = ' '.
* ls_inputfields-fieldname = 'PROCESS_TYPE'.
* APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
* CLEAR ls_inputfields.
* HEADER PARTNER DETAILS
wa_partner-ref_guid = lv_header_guid.
wa_partner-ref_kind = 'A'.
wa_partner-ref_partner_handle = '0001'.
wa_partner-partner_fct = '00000001'.
wa_partner-partner_no = '1000007'.
wa_partner-no_type = 'BP'.
wa_partner-display_type = 'BP'.
APPEND wa_partner TO itab_partner.
* APPENDING THE ITAB_PARTNER TO INPUT_FIELDS
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'REF_PARTNER_HANDLE'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****PARTNER_FCT*********************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'PARTNER_FCT'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****PARTNER_NO**********************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'PARTNER_NO'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****NO_TYPE*************************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'NO_TYPE'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
****DISPLAY_TYPE********************************
ls_inputfields-ref_guid = lv_header_guid.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = '0001'.
ls_inputfields-fieldname = 'DISPLAY_TYPE'.
APPEND ls_inputfields TO itab_input_fields.
CLEAR ls_inputfields.
*****KIND_OF_ENTRY*******************************
* ls_inputfields-ref_guid = LV_HEADER_GUID.
* ls_inputfields-REF_KIND = 'A'.
* ls_inputfields-objectname = 'PARTNER'.
* ls_inputfields-logical_key = '0001'.
* ls_inputfields-fieldname = 'KIND_OF_ENTRY'.
* APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
* CLEAR ls_inputfields.
*Calling a standard BAPI to create SALES OREDER using the filled internal tables.
CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
TABLES
header = itab_header
* item = itab_item
return = itab_return
partner = itab_partner
input_fields = itab_input_fields
created_process = itab_created_process.
* APPOINTMENT = ITAB_APPOINTMENT
* TEXT = ITAB_TEXT
* scheduleline = lt_schedlin_i
* pricing = itab_pricing
* sales = itab_sales
* shipping = itab_shipping
* product = itab_product_i.
READ TABLE itab_created_process INTO wa_created_process WITH KEY guid = lv_header_guid BINARY SEARCH.
wa_objects_to_save-guid = wa_created_process-guid.
* Appending the Guid of the SALES ORDER to be saved to the internal table
APPEND wa_objects_to_save TO itab_objects_to_save.
* Calling standard BAPI to save the process.
CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
EXPORTING
update_task_local = space
save_frame_log = gc_x
TABLES
objects_to_save = itab_objects_to_save
saved_objects = itab_saved_objects
return = itab_return.
* Calling the Standard BAPI to Commit the transcation.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
wa_header_guid16 = lv_header_guid16.
append wa_header_guid16 to lt_header_guid16.
* Calling CRM_ORDER_READ to get the object id and add line item to the order
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
IT_HEADER_GUID = lt_header_guid16
IMPORTING
ET_ORDERADM_H = lt_orderadm_h
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data: object_id type CRMT_OBJECT_ID_DB,
wa_orderadm_h like line of lt_orderadm_h.
read table lt_orderadm_h into wa_orderadm_h WITH KEY guid = lv_header_guid.
object_id = wa_orderadm_h-object_id.
Zobject_id = wa_orderadm_h-object_id.
WRITE: / 'Object ID: ',object_id.
ENDFUNCTION. -
Line separator to get multiple records in one variable
Hi Experts,
I have a requirement where i need to get data in the below form , in exactly one variable.
Invoice No. Inv. Date Voucher Gross Amount TDS Amount Discount Paid Amount
986013092,17 04/08/2010 00091217 32415.00 .00 .00 32415.00
Bharti Infot 27/07/2010 00091230 19600.00 .00 .00 19600.00
9860442689 04/08/2010 001247 47374.00 .00 .00 47374.00
2031565000,2031565000Total Amount 99389.00 .00 .00 99389.00
As of now, I have written the following,
loop at lt_merge into ls_merge.
lv_skfbt = ls_MERGE-SKFBT.
lv_budat = Ls_MERGE-budat.
lv_wskto = Ls_MERGE-wskto.
lv_wrbtr = Ls_MERGE-wrbtr.
lv_WT_QBSHB = ls_merge-WT_QBSHB.
concatenate invoice_id
ls_merge-BELNR
lv_BUDAT
ls_merge-XBLNR
lv_skfbt
lv_wt_qbshb
lv_WSKTO
lv_wrbtr
into invoice_id separated by space.
endloop.
which gives me one row of the table where, invoice_id stores my entire one record as a string. My question is how do I proceed with separating the lines if I have multiple records?
Thanks in advance..
Regards,
TrishnaHI
choose some character that will be not use in your data for example '|' vertical separator. You will get string:
invoice_id = line1 | line2 | line3 |.....
loop at lt_merge into ls_merge.
lv_skfbt = ls_MERGE-SKFBT.
lv_budat = Ls_MERGE-budat.
lv_wskto = Ls_MERGE-wskto.
lv_wrbtr = Ls_MERGE-wrbtr.
lv_WT_QBSHB = ls_merge-WT_QBSHB.
concatenate invoice_id
ls_merge-BELNR
lv_BUDAT
ls_merge-XBLNR
lv_skfbt
lv_wt_qbshb
lv_WSKTO
lv_wrbtr
into invoice_id separated by space.
new code
concatenate invoice_id '|' into invoice_id
endloop. -
My itunes files were deleted. I was able to use an old back up file to restore some but new downloaded purchases from iTunes for the past 5 months weren't in the back up. How do I get those back since I've paid for them one before? Can you redownload? If so, how?? Please help as I'm missing over 500 previously paid for and downloaded iTunes song purchases.
This was EXACTLY what I needed about the purchases I made from my device. However, is there a way to re-download other ones you've made from a computer? Because I realized some of them were not just purchased from my device.
This is a picture of what it looks like now:
http://tinypic.com/r/107quxu/7
As you can see, the stuff circled in red doesn't give me an option to download from Cloud Beta because it already says "downloaded".
any way to get around that? -
Get input for 100 dynamic fields in a single screen
Hi all
I got one requirement wherein i need to accept input for around 100 dynamic fields in a single screen. screen can scroll down if possible.
Can anyone tell me whether it is possible. if yes please let me have the sample code.
Thanks
Ravindra SuvarnaRavi,
Probably a TAB STRIP might help you.
Seggregate your 100 fields logically, say 5 groups.
Have a TAB STRIP CONTROL, with 5 tab strips and place 20 fields in each of the tabs. Each tab strip will have a sub screen.
Regards,
Ravi
Note : Please mark the helpful answers. -
Issue with customer exit for copying one variable value to another
Hello Gurus,
I need to copy the value of a single value variable into another single customer exit variable.
I coded as below.
WHEN 'customer_exit_var'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'user_input_Variable'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
L_S_RANGE-HIGH = ''.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
I used the condition <= for the customer exit variable in the report. But, it is considering only single value, but not all the values <= to the give value.
Please help me in this regard,
Thanks,
Aarthi.Thanks for your immediate response Govind.
My report is restricted based on two dates. Date1 and Date2. Need to consider all records whose dates are <= Date1 and <= Date2.
Date1 and Date2 should have same values. But user inputs only Date1.
So, I created Date1 as Single, User Input Variable restricted the query with <=Date1.
Next I created Date2 as Single, Customer Exit Variable and restrcited the Query with <=Date2.
In CMOD I used the above code to assigne Date1 Value to Date2.
When I execute the report, say I give todays date in the report (Dec, 12, 2007). Date2 has to consider all the values <= Dec 12, 2007. But, in my case it is considering only Dec 12, 2007, but not the before dates.
So, Please help me in solving this problem.
Thanks,
Aarthi. -
How to input more than one currency field into the transfer rules?
hi experts,
how to input more than one currency as well as unit fields in transfer rules, when i am giving two currency fields in flatfile the same structure could not able to get in transfer rules ( 0currency).
pl give me the procedure to input more than one currency field.
thanks & regards
venkatHi Venkat,
For example - for amount kf - if you have 0currency as ref object and included in transfer rules and for other kf - create a Zcurr object and try to include...hope it works.
Thanks,Ramoji.
Maybe you are looking for
-
Cant read a part of xml file using AS3
Hi i can read everything from my xml file except a part that i can always get teh first items of each category (it will make more sence in a sec) So here is my xml [HTML]<?xml version="1.0" encoding="UTF-8"?> <flashxml> <second_page> <sp text="
-
The Silverlight plugin crashes every time i try to watch a video at the Universal Sports website. I have uninstalled this plugin and re-enstalled it many times with no success
-
A function to insert SQL which creates insert SQL
I realise this is a bit recursive, but my users are a demanding lot! We want to store in a table the instruction to check if AUDIT_SYS_OPERATIONS is TRUE and to store the result of that check in some sort of an audit table. In other words, the basic
-
Pen Tool Selection Keyboard Shortcut
Hi Sir/Mdm, I am using Photoshop CS5 and I am humbly seek help and tip to perform a keyboard shortcut to make selection after pen tool has traced the image. Any assistance is greatly appreciated.
-
How can I see the list of the deleted files
My brother thery probably deleted my web page... And I have to prove to my parents that is not a coincidence that he was the only guy at home and the best proof would be the time of the deleting. Is there any list of the files putted in the trash, or