Calling transaction with different start screen
Hello
I have two transactions TRANSACTION 1 and TRANSACTION 2, made by myself.
TRANSACTION 1 has screen 001 as initial. It also has another screens.
I want to call TRANSACTION 1 from TRANSACTION 2 starting not with screen 001, but for example with screen 005. Is that possible?
HI,
As an alternative, you will have to do a partial BDC recording for the transaction and write the code to call the transaction in ERROR mode.
Go to shdb transaction.
Create a recording for the transaction.
Enter the required data and when you reach the screen you want, just backout.
This would create a recording.
Using this recording, you have to create a BDC program which would call the transaction in Error mode.
Regards,
Ravi
Similar Messages
-
Calling transactions with pre-filled screen in background processing
Hi,
We are currently running the two standard SAP programs RVV50R10C and SDV03V02 in background mode with static variants. A new requirement has come up whereby we need to run these programs with changing selection criterions, i.e. depending on whether a certain material has had a movement during the day.
We are currently looking at the following options, all of which must be executeable in background mode:
1) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program save variants containing the materials for each of the two standard programs. The standard programs will be scheduled as step #2 and #3 in the same batch job by using the variant which has been overwritten by the Z-program.
2) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program call these programs by specifying the material numbers in addition to other relevant selection criterions by passing a batch input table.
3) Copy the standard programs into Z-versions and enhance the selection criterias according to our needs.
Of the options above we would prefer not to use 3) since we rather use the standard programs due to SAP support etc. The preferred option would be 1).
Anyone faced a similar requirement and have some ideas about standard SAP functions to save a variant and what issues we might face in option 1) and 2)?Hi Geir,
2nd option is good. Create a Z program to identify the material numbers which you want to process & then in the Z Program itself use SUBMIT statement to call the standard programs RVV50R10C and SDV03V02. Using SUBMIT statement you can populate the selection screen parameters for the calling programs.
Please let us know if you need any additional details.
Thanks,
Best regards,
Prashant -
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 -
Call transaction & leave the current screen
Hi
I have created two Table maintanence Generator one for master table & second for transaction table. In my master table i have written code for calling the second TMG
ie, call transaction 'zhdms'.
but my problem is from my first TMG when im clicking on one button it calling the second TMG. & im making new entries over der & when i click on BACK button it will call the first TMG & again if i am clicking on Next button it will move on to second screen. but it is showing one information like DEveloper is locked. we can only display it. how to avoid this.
Can we avoid this using leave screen . How to write code for that.Hi ,
Try this
CALL TRANSACTION AND SKIP FIRST SCREEN.
Effect
Skips the first screen in the transaction (provided all the required fields have been assigned values by the SPA/GPA mechanism).
or
LEAVE TO { {TRANSACTION tcod} | {CURRENT TRANSACTION} } AND SKIP FIRST SCREEN.
Effect
Ends current processing and starts the (new) transaction tcod. All previous internal sessions are deleted from the stack and one new internal session is opened for the program of the transaction that was called. When this session has finished, the system returns to the next higher area menu.
If you specify CURRENT TRANSACTION (as of Release 6.20), the current transaction is called with exactly the same transaction code it was called with using CALL TRANSACTION or LEAVE TO TRANSACTION. With the exception of parameter or variant transactions, this is the transaction code that is also in the system field sy-tcode.. In the case of parameter or variant transactions, it is their transaction code, while sy-tcode contains the name of the implicitly-called dialog transaction.
Regards,
Chitra. -
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 in the popup screen
hi friends . ı want to call transaction in the popup screen.
what do ı do ?
thanks.to call a transaction in the popup screen
can u give me one scenerio
because
try this
create a program of type report
in that "call screen '100' starting 10 10 ending at 100 100.
and u click on this 100 and make the layout what ever u want
and just go to se93 create transaction for this report program
thats it
if it ok
then ur problem is solved
or else it is not solved -
Windows 8 boots to a different start screen
windows 8 boots to a different start screen sometimes after entering my user password. The computer is an HP Envy23 d250 touchscreen all in one desktop. When it boots up it boots to a different color(default)and only a couple tiles showing. I shutdown the computer and turn it on again and it boots up correctly. This has happened several times in the past 2 weeks. Any help would be appreciated.
Sometimes, if Windows feels that your profile is corrupted, it is logging into temporary profile. Upon restart, it is able to repair your profile and log you in. As this is intermittent, I am not sure of any troubleshooting steps.
However, I would not recommend keeping any files in the profile either on the desktop, documents, pictures, music, videos etc.,
I am an HP employee.
Regards,
Vidya
Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
***Click on "Thumbs up" button to the bottom right side of my post to say thanks!*** -
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 ? -
Calling transaction with hotspot_click
Hello everybody,
I need to know if it is possible to call transaction within an ALV when clicking
on a hotspotted field.
In that case how can I handle it ?
Thank you.
Lucathe below is the code for the alv double click
*& Report ZUS_SDN_TWO_ALV_GRIDS
REPORT zus_sdn_alvgrid_events_1.
DATA:
gd_okcode TYPE ui_func,
gt_fcat TYPE lvc_t_fcat,
go_docking TYPE REF TO cl_gui_docking_container,
go_docking2 TYPE REF TO cl_gui_docking_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid.
DATA:
gt_t001 TYPE STANDARD TABLE OF t001,
gt_knb1 TYPE STANDARD TABLE OF knb1.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_double_click.
* define local data
DATA:
ls_t001 TYPE t001,
ls_col_id TYPE lvc_s_col.
CHECK ( sender = go_grid1 ).
READ TABLE gt_t001 INTO ls_t001 INDEX e_row-index.
CHECK ( ls_t001-bukrs IS NOT INITIAL ).
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = ls_t001-bukrs.
IF ( syst-subrc NE 0 ).
MESSAGE 'No customers found' TYPE 'S'.
ELSE.
* Trigger PAI of dynpro '0100' and set new ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'CALL_SCREEN_0200' ).
ENDIF.
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM t001 INTO TABLE gt_t001.
REFRESH: gt_knb1.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_docking2
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create ALV grid
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_docking
EXCEPTIONS
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.
ENDIF.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_docking2
EXCEPTIONS
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.
ENDIF.
* Set event handler
SET HANDLER:
lcl_eventhandler=>handle_double_click FOR go_grid1.
* Display data
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'T001'
CHANGING
it_outtab = gt_t001
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'KNB1'
CHANGING
it_outtab = gt_knb1
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_docking2->link
EXPORTING
repid = syst-repid
dynnr = '0200'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* ok-code field = GD_OKCODE
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'CALL_SCREEN_0200'.
go_grid2->refresh_table_display( ). " necessary
CALL SCREEN '0200'.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
Girish -
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 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. -
Calling transaction with webgui takes forever on some workstation
Hi,
I am calling transaction CV03N via webgui from webdynpro application. The problem is on some workstation it takes forever
to load the screen with transaction details. For other it works fine.
Did anyone come across this situation? Is there anything need to be set up on personal system to run the application as expected.
Please help.
Thanks.
TruptiHi,
check that all the machines are using the same proxy server and have same browser settings. -
Posting of cross company transaction with different doc types
Hi,
The scenario is:-
We have two companies X and Y.
X makes a payment to Y with the following FI entries:-
Company Code X
Dr Vendor Y
Cr Bank HDFC
Company Code Y
Dr Bank ICICI
Cr Customer X
Now this needs to be a cross company transaction where the doc type for CC X should be vendor Payment 'KZ' while the doc type for CC Y should be a customer reciept with doc type 'DZ'.
Although I am able to map the accounts in cross company code config I am not able to split the transaction of different company codes with different document types.
Is there any way we can do this in standard SAP?
Thanks in advance,
NitishHi
As per your issue ...There are no possibilities to post in sap with different document types.
If you want you can post cross company code transactions with one document types
Regards
vamsi -
Multiple waveforms with different start triggers
I have four waveforms, AO0, AO1, AO2, AO3 - I want to have each waveform start with a different start trigger, PFI3, PFI4, PFI5, PFI6 respectively. When I attempt it, it says the clock resource is already in use. How do I share the clock for the different waveforms?
Can this be done on the NI-6722?
Thanks
BillUnfortunately the card doesn't work that way. You can't trigger the AO lines individually--if you are using hardware timing/triggering the AO lines need to be in the same task and would shave the same sample clock and start trigger.
Best Regards,
John Passiak
Maybe you are looking for
-
User Exit for ME21 PO Creation at the time of saving--Urgent
Hi, Can some one help me out in finding the user exit for PO creation at the time of saving. The Requirement is: I need to create a custom field in EKKO table. After appending the structure with the field to the EKKO table, i need to create a PO. Now
-
Wrong CAP file version error message
I'm trying to write a loader application that will send a CAP file into JavaCard, and then install it automatically. I have developed my JavaCard Applet by using Eclipse3.1.0 and JCOP30. After running my JavaCard Applet by Eclipse, I got its CAP file
-
How can I tell my computer what applications to open upon start up?
How can I tell my computer what applications to open upon start up?
-
HT4623 My iPhone just started saying "Error in Activation"
Basically I just tried to use my iPhone and it started to say, "Error in Activation" then "This device is not registered as part of the developers program of iPhone. If you are a memeber and part of the Developers Program for iPhone, register this de
-
Batch Determination for SubContracting Order in MIGO
Hello all, In the transaction, MIGO the batch determination is not being automatically generated when we enter the PO on the GR screen in Migo. One has to click the "Stock Determination" button for each line item. What setting needs to be done so tha