Skip screen in BDC
Hi All,
I want to skip screen in BDC while upload data what should I do? Pleas help me in this regard.
Do you think if I pass /n itll work?
ERFORM sub_bdc_dynpro USING 'MP002200' '2000'.
PERFORM sub_bdc_field USING :
'P0022-BEGDA' temp_date ' ', " FROM DATE
'P0022-ENDDA' '12319999' ' ', " TO DATE
'BDC_OKCODE' '=/n' ' '. To Skip ?
OR
'BDC_OKCODE' '/00' ' '. To Skip ?
OR
'BDC_OKCODE' 'SHOP' ' '. To Skip ?
Thanks
Message was edited by: Suleman Javed
Hi Suleman,
I guess, after entering the dates on the firts csreen , you want to skip the next screen and go to another screen.. then.. try the following..
PERFORM sub_bdc_dynpro USING 'MP002200' '2000'.
PERFORM sub_bdc_field USING :
'P0022-BEGDA' temp_date ' ', " FROM DATE
'P0022-ENDDA' '12319999' ' ', " TO DATE
PERFORM sub_bdc_dynpro USING 'MP002200' '2010'.
any way.. what is that you actually want to do with this Education infotype??
Regards,
Suresh Datti
Similar Messages
-
Is it possible to skip the screen in BDC using IF statement.
Hi Friends,
I have written a report using BDC for tcode CO11 thru recording using CALL TRANSACTION.
Case 1:
If I go to transaction CO11 (screen number 100) and give the order number which has more than 1 operations to be partially confirmed and press ENTER a pop-up screen (screen number 140) appears where in I need to select the operation number and after selecting the required operation number it automatically takes me to another screen (screen number 150).
Case 2:
If I go to transaction CO11 (screen number 100) and give the order number which has only 1 operation to be partially confirmed and press ENTER it directly takes me to screen 150 skiping screen 140.
When I enter the order number which has more than 1 operations to be partially confirmed on my selection screen, my code is working fine as needed.
But, when I enter the order number which has 1 operation to be partially confirmed on my selection screen, it is giving me error in my BDCMSGCOLL saying that the screen 140 doesn't exist.
Is there any way, Can I skip screen 140 using IF statement?
My thoughts:
1. calling screen 100.
After calling screen 100, I have put the pop-up operation numbers in an ITAB.
DESCRIBE table lines ITAB <variable>.
At NEW <order-field>.
IF <variable> = 1.
2. calling screen 140. "I need some help here to skip the screen 140
" Will this logic work?
ENDIF.
ENDAT.
3. calling screen 150.
Rest everything is working fine.
Will my above logic works correctly? I would appreciate if someone could help me with this.
Thanks in Advance.Hi,
Try something like this:
1. Call Screen 100.
Check if screen 140 needs to be called depending on your custom logic. Lets say you populate a variable as 'X' if it needs to be called.
Then write:
if valiable = 'X'.
Call screen 140.
Enter Screen 140 details.
endif.
Call screen 150.
Here the 'Call Screen' is nothing but the code you extracted after BDC recording.
Thanks.
Ravi' -
BDC - How to ignore skipped screens when user click on back button
Hello all,
I am working on a module pool program. From this custom transaction I am calling a standard SAP screen using BAC call transaction. I am calling this screen by skipping 2-3 screens and user can directly see the 3 screen on an event on my custom transaction.
Now my issue is whenever the user want to back, he clicks on back button then user have to back from all the screens that I skipped.
Is this any way by which if user click on back then he can directly go to my custom transaction.
Please suggest.
FYI..
I am calling IA06 - Inspection characterstics screen from my custom screen using BDC.
Thanks,
Sanket SethiHi Jovito,
I also think the same that it's not possible. Now my issue is how to get my requirement.
FYI..
To open Classification screen directly we have a function module CLFM_OBJECT_CLASSIFICATION. But if I want to open IA06
Inspection characterstics screen we don't have any FM or API to do the same.
So how will I get my requirement done. That why I use the BDC call transaction to open IA06 Insp. characterstics screen but here I am facing this Back issue.
Please advice if there is any suggestion. -
How to handle dynamic screens in bdc
HI SIR,
i am working on BDC for CA02 in this i have probelm that if operation 10 it doesnot contains any items it showing one screen and if operation 10 contain some items
and its item counter increasing automatically in this case it coming to this screen through some other screen.so.plz help me how to handle this dynamic screens in bdc ,plz help.hi sir,
now i am working BDC UPLOAD with tcode CA02 in this in second screen their are some rows like in table control
opt
10 x
20
30 x
like above in this if row one of column contains 'x' then if i want to fill sub item then it display i one screen EX 100 else if it dsplay screen 200(ie item 10 already contains subitems it display x in one row column(i.e selected check box) else it show unselected check box.plz tell how to know wheather check box is selected or not from screen to .plz tell.
thanking u -
Hi i am writing DBC program for f-02 ,code is follows,all the posting is going well i wont hide the screen in bcd (direct post the transaction with out user interfere ) .how can i do it
perform bdc_dynpro using 'SAPMF05A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BKPF-BLDAT'
'060306'.
perform bdc_field using 'BKPF-BLART'
'SA'.
perform bdc_field using 'BKPF-BUKRS'
'6000'.
perform bdc_field using 'BKPF-BUDAT'
'06.03.2006'.
perform bdc_field using 'BKPF-MONAT'
'12'.
perform bdc_field using 'BKPF-WAERS'
'LKR'.
perform bdc_field using 'BKPF-XBLNR'
'18998'.
perform bdc_field using 'BKPF-BKTXT'
'SPX'.
perform bdc_field using 'FS006-DOCID'
perform bdc_field using 'RF05A-NEWBS'
'01'.
perform bdc_field using 'RF05A-NEWKO'
'188'.
perform bdc_dynpro using 'SAPMF05A' '0301'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
'2000'.
perform bdc_field using 'BSEG-ZFBDT'
'06.03.2006'.
perform bdc_field using 'BSEG-ZUONR'
'1.3'.
perform bdc_field using 'BSEG-SGTXT'
'18999'.
perform bdc_field using 'RF05A-NEWBS'
'50'.
perform bdc_field using 'RF05A-NEWKO'
'10001400'.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-MEINS'.
perform bdc_field using 'BDC_OKCODE'
'=ZK'.
perform bdc_field using 'BSEG-WRBTR'
'2000'.
perform bdc_field using 'BSEG-MENGE'
'2'.
perform bdc_field using 'BSEG-MEINS'
'EA'.
perform bdc_field using 'BSEG-ZUONR'
'1.3'.
perform bdc_field using 'BSEG-SGTXT'
'18999'.
perform bdc_field using 'DKACB-FMORE'
'X'.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-KOSTL'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-KOSTL'
'6000010101'.
perform bdc_dynpro using 'SAPMF05A' '0330'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-XREF2'.
perform bdc_field using 'BDC_OKCODE'
'=AB'.
perform bdc_field using 'BSEG-XREF1'
'1005151'.
perform bdc_field using 'BSEG-XREF2'
'1005151'.
perform bdc_dynpro using 'SAPMF05A' '0700'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWBS'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BKPF-XBLNR'
'18998'.
perform bdc_field using 'BKPF-BKTXT'
'SPX'.
call transaction 'F-02' using bdcdata mode 'g_mode' messages into it.
Thanks
kanishkaHi dear frd,
Three possible entries are there for MODE.
A - Show all screens.
E - Show only screens with errors.
N - Show no screens.
You can pass N if you dont want to show screens in BDC.
Rewards points if useful.
Regards,
GURU -
Called Screen using BDC Call and Submit
Hi there
while returning back from the Called Screen using BDC Call , i am not able to get the Basic Screen. It displays The Selection Screen of the called Transaction.
Kindly plz help me regarding this problem
Thanks
SaurabhWhich Transaction are you calling?
Regards,
Deepa Kulkarni -
Is there adware in skip-screen-it showed up on my scans, and realtime protection today 7/15/2011 ('''adware/agent zugo143'''... I use (with others) primarily AVG antivirus, Threatfire, & SAS
thank youUhhhh, what have you been smokin? This reads more like a detective novel. You would have been better off and saved yourself precious time by just posting a pic of the problem.
-
Hi to All,
I need to skip the screen, In BO method program i called
CALL TRANSACTION 'ZPAYMENT' AND SKIP FIRST SCREEN.
Using this statement also not working skip screen, I need to show 2nd screen directly. what is the solution for this
Regards,
Peter Son
Message was edited by:
peter son
In ZPAYMENT is the tcode for dialog program has 2 depends screens are existsHi peter,
I had the same problem some time ago. You can't use call transaction using bdcdata unless you force an error in the creen and use the addition mode E, but I think the business wouldn;t accept such a solution.
You could check which screen the second screen is and how the data is filled. Now either create a transaction which starts at that screen and somehow fill the data needed for it, or create a new transaction. I think the latter will be a lot easier to achieve.
In my case I created a new program where I supply the data and call the screen.
Kind regards, Rob Dielemans -
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 -
Hi Experts,
I am using BDC for transaction PA20 where i am passing employee no and infotype.
My requirement is to display directly second screen which is obtained by pressing display button (F7) button.
Is it possible?
Please suggest.
Regards,
Kaustubh.Hi, Kabre
Please Check the following sample code it will solve out your problem,
DATA: it_bdcdata TYPE TABLE OF bdcdata,
wa_it_bdcdata LIKE LINE OF it_bdcdata.
DATA opt TYPE ctu_params.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-program = 'SAPMP50A'.
wa_it_bdcdata-dynpro = '1000'.
wa_it_bdcdata-dynbegin = 'X'.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'BDC_CURSOR'.
wa_it_bdcdata-fval = 'RP50G-PERNR'.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'RP50G-PERNR'.
wa_it_bdcdata-fval = '1'. " Your Pernr Here.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'BDC_CURSOR'.
wa_it_bdcdata-fval = 'RP50G-CHOIC'.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'RP50G-CHOIC'.
wa_it_bdcdata-fval = '8'. " Your Infotype Here.
APPEND wa_it_bdcdata TO it_bdcdata.
CLEAR wa_it_bdcdata.
wa_it_bdcdata-fnam = 'BDC_OKCODE'.
wa_it_bdcdata-fval = 'DIS'.
APPEND wa_it_bdcdata TO it_bdcdata.
opt-dismode = 'E'.
CALL TRANSACTION 'PA20' USING it_bdcdata OPTIONS FROM opt.
Please Reply if any problem.
Best Regards,
Faisal -
Hi i want to skip a screen in bdc
hi ,
i got issue detors upload .... for some vendors TDS activated but for some it is not activated, so i should skip the screen automatically for those vendor which had not activated TDS.Hi...
suppose you have got from recording the following thing..
PERFORM bdc_field USING 'BDC_OKCODE' '=ok1'.
PERFORM bdc_dynpro USING 'ZPROGRAM' '0500'.
PERFORM bdc_field USING 'BDC_OKCODE' '=ADDRV'.
PERFORM bdc_dynpro USING 'ZPROGRAM' '0600'.
u want to skip the top screen that is 500 based on some conditions...
then put that condition like
PERFORM bdc_field USING 'BDC_OKCODE' '=ok1'.
if <condition>.
PERFORM bdc_dynpro USING 'ZPROGRAM' '0500'.
endif.
PERFORM bdc_field USING 'BDC_OKCODE' '=ADDRV'.
PERFORM bdc_dynpro USING 'ZPROGRAM' '0600'.
then the screen 500 will be skipped.
Reward if useful
Regards
Rudra -
Problem to generate same VA01 search help screen in BDC Program
Hi All,
I have got one issue.
The issue is that i need to generate the search (F4) help screen of VA01 search for articles in the program,.
I tried to record using BDC, but the screen generated is different.
Can anyone please guide me how to generate that same search help screen in Program using BDC or any other tool.Hi
Just check the field in the VA01 for which you are using BDC , you may get the standard search help for that .
It wuld be great if you elaborate your requierment .
Regards
Rahul -
Handle error and skip error in BDC
HI experts,
I have done a BDC call transaction method for t.code XK02.
During the uploading i am getting a lot hidden errors which my uploading getting stop.
I have done a lot checking but still some new problems coming during uploading.
Example :
Sometimes the user did not maintain payment terms and ETC.
Is it possible for me to skip if the there is any error hit during the uploading and it should skip to the
next data to upload.
I hope it is clear.
Thank you in advanced.
regards.
saravannan.sHi,
If you are trying to create the multiple vendors using call transaction you'll be using a loop for the CALL TRANSACTION.
So, you can do this, when you are uploading data into the BDCDATA structure after you upload the data you'll be calling the CALL TRANSACTION statement. So, call this statement using mode 'N' and store the errors in an internal table type BDCMSGCOLL.if any error comes then you'll get the error stored into this table and loop continues for the next vendor creation data.
finally you'll get the error and success of the vendors into the internal table type BDCMSGCOLL.
P.S. use the call transaction statement like this
CALL TRANSACTION 'XK02' USING T_BDCDATA MODE 'N' MESSAGES INTO T_BDCMSGCOLL.
Thanks&Regards
Sarves -
Hi all,
I have a requirement, developed a custom tabs to SAP standard by using the BADI CUSTOMER_ADD_DATA_CS.
Now, I have to make it available in BDC recording, for the customer uploads.
How can I achieve this, please do give me some suggestions?
I will appreciate your help by rewarding points.........
Thank you,
Mili.Hi Mili,
Your requirement is two fold.
one, to develop custom screen for Customer Creation /change/display transaction.
Check this link for this part:
BADI - CUSTOMER_ADD_DATA_CS not appearing on screen
Once you are done with this part, then you can record the transaction using SHDB transaction and then generate a program out of the recording.
Regards,
Ravi -
Hi... another question for my friends.
I'm using LDB PSJ. And already manipulated the Selection-screen.
But still having a problem.... When I call my program, the LDB calls a little screen
to ask my "Project Perfil" .... with a required camp. ( I have already a fixed value for it)
Use CN41 to see the same screen I m talking about.
I want to skip this screen.... and go foward.Jose,
You can maintain the value for the Parameter ID PFL in the User parmeters ie
System> User Profile> Own Data-->Parameters
Maintain the value for the Parameter ID PFL.
You should no longer get the pop-up when using PSJ.
~Suresh
Maybe you are looking for
-
I have downloaded photoshop on my iMac and can not find it in my applications folder
please help
-
ICR - Pre ICR manual documents / how to
Dears, The Client has been doing the intercompany reconciliation process manually for a long time (many years), this process is done in Excel platform, so the ICR process in SAP has never been executed. Every month the client makes sure that the ICR
-
GPO block your current security settings do not allow this file to be downloaded
what GPO setting or Registry what stop IE from downloading files
-
Cannot view captivates in IE 7
I am having trouble viewing the Captivates I recorded in IE 7. i can view on firefox though. I have a number of different recording that are 45 seconds to 2-3 minutes long. when I click on the link all that appears is a white screen. what would be th
-
I am having problems printing from my iPad via my AirPort Extreme network.
I am having no success printing from my iPad via my AirPort Extreme based local network. I can use this to print wirelessly from my iMac OS X 10.7.5 and MacBook Pro OS X 10.6.8. I have 2 printer options: HP Laserjet (B&W) P1005 hard-wired to the iMac