Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

KO01 Transcation

Former Member
0 Kudos

Hi i have a strange problem,i am creating BDC for

ko01 transcation(internal order),issue is whenever i

go for environment->Set CO area .i am giving some

controlling area,like 0120,then after assigning

controlling area,i will go for order type,after giving

value for order type when i press enter,it will again

pop up screen with some controlling area,here it's 0110.

problem is that these only happen when i give controlling area other than 0110 at intial step(environment->Set CO area ),but it won't pop up screen when i give controlling

area as 0110 initially(environment->Set CO area ),

i can write a code restricting these,but i am not sure of

why these is happening,pls let me know ,so i can proceed

with my BDC

18 REPLIES 18

Former Member
0 Kudos

Hi Sanju,

Welcome to SDN.

My suggestion is do the recording of KO01,entering controlling area as 0120 with transaction SHDB & chek the flow of the screen.Then you can write your code from this.

0 Kudos

thankx for your response,but i don't think that will

be helpfull,my question is why that's happening with

controlling area other than 0110,i can write a code

to restrict screen to get execute when it find controlling

area other than 0110.it's something related internally,

can u help me in that

0 Kudos

Hi Sanju,

What ever controlling area you have entered first will be saved as the user setting under your id.I guess thats what happeneing.I checked in my system & it happened that way to me.

Former Member
0 Kudos

Hi Sanju,

In user user profile parameter CAC for controlling area was defaulted and it is causing the issue.

Do the following :

Syste(Menubar)--user profile > OwndataParameters and remove the CAC parameter.

This parameters will be assigned by basis on user profile .

Whenever you come accross controlling area in a transaction i/p field the value at your user profile will be defaulted.

Regards,

Lanka

0 Kudos

Hi Lanka

i did what u said ,my user profile is having controlling

area with 0110 as parameter id.i deleted that one ,and

save it,logged of and again logged in,but no use ,still

problem is there

0 Kudos

Hi Sanju,

Don't press the "SAVE" button (Use "ENTER") if do that then it will again create Parameter ID CAC with the value that you have entered.

Hope this will work for you.

Regards,

Lanka

0 Kudos

GUY'S

You are not getting the problem,pls replicate these

scenario in your system.first i thought it is related

to user profile,but that's not true,pls help,as these

is causing me a big problem

0 Kudos

Hi Sanju,

I have replicated the scenario at my system and it works fine for me without any pop-up. My opinion some of the order types may be restricted to certain controlling areas. Check with functional person on this.

Means : Ord type 0001 restricted to only Control area 0110. Then whenever you select order type 0001 system will give you a pop up for related controlling area.

Hope this may help.

Regards,

Lankaa

0 Kudos

Hi Lanka

if issue is functional,then can u tell why it's accepting

controlling are 0120,when i go for environment->

set co area ,and giving input as 0120 for order type

0650,it popping up same screen with controlling area

0110,now if i change it explictily to 0120,it will

aceept that,if i give controlling area 0110 ,that's work fine,u give what ever oder type,poblem is 0110,

why not a pop screen appear for 0110,what ever oder type

i give for co area 0110,it won't display any pop up

for other controlling area it's displaying,i can write code,but i don't know ,how my code is going to behave

in production.guy's i am also trying to look at the

answer,but no perfect solution i am getting

0 Kudos

Hi Sanju,

Please provide me the steps that you are performing.

a) First doing SHDB recording using Control Area 0110.

b) Then you change the Control area and rerecording or what?

Lanka

0 Kudos

Hi Lanka

forgot about BDC,let me tell u what is the problem

1)choose environment->set co area ,everytime i am setting

these controlling area,this is the requriment,now the

problem is if u set controlling area other than 0110,

it will pop up a same window with controlling area as

0110,now if controlling area is 0110,it won't pop the

same window,now in BDC ,if controlling area is 0110,it's

working,otherwise for other controlling area it's saying

screen 300 dosen't exist,now if i restrict my code,as

whenver controlling area is other than 0110 ,execute

that code(code with screen 300),otherwise not,these will

solve my problem,but question is what if same pop up

is coming for different controlling area in production,

so tell me know,i really like your patience in reading

someone issue,u have to really get your credit

0 Kudos

Hi Lanka

forgot about BDC,let me tell u what is the problem

1)choose environment->set co area ,everytime i am setting

these controlling area,this is the requriment,now the

problem is if u set controlling area other than 0110,

it will pop up a same window with controlling area as

0110,now if controlling area is 0110,it won't pop the

same window,now in BDC ,if controlling area is 0110,it's

working,otherwise for other controlling area it's saying

screen 300 dosen't exist,now if i restrict my code,as

whenver controlling area is other than 0110 ,execute

that code(code with screen 300),otherwise not,these will

solve my problem,but question is what if same pop up

is coming for different controlling area in production,

so tell me know,i really like your patience in reading

someone issue,u have to really get your credit

0 Kudos

Hi Sanju,

I have tried all the relevan alternatives by changin fdifferent controlling areas . every time I have chaged the control area it will trnsfer to second screen(Create internal order). As I mentioned earlier some check may be done at customizing level.

If you restrict BDC for only Co.area 110 then waht happen to those orders which are not belong to it. May be you have to check/ adopt logic based on your requirement

My BDC Recording :

T KO01 BS AA X F

SAPMKAUF 0100 X

BDC_CURSOR COAS-AUART

BDC_OKCODE =KOKR

COAS-AUART 9A00

SAPLSPO4 0300 X

BDC_CURSOR SVALD-VALUE(01)

BDC_OKCODE =COD1

SAPMKAUF 0100 X

BDC_CURSOR COAS-AUART

BDC_OKCODE /00

COAS-AUART 9A00

Regards,

Lanka

0 Kudos

HI LANKA

WHAT YOU ARE SAYING IS YOU ARE NOT FINDING ANY

PROBELM,LIKE WHAT I AM FACING

0 Kudos

Hi Sanju,

Please note that I have all different scenarios at my system and I am not getting any pop up for any controlling area I have choose.

Regards,

Lanka

0 Kudos

THANKS LANKA

STILL DOUBT IS NOT CLEAR OF HOW IT'S HAPPENING,FOR NOW

I DON'T HAVE ANY PROBLEM AS THEY ARE ONLY GOING

TO CONSIDER CONTROLLING AREA 0110.THANKS FOR YOUR

HELP

ferry_lianto
Active Contributor
0 Kudos

Hi Sanju,

Please take a look SAP program <b>RKOBINPT</b> perhaps it will help you.

Regards,

Ferry Lianto

0 Kudos

HI BUddy

thanks,even the standard report is having the same issue,

so answer lies in somewhere within SAP.that program

was really very helpfull