2010 Jul 28 1:11 PM
Hi All
I was trying to create a BDC for ct04(Material characteristics),but when i go to shdb and start a recording then i see the screen of ct04 has only 1 tab.To create a characteristics we need to fill in data in atleast 3 tabs,
Then just for a trial I started recording in NO BATCH INPUT mode and i could see all the tabs and was able to create a characteristics.
By name NO BATCH INPUT i assume that BDC is not possible with this type of recording,even then i tried to do a bdc but failed.
Now my question is whether BDC is possible with CT04 or not?
If not then what are other options(One is bapi)
I have gone through a some articles but couldnt find my answer.
Regards
Dinesh Patnaik
Moderator message - Please do not offer points or rewards
Edited by: Rob Burbank on Jul 29, 2010 12:32 PM
2010 Jul 29 8:13 PM
> Then just for a trial I started recording in NO BATCH INPUT mode and i could see all the tabs and was able to create a characteristics.
> By name NO BATCH INPUT i assume that BDC is not possible with this type of recording,even then i tried to do a bdc but failed.
So, you tried it and it works. NOBINPT parameter is used to execute the BDC with SY-BINPT system variable set to blank, as with interactive mode.
Don't be mistaken by its name, it's completely allowed to run a BDC with this option, though you may discover restrictions with the transaction functions.
The SY-BINPT variable has to be checked by the application when some of its user interfaces cannot be recorded and played using the BDC technology (*), and if this application was designed to work with BDC, so that it proposes another display or other function codes that are compatible with BDC. Sometimes, strangely, a transaction may better work with NOBINPT...
(*) Especially the control framework (see [wiki BDC FAQ - Controls|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-WhydoIgetCNTLERRORdumpduringrecordingorexecution%3F]) and table control scrolling (see [wiki BDC FAQ - scrolling|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F])
> Now my question is whether BDC is possible with CT04 or not?
> If not then what are other options(One is bapi)
> I have gone through a some articles but couldnt find my answer.
What do you mean, there's a BAPI for updating characteristics, you probably found it. What is the issue with it?
Note: generally speaking, always use the BAPI (if it exists) over the BDC.
2010 Jul 28 1:52 PM
try to make the recording using trx:
(you cant access directly to this transactions....only via SM35 (create recording) or SHDB )
CT01 -> create characteristic
CT2 -> modify
CT03 -> view
regards, Sebastiá
2011 Dec 31 7:11 AM
2015 Jul 30 3:04 AM
2010 Jul 29 8:13 PM
> Then just for a trial I started recording in NO BATCH INPUT mode and i could see all the tabs and was able to create a characteristics.
> By name NO BATCH INPUT i assume that BDC is not possible with this type of recording,even then i tried to do a bdc but failed.
So, you tried it and it works. NOBINPT parameter is used to execute the BDC with SY-BINPT system variable set to blank, as with interactive mode.
Don't be mistaken by its name, it's completely allowed to run a BDC with this option, though you may discover restrictions with the transaction functions.
The SY-BINPT variable has to be checked by the application when some of its user interfaces cannot be recorded and played using the BDC technology (*), and if this application was designed to work with BDC, so that it proposes another display or other function codes that are compatible with BDC. Sometimes, strangely, a transaction may better work with NOBINPT...
(*) Especially the control framework (see [wiki BDC FAQ - Controls|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-WhydoIgetCNTLERRORdumpduringrecordingorexecution%3F]) and table control scrolling (see [wiki BDC FAQ - scrolling|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F])
> Now my question is whether BDC is possible with CT04 or not?
> If not then what are other options(One is bapi)
> I have gone through a some articles but couldnt find my answer.
What do you mean, there's a BAPI for updating characteristics, you probably found it. What is the issue with it?
Note: generally speaking, always use the BAPI (if it exists) over the BDC.
2010 Jul 29 8:55 PM
@ sandra: I have already developed using bapi for create characteristics.thanks for the recomendation.But can you explain me more about no batch input mode?
@Sabastine will surely try what you said...:
2010 Jul 29 9:01 PM
> But can you explain me more about no batch input mode?
Tell me at least what the part of my detailed answer needs clarification. Or do you want more poetry?
2010 Jul 30 7:31 AM
I am done with BDC as well...!!!
Edited by: dineshpatnaik on Jul 30, 2010 8:40 AM
2010 Jul 30 9:00 AM
so, you asked me that (before replacing your text):
>> Sandra Rossi has written:
>> The SY-BINPT variable has to be checked by the application when some of its user interfaces cannot be recorded and played using the BDC technology (*), and if this application was designed to work with BDC, so that it proposes another display or other function codes that are compatible with BDC. Sometimes, strangely, a transaction may better work with NOBINPT...
>> (*) Especially the control framework (see wiki BDC FAQ - Controls) and table control scrolling (see wiki BDC FAQ - scrolling)
> dineshpatnaik has written:
> you said i need to check the system variable...to transfer data.i need more explanation on this..
Sorry about the confusion: by "the application", I meant "the application behind the called transaction", so I was not talking about your application (you don't have to test SY-BINPT), I was just explaining how transactions take into account the SY-BINPT system variable. When you call the transaction using CALL TRANSACTION ... USING ... (so, using BDC), you can decide whether SY-BINPT will be space or "X", and so you may influence the called transaction. See the wiki I mentioned for more information (and the SAP notes to which it refers).
2011 Jan 12 11:35 AM
Hi Dinesh,
I'm having the same problem while recording CT04. Since the thread does not contain much details. Can you please share how you done with BDC? Even i record it in 'Not a Batch input session' mode, the screen automatically fetches the last viewed characteristics and opens it in change mode. I can't give another characteristics name.