Dont make skip first screen
i have this type :
begin of my_string,
invoice LIKE vbrp-vbeln,
vbeln LIKE veda-vbeln,
keydate LIKE vbrp-erdat,
END OF my_string.
but when i click on this data in ALV grid
i get the next transaction but whitout the number
this is the code
" ELSEIF rs_selfield-fieldname EQ 'INVOICE'.
READ TABLE mdeqp_alv INDEX rs_selfield-tabindex.
SET PARAMETER ID 'INV' FIELD mdeqp_alv-invoice.
CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN .
ELSEIF rs_selfield-fieldname EQ 'VBELN'.
READ TABLE mdeqp_alv INDEX rs_selfield-tabindex.
SET PARAMETER ID 'VL' FIELD mdeqp_alv-vbeln.
CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN .
ENDIF.
Yehiel,
Use the method get_select_rows of the class cl_gui_alv_grid.
Sample Coding:
<b>mygrid->get_selected_rows(
importing
et_row_no = iRowIndex ).</b>
<b> read table mdeqp_alv index waRowIndex-rowid. </b>
SET PARAMETER ID 'INV' FIELD mdeqp_alv-invoice.
CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN .
Like wise, follow for the others.
Thanks
Kam
Similar Messages
-
Call transaction and skip first screen
Hi,
I have a little but I think difficult problem
I have a selection screen and after that I call my dnypro. In this dynpro I can open a dynpro which looks like a popup where I have the possibility to call the same transaction with other input paramters.
the problem is when I make call transaction and want to go back I see the pop up dynpro which calls the transaction. so how can I close this popup dynpro by calling again transaction?I think I can't eyplain it.
Following. I have:
call transaction trans: selection screen calls dynpro 100, in dynpro 100 button with dynpro 200 with starting parameters.
dynpro 200 calls again transaction trans with skip first screen.
now I have displayed again dynpro 100 with new values. When I now want to go back I can see dynpro 200 which called the transaction. So how can I achieve this that dynpro 200 isn't shown when I go back ? -
Call Transaction and skip first screen in SE37
Hi All,
I want call transaction SE37 and skip first screen of it. Is it possible through the statemen Call transaction 'SE37' and skip first screen ?.
Of course I have populated the parameter id 'LIB' before this statement but it is not working. Though I have found several posts with this solution but it's not working for me. Could anyone please let me know if this can be done using this statement or there are any other additions required along with this statement or it is not at all possible to achieve this functionality.
Thanks in advance !!.Solved! without a solution? very funny.
In somewhere of second screen related bdcdata, intensionlly make a mistake to force the system throws the error and the call the trasnaction with mode 'E'. This will solve the issue.
perform bdc_field using 'BDC_CURSO' " I removed letter R in 'BDC_CURSO'
'ISEG-ERFMG(01)'.
CALL TRANSACTION 'XXXX' USING BDCDATA MODE 'E'.
Thanks.
Suresh Yerra. -
Call transaction using bdc tab and also skip first screen??
Hi,
Please help.
I want to call transaction PA30 fill it with values which are determined only at runtime and then skip first screen.
The screen doesn't have parameter fields so i cannot use 'set parameter id'.
I also cannot create a transaction with parameters as I only have these at runtime.
Anyone done anything like this???hi,
you might be populateing the itab bdc_tab with the corresponding values fronm the recording.
while doing the recording go until to the screen wher u want to finsih.
and populate the bdc_tab wit the ok code,screen number and the value.
this will do.
for eg see the code below.
METHOD analyze_log.
DATA : wrk_extid TYPE balhdr-extnumber.
DATA : wrk_date(10) TYPE c.
DATA : it_rspar TYPE TABLE OF rsparams .
DATA : wa_rspar TYPE rsparams.
DATA: it_bdcdata TYPE STANDARD TABLE OF bdcdata,
wa_bdcdata TYPE bdcdata.
DATA: params TYPE ctu_params.
CONSTANTS : object TYPE balhdr-object VALUE 'ZKIV_LOG'.
IF wa_kopf-vertr_nr IS NOT INITIAL.
CONCATENATE wa_kopf-vertr_nr '/' wa_kopf-nachtr_nr INTO wrk_extid.
wrk_date = '01.09.2006'.
SET PARAMETER ID 'BALOBJ' FIELD object .
SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
wa_rspar-selname = 'ALDATE'.
wa_rspar-sign = 'I'.
wa_rspar-kind = 'P'.
wa_rspar-option = 'EQ'.
wa_rspar-low = wrk_date.
APPEND wa_rspar TO it_rspar.
ELSE.
CLEAR wrk_extid.
SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
ENDIF.
Update BDC tab
--Call SLG1 using BDC--&
params-dismode = 'E'. "Show errors only
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSLG3'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_CURSOR'.
wa_bdcdata-fval = 'BALHDR-ALDATE'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BALHDR-ALDATE'.
wa_bdcdata-fval = wrk_date.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = '=SELE'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSLG3'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = '=&F03'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_SUBSCR'.
wa_bdcdata-fval = 'SAPLSBAL_DISPLAY 0101SUBSCREEN'.
APPEND wa_bdcdata TO it_bdcdata.
CALL TRANSACTION 'SLG1' USING it_bdcdata OPTIONS FROM params.
--End of BDC--&
ENDMETHOD.
here wat i m doing is that i dont want the subscreen 101 to be displayed..
Message was edited by:
Sandeep S -
Skip first screen and return using BDC
Hi,
I am calling a Transaction from an ALV REPORT ,i wanted to set the material number in that transaction, i checked using f1 help and found the parameter id as 'MAT' .
But when i am calling the transaction,the material number is not being displayed,Hence i modified the code below..
My Previous code:
READ TABLE alv_stb INDEX i_selfield-tabindex.
IF sy-subrc = 0.
SET PARAMETER ID 'MAT' FIELD alv_stb-idnrk.
CALL TRANSACTION 'TCODE' .
ENDIF.
My CURRENT CODE :
PERFORM bdc_dynpro USING 'XXX_/2L3_BOM_XX'
'1000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PA_MATNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ONLI'.
PERFORM bdc_field USING 'PA_MATNR'
alv_stb-idnrk.
PERFORM bdc_field USING 'PA_STLAN'
alv_stb-xtlan .
CALL TRANSACTION 'TCODE '
USING bdcdata
MODE 'E'
UPDATE 'S' .
Requirement :
I need to skip the first screen ,This is working ( screen is skiped) Now when i want to come back from the Transaction to my alv report,by pressing back button..this first screen which i skipped is being displayed, which i dont need...how to skip that screen,when pressing F3 from transaction or back button.hi shafiq
*& Form zf_user_command
text
--> p1 text
<-- p2 text
FORM ZF_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD .
CASE R_UCOMM. "FCODE
WHEN '&IC1'. "for hotspot with MATNR.
IF RS_SELFIELD-FIELDNAME = 'MATNR'.
SET PARAMETER ID 'MAT' FIELD RS_SELFIELD-VALUE.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
RETURN.
MESSAGE I103 WITH RS_SELFIELD-VALUE .
ENDIF.
message - material no 'X' shown succesfully
ENDCASE.
ENDFORM. " zf_user_command
if it's not taking code..
delete form..endform..and call it again it might be giving a problem with the old form endform... just try if nothing else works
the above given logic is fine and working
reward poitns if helpful
Rohan -
hi all,
i have a 'ztcode' with obligatory fields. i want to call 'ztcode' from another program using the following:
call transaction 'ztcode' and skip first screen.
is there a way to avoid error since obligatory fields will not be filled up if above code is executed?
thanks,
sidhi all,
thanks 4 d reply. submit is ok. right now im trying to learn the set parameters statement. can u tell me exactly how it works by example. i can't seem follow the sap help documents. in my report program 'ZTCODE' i put this:
parameters p_maktx like makt-maktx memory id pmakt
obligatory.
and then at another program, 'ZCALLER', i called 'ZTCODE' which points to my program, as follows:
set parameter id 'pmaktx' field 'REM'.
call transaction 'ZTCODE'
and skip first screen.
i ran the 'ZCALLER' and as soon as it called 'ZTCODE' the program stops with the message 'make an entry in all required fields'. can u tell me what i missed?
thanks,
sid -
Call tranasaction with skip first screen in ecc6
Hi,
We are doing upgrade from 4.7 to ecc 6. We are getting an error while running a report( The addition "AND SKIP FIRST SCREEN" can't be used with "CALL TRANSACTION .. USING". ) in ecc6. This is not showing error in 4.7. Call transaction with skip first screen is fine in 4.7. But it is throwing an error in ecc6.
Could anybody provide me the pointers to rectify this error.
Regards,
RameshHi
Did you pass all the mandatory field values to the calling transaction , Because when you use this addition you need to pass all the mandatory field values then only it works fine. Check out whether you are passing all the mandatory field values.
Regards
Pavan -
Skip first screen of BD87 using call transaction with BDC_DATA option
hello all,
i am using call transaction with BDC_DATA option and i want to skip first screen, so can anyone please tell me how can i skip first screen of BD87 and get second screen that is output screen?
regards.Hi
Build a BDCDATA with following code..
T BD87
RBDMON00 1100 X
BDC_CURSOR SX_DOCNU-LOW
BDC_OKCODE =CRET
SX_DOCNU-LOW
SX_CRETI-LOW 00:00:00
SX_CRETI-HIGH 00:00:00
SX_UPDDA-LOW 05.02.2010
SX_UPDDA-HIGH 05.02.2010
SX_UPDTI-LOW 00:00:00
SX_UPDTI-HIGH 00:00:00
RBDMON00 0100 X
BDC_OKCODE =BACK
RBDMON00 1100 X
BDC_OKCODE /ECBAC
BDC_CURSOR SX_DOCNU-LOW -
While Pressing the button i want to skip first screen in standard screen.
Hello All,
I need to create a z Program and call a screen variant of a standard transaction in it.
I am calling a screen variant of transaction PA70 to hide some of the fields of the screen.
Also the first screen is supressed.
My requirement is while pressing back button it should not come on the first screen.
while if i am doing the same thing with Transaction PA20 it is not coming back to first screen.
How can i supress this first screen while coming back?
Regards.Hi,
Use:
"set al the field values on the initial screen of the transaction and then use
CALL TRANSACTION '<t-code>' AND SKIP FIRST SCREEN.
Now you will be navigated to second screen of the transaction, when you click, you will be navigated to your program selection screen.
Hope this helps you.
Regards,
Tarun -
Is possible to skip first screen in BDC Session
Hi all,
Is it possible like in call transaction method to skip first screen in Batch input session?
Syntax----
call transaction MM01 and skip first screen.
I want same result By using Batch input session.
Suggess..........
Thanks
Sanket sethiActually i am open transaction SE38 and execute an Standard Report.In the selectiion screen I am changing something in layout.
I recorded it by BDC.
And use batch input session.
Now i want to skip the se38 window i want to drop user on the execution of the report.
I also do it by submit report but i want to know that is there any possibilities to use with BDC session.
Thanks
Sanket -
Problems with SKIP FIRST Screen when calling a transaction variant
Hi,
I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
In my program I have coded the following :-
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
I don't think I need VPO setting but when I code
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
VA02's second screen is displayed
Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
Thanks
RousYes you are right Reg thanks for that.
But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 . -
Call tcode and skip first screen
hi all,
before i think of posing a question i have searched SDN for 2days but dint get the desired results.
so i am posting a question.
in my prog am calling a TCODE and in that TCODE i have a mandatory field so when i say skip first screen it does not skip as their is a mandatory field.
so i used my code like this and checked twice and i found i have value in L_PERNO and id is: EHS00PERSONID.
i have a value in L_PERNO.
parameter id of the tcode field is : EHS00PERSONID
set parameter id 'EHS00PERSONID' field L_PERNO.
CALL TRANSACTION 'ZEDIT' AND SKIP FIRST SCREEN .
but it does not set the value... what am i missing still to get it done can i have some input pls.
thanks a lot in advance,
pasala.Hi Pasala,
You have done everything right and your program will work with simple addition.
Just add the statement below in your transaction 'ZEDIT' in PBO of screen on which mandatory field exist.
get parameter id 'EHS00PERSONID' field 'XXX.'
where XXX is the name of mandatory field on the screen.
Amit Singla -
Call Transaction and skip first screen on workflow task
Hello, I'm developing a workflow with a user decison step, where the user should fill some data in transaction FD02.
When the user presses the button in the workitem, the wf goes to a step where i should call transaction FD02.
I'm using SET PARAMETER ID: 'KUN' FIELD customer. to fill the customer field and CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.
But when I press the button in the workitem nothing happens. I tested the same in a report and it works. Can anybody help me?
Thanks a lot.Hi,
try below code
data: fcode type FCODE value 'ANTRAGAEN',
customer type kunner,
bukrs type bukrs.
SET PARAMETER ID 'KUN' FIELD customer. " to fill the customer field
SET PARAMETER ID 'BUK' FIELD companycoder. " to fill the company code
SET PARAMETER ID 'TTC' FIELD fcoder. " to fill Function code for enter " it may be other than TTC please check.
CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN. -
CALL TRANSACTION AND SKIP FIRST SCREEN to specified tab in TCODE 'IW32'
Hi,
I am using CALL TRANSACTION AND SKIP FIRST SCREEN in ALV Grid Report to call IW32 tcode and it goes to tcode skipping the first screen. But it goes to the default header tab in the tab control. Whereas I wish to go to the specified tab 'OPERATIONS'.
Can any one help me, as to how to resolve this issue ?
Thanks in advance.Sridher,
I have the similar requirement. but in my case its COSTS tab. Could you please provide the code you have used for this to work?
I used standard "call transaction with mode 'E' ". This seems to be working but I am not pleased by my effort. Is there any proper way that you might have followed ?
Greatly appreciated your help.
Regards,
Reddy -
Call Transaction - both Skip first screen and USING in one
Hi Experts,
I have to call a Tcode which is for a report painter report and I have to fill the selection screen parameters for that report. Nothing is mandatory but it will be filled in select option field.
My issue is I can only call this Tcode with all the parameters when I use USIING with BDC. but I also want to skip the selection screen so that only the final output gets displayed.
I tried SET PARAMETER ID but I am filling the select-options range from a custom table so don't know how to achieve that.
Any suggestions !!!See here: [sdn wiki - Batch input FAQ - Is it possible to simulate AND SKIP FIRST SCREEN using BDC?|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-IsitpossibletosimulateANDSKIPFIRSTSCREENusingBDC%3F]
Maybe you are looking for
-
I just updated my iphone and it deleted all my contacts- help!
i just updated my iphone and afterwards all my contacts have disappeared! how do i get them all back?? please help
-
Error connecting oracle10g in forms developer with new installed 11g dbase.
Hi I have installed oracle 11g database and its works well. Later i needed the oracle developer suite 10g for doing my forms and reports and installed it. I am facing problem while connecting to database and getting the following error. "ORA-12154:TN
-
IPhone 2.0 Bugs I've Found
I've found a few questions re: my iPhone with iPhone OS 2.0. 1) I notice when the iPhone is vertical (not horizontal) it will play video podcasts, but if you press the "resize" button, it will crash the iPhone requiring a restart. I was able to recre
-
HT1567 trying to preview song but only plays for 5 seconds
When i preview a song it will only play for 5 seconds instead of the 1min/half it allows. I 've never had this problem before. I update the software, but it still will not allow me to listen to the song no more tham 5 seconds
-
Desktop disappearing on MacBook
As the subject says, my desktop items fail to appear when I disconnect my MacBook from my 24'' external monitor. Does anyone know a fix? Thanks!