‎2012 May 28 9:02 AM
Dear all,
I have a program to post a transaction in F-30 via BDC. For certain company codes, user will purposely insert invalid cost center in upload file in order to reach the error screen via BDC mode "E" to manually correct it instead of using the system default cost center. However,user encountered error message "Function code cannot be selected 00 025". BUT, user did not encounter this error message if they select BDC mode "A" with same steps !!!. Do anyone of u encounter this before and know the reason and how to resolve it? Thanks in advanced.
Regards,
CN
‎2012 May 28 10:54 AM
Hi CN,
There are 2 different modes during BDC processing, Display mode and Update mode. If you want to stop right at the error screen, the modes should be set as below,
Display mode = 'E' ( Stop only if error occurs )
Updtae Mode = 'L' ( Local update mode )
for more details on local update please do refer the below links.
http://scn.sap.com/thread/832996
Hope this will help you.
Regards,
Praveenkumar T.
‎2012 May 28 9:12 AM
‎2012 May 29 2:54 AM
Hi, I did not touch any message type there. Might to explain in further? Thanks
‎2012 May 28 10:54 AM
Hi CN,
There are 2 different modes during BDC processing, Display mode and Update mode. If you want to stop right at the error screen, the modes should be set as below,
Display mode = 'E' ( Stop only if error occurs )
Updtae Mode = 'L' ( Local update mode )
for more details on local update please do refer the below links.
http://scn.sap.com/thread/832996
Hope this will help you.
Regards,
Praveenkumar T.
‎2012 May 29 2:53 AM
Hi, I want to resolve the "Function code cannot be selected" in mode "E" with update mode "L" because user cannot use mode "A" to change desired cost center for high volume of transactions. Please advice. THanks
‎2012 May 29 3:49 AM
Hi,
What is the Function code which is not getting accepted?
Is it 'BP', if yes try with 'PBBP'.
Thanks,
Shambu
‎2012 May 29 4:28 AM
Hi,
It is "=BS".
The BDC will have "SIMULATE" function, then user will double click on the line item they want to change the cost center. And then error message appeared.
Best regards,
CN
‎2012 May 29 4:42 AM
Hi CN,
It seems like the Simulate option in not enabled after the error message.
After entering the correct cost center, can you check whether the option Simulate is enabled in the screen?
Thanks,
Shambu
‎2012 May 29 8:28 AM
Hi Shambu,
Please refer to the following for more details:
Situation A with incorrect cost center in text file
1) User inserted invalid cost center in text file and run the program in BDC mode 'E'. The error screen will be shown and user corrected the cost center here, then click on "Tick" button.
2) The overview screen with all line items are shown. DR CR are balanced now. "SIMULATE" function is DISABLED. Double click on the GL account and hit "Function Code cannot be selected" error message
Situation B with CORRECT cost center in text file
1) User inserted valid cost center in text file and run the program in BDC mode 'E'.
2) The overview screen with all line items are shown. DR CR are balanced now. "SIMULATE" function is DISABLED. Double click on the GL account and hit "Function Code cannot be selected" error message
I think "Simulate" function is working fine as overview screen has balanced DR CR then thus it is disabled.
However, the message "Function code cannot be selected" is appeared as successful type in BDC MODE "A". Any idea?
Thanks in advanced.
Regards,
CN
‎2012 May 29 8:42 AM
Function code cannot be selected means you are trying to run an action which is currently disabled.
Can you check the part where the user is pressing tick mark? Does the program go through the same path when its 'A'? I mean instead of tick mark, does the program go through to the overview screen in some other way?
‎2012 May 29 10:18 AM
Hi Shambu,
The message "Function Code cannot be selected" is appeared with message 'S' or 'E' when trying to double click the GL account line item. I also tried NOT to doubleclick but choose the function "Display Line Item XYZ" but same thing happened. Any idea? Thank you very much.
REgards,
CN
‎2012 May 30 8:13 AM
Hi Shambu,
For GL line item > More data, there is a pop up window "Coding Block" to key in Business Area, Cost Center, Profit Center etc. And user will press the "TICK" to take the input effective.
Regards,
CN
‎2012 May 30 10:10 AM
Hi,
I have replaced '=BS' to '/00' before double clicking the line item. '=BS' is "Simulate" function. The message is not shown after this change.
Thanks for everyone for your kindly advise and help.
REgards,
CN
‎2012 May 29 3:54 AM
And also, only certain GL accounts will hit this issue. I have checked the field status, the cost center field is "optional". I do not understand why this error message will appear in Mode "E" only for GL Acct A but it does not appear in mode "A" with SAME GL Acct.
‎2012 May 29 7:14 AM
You can check with the FI consultant for what type of GLs the cost centre is mandatory and accordingly keep the validation before calling the BDC.