on 2016 Mar 21 10:57 AM
Hi Forum,
we are on SRM713 in ECS scenario. When creating confirmation for A SC that uses Account Assignment Category as Asset it shows the below error
Do not specify a funds reservation when referencing a purchase order
But when posting a GR in ECC directly for a PO created using same asset number no error is shown.
What is the reason for this error in SRM Confimation?
Thanks,
Anubhav
Request clarification before answering.
Hello,
we have the same problem in our systems, so we have opened an OSS message. The solution from SAP was to modify the structure BBPS_BAPI2017_GM_ITEM_CREATE as follow:
Add the following fields after the field BUDGET_PERIOD(see also the image below):
Component | Typing Method | Component Type | Data Type | Length | Decimal Pl | Short Description |
EARMARKED_NUMBER | Types | KBLNR | CHAR | 10 | 0 | Document Number for Earmarked Funds |
EARMARKED_ITEM | Types | KBLPOS | NUMC | 3 | 0 | Earmarked Funds: Document Item |
STK_SEGMENT | Types | SGT_SCAT | CHAR | 16 | 0 | Stock Segment |
MOVE_SEGMENT | Types | SGT_UMSCAT | CHAR | 16 | 0 | Receiving/Issuing Stock Segment |
After the changes on the structure BBPS_BAPI2017_GM_ITEM_CREATE it was possible for us to confirm SCs with Account Assignment Category as Asset in SRM. Maybe it's the same solution for you. At the moment there isn't a note available for this issue, the SAP will discuss the issue and maybe create a note later.
I hope I could help and you understand my english ;D.
Best Regards,
Tom Deinert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anubhav,
We still have no answer from SAP regarding the OSS message we created for the same issue. I noticed that you marked the thread as answered. So should we consider the solution described in the post from Tom Deinert? Is there any OSS note available?
@Tom,Thanks a lot for sharing the solution
Best regards
Hazem Daoud
Hello Anubhav,
check in T100 table what is the message class.
If you do not find it, check this KBA:
1482249 - How to determine where an SRM error message is coming from
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laurent,
Yes found that in the said FM FMRE_COBL_CHECK Line 67
when FM called from SRM
KBLPOS = SPACE
and hence system goes on checking other things
When doing GR in ECC
KBLPOS = '000'
system skips other check because of next line
CHECK NOT kblnr IS INITIAL OR
NOT kblpos IS INITIAL.
Not sure why it behaves differently.
Thanks,
Anubhav
Hi Anubhav,
In fact after making a comparison between two systems (one upgraded and the other not) i noticed the following:
The logic to get kblpos is changed in the FM MB_CREATE_GOODS_MOVEMENT. The field was previously taken from the strcuture DM07M and its intital value was 000 so it was fine when doing the check in the FM FMRE_COBL_CHECK.
After the upgrade,the kblpos is now removed from DM07M and moved to MSEG and the logic in the FM MB_CREATE_GOODS_MOVEMENT was adapted accordingly. What i noticed is that the default field value is empty so i think if SAP tick initial value in the field defintion in the table MSEG,the problem would be solved.
What do you think?
Thanks and best regards,
Hazem Daoud
Hi Hazem,
Yes we also found that in debug. When the FM is called from SRM KBLPOS = Space where as when posting GR directly in ECC KBLPOS = '000'. In the upgraded system the field value in MSEG is already '000'. Check the snap shot attached.
If you see the comments in FM at Line 79 it talks about a switch FMRE_INV_CONSUMPTION. If this switch is activated the validation will not be done and this switch does not exists in previous version but what other things this switch will affect we are not sure.
Waiting for response from SAP. Do let me know if you find any more information.
Thanks,
Anubhav
Hi Anubhav,
I checked the line 79 in the FM FMRE_COBL_CHECK as you said and that's correct that they talk about this switch FMRE_INV_CONSUMPTION but i think this is not related to that since this FM was not changed since one year for us.
As explained i noticed that the logic to get this KBLPOS in the FM MB_CREATE_GOODS_MOVEMENT wa recently changed and when i debugged in upgraded and non upgraded system and in both cases creating GR from SRM, the MSEG-KBLPOS was empty in the upgraded system however DM07M-KBLPOS was 000 in the non upgraded system. You can search for the coding in the FM MB_CREATE_GOODS_MOVEMENT where the note 2135143 is mentioned (it should be in line 1524 after enhancment MB_CREATE_GOODS_MOVEMENT_27)
Best regards
Hazem Daoud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.