Delete entries from custom infotype overview screen
Hi
I have the requirement to delete few fields from overview screen(Screen 3000) from my custom infotype.
Can I go to screen 3000, and CUT (delete) the fields which are not required? or any other procedure?
Did anyone get similar requirement?
Please help me in this regard.
Thanks in advance.
HI
I tried hiding it with the help of code.
Still not able to achieve the result.
THe below is the code what I am using.
Please check it and suggest me.
if psyst-ioper EQ 'LIS0' or
psyst-ioper EQ 'LIS1' or
psyst-ioper EQ 'LIS9' .
loop at SCREEN.
if screen-name EQ '*P9009-ZWCADM' or screen-name = 'P9009-ZWCADM'.
screen-active = 0.
endif.
MODIFY SCREEN.
endloop.
endif.
Still able to see the fields on the screen.Not being hidden.
Similar Messages
-
Adding field from Custom Infotype in Screen Header-PA30
Hi all,
Can we add the fields from custom infotype to the screen header in PA30? When I tried through Change Screen Modifications, I could not see the custom infotype in the Infotype column, so I could not select the required field.
Please guide.
Thanks in advance.Hi,
When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
Hope this helps.
Donnie -
Custom Infotype - Overview Screen ( Screen 30000
Hi All,
I have developed a custom infotype. Need some inputs regarding the overview/List screen Please !
the overview screen primarily is used to list the records for date ranges.i.e. every line / row will have a unique date range for which the record is valid.
But is there a way in which we can get multiple rows for a date range in List Screen ??
example.. If screen 2000(create/display screen) has 3 rows( Listed below) for a date range Date1 to Date2.
(these records below are in the table control).
Row 1. Name1 Age1 Dob1
Row 2. Name2 Age2 Dob2
Row 3. Name3 Age3 Dob3 ... and so on..
Now the List Screen / Overview screen 3000 - This is how its needed to be seen...
Row1 Date1 Date2 Name1 Age1 Dob1
Row2 Date1 Date2 Name2 Age2 Dob2
Row3 Date1 Date2 Name3 Age3 Dob3
Instead of (This is what comes up on Screen 3000 now)
Date1 Date2 Name1 Age1 Dob1 Name2 Age2 Dob2 Name3 Age3 Dob3
( The Screen Layout has been modified to add columns to accomodate Name2 Age2 ..... etc)
Any suggestions/inputs will be highly appreciated !
Regards,
MarkHI
I tried hiding it with the help of code.
Still not able to achieve the result.
THe below is the code what I am using.
Please check it and suggest me.
if psyst-ioper EQ 'LIS0' or
psyst-ioper EQ 'LIS1' or
psyst-ioper EQ 'LIS9' .
loop at SCREEN.
if screen-name EQ '*P9009-ZWCADM' or screen-name = 'P9009-ZWCADM'.
screen-active = 0.
endif.
MODIFY SCREEN.
endloop.
endif.
Still able to see the fields on the screen.Not being hidden. -
Deleting entries from custom tables....
Hello,
I have a custom table ZCUST (client dependent) from where I want to delete all entries. How do I achieve this ? There are two key fields in this table key1 and key2.
Regards,
Rajesh.Hi Rajesh,
try this one...
DATA: lt_add TYPE zadd OCCURS 0 WITH HEADER LINE.
SELECT *
FROM zadd
INTO TABLE lt_add.
DELETE zadd FROM TABLE lt_add.
IF sy-subrc = 0.
ULINE.
ENDIF.
Best regards,
raam -
Cannot delete entries from custom Infostructure using OLIX
Hi,
I have created a custom info structure S970 for MRP. The data is being populated to this info structure using an ABAP program which reads from an excel file input by the user. Insert / Modify are used to write from itab to S970 in the program. The data is being read in file and written to S970 correctly. Version is specified by the user using a parameter like S970-VRSIO.
However, when I try to delete these entries using transaction OLIX, it does not show version or delete data. E.g., version is 002. In F4 help for field source version in OLIX, it is not showing version 002, only 000 - Actual data and A00, active version. If I input 002 manually and try to delete it gives me a message saying that deletion is successful. However, when viewing in SE11/SE16, S970 still shows all entries with version 002. Help is greatly appreciated, thanks.
RegardsFacing same issue here.. please some one help me how to solve this issue?
-
Hi folks,
I have delete program to delete entries from a custom table and has only one feld in it.
tables: ZABC
selection-screen begin of block B1 with frame title text-110.
select-options: P_KOSTL for ZABC-KOSTL.
selection-screen end of block B1.
delete from ZABC where KOSTL in P_KOSTL.
Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
what is it I am missing?
Thanks,
SKHi,
Try this sample code..Replace ZABC with your table..
TABLES: ZABC.
selection-screen begin of block B1 with frame title text-110.
select-options: P_KOSTL for ZABC-KOSTL.
selection-screen end of block B1.
START-OF-SELECTION.
* Delete the records from the table.
DELETE FROM ZABC where KOSTL IN P_KOSTL[ ]. " [] for the select-options.
IF sy-subrc <> 0.
ROLLBACK WORK.
ELSE.
COMMIT WORK.
ENDIF.
Thanks,
Naren -
Unable to delete entries from queue (SMQ2)
Hi
I am unable to delete entries from inbound queue due to number of entries are too high (Approximately 160,000). Deletion in dialog mode producing timeout error...Is there any way to delete these entris in background mode or any other idea about this situation..
Your valuable time & annswer appreciated.
Thanks
RakeshHi Rakesh,
Check these threads on SMQ2. It may give some help to you:
Queue issue
deleting the inbound queue tc smq2
Also check this file:
http://help.sap.com/saphelp_nw04s/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm
Regards,
Subhasha Ranjan -
Is there any BAPI or function module to delete entries from a table (VBAK)
Hi Everybody,
this is my first thread in SDN...
my problem follows...
A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
tables:
VBAK sales document: header data
selection fields:
VBAK-LIFSK ≠ <BLANK>
VBAK-ERNAM = userID used by e-Sales / IVE
(EP-BATCH / EAI-BATCH)
VBAK-ERDAT <= Current system Date
VBAK-ERZET <= Current system Time - 20 minutes
These orders should be deleted from SAP system.
This report should be scheduled to run regularly every 10 minutes.
my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
best replies will be rewarded....
regards
ReddyHi Vasanth ,
thanks for your reply.
i tried in the same manner what u mentioned.
but how to pass only one parameter to the functionmodule..
here in this case we have to pass only update flag as 'D'..
i did the same it giving dump..
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.
my pgm :
*& Report YNEW_ORDER_DELETION
REPORT ynew_order_deletion.
TABLES:vbak.
PARAMETERS:
p_lifsk LIKE vbak-lifsk DEFAULT '02'.
SELECT-OPTIONS:
s_lifsk FOR vbak-lifsk DEFAULT '10',
s_ernam FOR vbak-ernam,
s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
s_erzet FOR sy-uzeit.
*PARAMETERS:
p_erzet LIKE sy-uzeit.
s_erdat like vbak-erdat,
s_erzet like vbak-erzet.
DATA:
BEGIN OF int_final OCCURS 0,
w_vbeln TYPE vbak-vbeln,
END OF int_final.
DATA:
int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
DATA:
wf_time TYPE sy-uzeit.
INITIALIZATION.
s_ernam-low = 'KULKARMA'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
s_ernam-low = 'EAI-BATCH'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
wf_time = sy-uzeit - 1200.
p_erzet = sy-uzeit - 1200.
p_erzet-low = wf_time.
APPEND s_erzet.
int_order_header_inx-updateflag = 'D'.
APPEND int_order_header_inx.
START-OF-SELECTION.
SELECT vbeln FROM vbak
INTO TABLE int_final
WHERE lifsk EQ p_lifsk
AND ernam IN s_ernam
AND erdat IN s_erdat
AND erzet IN s_erzet.
IF sy-subrc = 0.
LOOP AT int_final.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = int_final-w_vbeln
ORDER_HEADER_IN =
order_header_inx = int_order_header_inx
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
NO_STATUS_BUF_INIT = ' '
TABLES
return = int_return
ORDER_ITEM_IN =
ORDER_ITEM_INX =
PARTNERS =
PARTNERCHANGES =
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
SCHEDULE_LINES =
SCHEDULE_LINESX =
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN =
CONDITIONS_INX =
EXTENSIONIN =
ENDLOOP.
LOOP AT int_return.
WRITE:/ int_return-type,
int_return-id,
int_return-number,
int_return-message.
ENDLOOP.
ENDIF.
please help me ..its a very urgent issue to be solved...
am waiting for ur reply...
regards
gangareddy -
Update Z table from Custom pop up screen
Hi All,
I need to enhance CC01 transaction.
CC01 is used to create Change Numbers.
My requirement is when Profile(Input field in CC01) is entered into initial screen of CC01 and enter key is hit, a custom pop up screen should be raised. This pop up screen will have 10 input fields from Z table. So when the user enters values in the input fields of pop up screen, I need to capture these values. When processing of CC01 is complete and saved system generates a Change Number, then I need to update the Z table with the values from custom pop up screen to the corresponding Change Number (Generated after Save)in Z table
I have found the customer enhancement for raising Pop up screen pccd0005 (EXIT_SAPMC29C_006).
My problem is how to link the pop up screen values with the Change number and update the Z table.
Change Number is generated after CC01 Save.
Can any one help me how to achieve this functionality?
Thanks in advance
Bhasker<u>Syntax:</u>
EXPORT param_1 TO MEMORY ID 'EXIT_PCCD'.
IMPORT param_1 FROM MEMORY ID 'EXIT_PCCD'.
FREE MEMORY ID 'EXIT_PCCD'.
Please look into the F1-help on Export/Import statements for more details.
Message was edited by: Sam -
Delete entries from Database table t71inp1
Hi,
I want to Delete entries from Database table t71inp1. Its a H R Table. I want to know the exact code.
i saw the cide delete bkpf where usnam = p_name.
Will it work the same here. Also.
Please let me know.
I hope to get reply from you soon.
where should i write the code. i.e. Tcode SE38 and directly deeleting write the code.
Please give me some inputs. I am new to H R ABAp
Shivakumar K B
919886920258hi
You can write a program in se38.
create a program.
use delete from t71inp1 where<condition> command in it. -
How to use macro to pull data from custom infotype?
Hi all,
Is rp_provide_from_last p9004 space pn-begda pn-endda. works?
i am getting all zeros .
is using macros possible pull data from custom infotype? or only select?
Regards
sas
For LDB PNPCE
get peras:Hi,
Try the following Macro it will solve out your problem,
DEFINE rp_provide_from_last.
rp_found = '0'.
clear: rp_tabix.
loop at &1.
if &2 ne space.
check &1-subty eq &2.
endif.
if &1-begda le &4 and &1-endda ge &4.
rp_found = '1'.
exit.
endif.
if &1-begda le &4 and &1-endda ge &3.
rp_tabix = sy-tabix.
endif.
endloop.
if rp_found eq '0'.
if rp_tabix ne 0 .
rp_found = '1'.
read table &1 index rp_tabix.
else.
clear: &1.
endif.
endif.
END-OF-DEFINITION.
rp_provide_from_last <p????> space <begda> <endda>.
Best Regards,
Faisal -
To trigger ADOBE form from Custom Infotype
hello,
I hae create d ADOBE form and want to trigger it on "Save" record from Custom Infotype....
I need this form to be displied as User my do some changes and save it again...
I have used following code to trigger this from module pool...
Data : lv_fm_name type rs38l_fnam.
Data : gs_sfpoutputparams type SFPOUTPUTPARAMS,
gs_sfpdocparams TYPE sfpdocparams,
gs_formoutput TYPE fpformoutput.
Set output parameters and open spool job
gs_sfpoutputparams-nodialog = 'X'. " suppress printer dialog popup
gs_sfpoutputparams-GETPDF = 'X'. " launch print preview
call function 'FP_JOB_OPEN'
CHANGING
ie_outputparams = gs_sfpoutputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
First get name of the generated function module
call function 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'Z_ISR_FORM_Z017'
IMPORTING
e_funcname = lv_fm_name.
EXCEPTION
CX_FP_API_REPOSITORY = 1
CX_FP_API_USAGE = 2
CX_FP_API_INTERNAL = 3.
Set form language and country (->form locale)
gs_sfpdocparams-langu = 'E'.
gs_sfpdocparams-country = SY-LANGU.
gs_sfpdocparams-FILLABLE = 'X'.
Now call the generated function module
call function lv_fm_name
EXPORTING
/1bcdwb/docparams = gs_sfpdocparams
IMPORTING
/1BCDWB/FORMOUTPUT = gs_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
Close spool job
call function 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
But still I'm unable to get form on "Save"..
Please help me.
Regards,
YogeshHi Yogesh,
Just to test ... can you place your code in a report and call the report with submit ... return in your module pool? For the data tables in the interface, you may export them and import them.. this will ensure that everything is good with your code and the place where you call the code from. I believe the issue is Module Pool rather than anything else. But that's just a doubt and we need to do this to confirm it.
Best Regards,
Abd-Al-Aleem -
User Id long field not displayed in communication infotype overview screen
System: SAP 4.7
After HRSP upgrade, in communication infotype overview screen (Program MP010500 and Screen 3000), the user id long field (technical field USRID_LONG) is not displayed for email subtype 0010 and CELL.
For subtype 0001, the field (USRID) is still is visible.
Any help is appreciated.Hi,
Please check OSS note 1561054.
Hope this helps.
Donnie -
Recover deleted entries from ztable
Hi
is there any best method to recover the deleted entries from ztable?Hi Vahi,
1. Find out the exact time when the data has been deleted.
2. Restore THE WHOLE DATABASE on any other server with MSSQL server
running on that. You should not restore the database completely,
rather using "Point-in-time" recovery method. Appoint the time from
the p.1 minus 5 minutes as the end point of the database recovery.
Please refer to the note 193816 for more information.
3. Now the old content of the table ZRATE is there. You can
export the data and then import them into the produtive system.
Afterwards you can delete the restored database, it is not needed
anymore.
Thanks!
Anusha -
How to add the entries and how to delete the entries from custom Z-table?
Hi Experts,
My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
Here how to add the entries from program to Z-table.???
And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
Could you please guide me the logic how to crack this???
Let me know if you need more Info
Thanks
SanjuHi Sanjana,
What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
*Insert Statement
INSERT dbtab
Syntax
INSERT { {INTO target VALUES source }
| { target FROM source } }.
Effect
The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
System Fields
The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
sy-subrc Meaning
0 At least one row was inserted.
4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
The INSERT statement sets sy-dbcnt to the number of rows inserted.
Note
The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
*Modify Statement
MODIFY dbtab
Syntax
MODIFY target FROM source.
Effect
The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
System fields
The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
sy-subrc Meaning
0 At least one line is inserted or changed.
4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
The MODIFY statement sets sy-dbcnt to the number of processed lines.
Note
The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
Hope it helps...
P.S. Please award points if it helps...
Maybe you are looking for
-
Streaming music wirelessly from iMac to stereo
I'm looking to stream music wirelessly from my iMac to my stereo and was wondering if anyone had any advice on what is the best system to do this through. So far I've seen the Logitech Squeezebox, which looks OK, and the Sonos system, which looks gre
-
Problem opening popup from jsf page....
Hi to all....i have a problem, i'm trying to open a popup window using "outputLink". My code is: <h:outputLink value="#" onclick="window.open('#{appManager.basePath}/admin/selectCollection.jsf','','width=600, height=400, resizable=yes, fullscreen=no,
-
JEditorPane and HyperlinkListener Problems
Here's my code: public class WizardHelpScreen extends JFrame implements HyperlinkListener { private Image theIcon = new ImageIcon(getClass().getResource("icon.gif")).getImage(); private JEditorPane helpPane; private JScrollPane helpScrollPane; public
-
Hello, I am somewhat new to newtworking and I was tasked with getting Solarwinds to communicate with all of our network equipment. I have been able to get everything into Solarwinds and recognized but our ASA is not returning SNMP information. I ha
-
E71 email set-up problems T-mobile
I cant seem to get none of my pop3 email accounts to work period on my new E71!!! I have cox and road runner is there certain settings or different port numbers for T-mobile??? Cant get yahoo mail to work properly either Help please!!