cancel
Showing results for 
Search instead for 
Did you mean: 

GL directly from shopping cart without account assignment

former_member183819
Active Contributor
0 Kudos

Hi All

Is there any prerequisite in the account assignment overview to select GL from the free text shopping cart?

(backend acct assignment category ) X= GL ( Account assignment category ).

any instances we may need to do this from SRM?

i believe BAPI BAPI_PO_CREATE1 badi always expects SOME ACCOUNT ASSIGNMENT right?

Note 1408312 - Direct material does not derive correct account assignment - Can some one expalin this sap note please?

MM06EF0P_PRUEFEN

MESSAGE e000(mepo).

ENDIF.

LOOP AT ett WHERE item_with_error NE space.

MOVE-CORRESPONDING ett TO potkey.

READ TABLE pot WITH KEY potkey BINARY SEARCH.

IF sy-subrc EQ 0 AND pot-loekz NE 'L'.

MESSAGE e001(mepo) WITH ett-ebelp.

ENDIF.

ENDLOOP.

LOOP AT knt WHERE item_with_error NE space.

MOVE-CORRESPONDING knt TO potkey.

READ TABLE pot WITH KEY potkey BINARY SEARCH.

IF sy-subrc EQ 0 AND pot-loekz NE 'L'.

MESSAGE e046(mepo) WITH knt-ebelp.

ENDIF.

ENDLOOP.

ENDIF.

Muthu

Accepted Solutions (1)

Accepted Solutions (1)

summer_wang
Contributor
0 Kudos

Hi Muthu

I don't know if I understand you correctly

BAPI_PO_CREATE1 does not always aspect an account assignment.

Direct material will not have account assignment if the MM-IM account determination is configured correctly .

When you create Direct Material PO you are purchasing goods for the production stock. It is not assigned to any cost center ,.

in BAPI_PO_CREATE1 , You will have account assignment catecory = blank , instead of K .

In backend PO , the account assignment tab will not appear and backend GL account is determined by MM-IM custoermizing according to Pllant (valuation area) Material Master(valuation class) and posting strings (Transactions, movement type.) when GR is posted . Normally it will be posted to Stock account (+)and GR/IR clearing account (-).

Please ingore me ,if I did not understand your question correctly

Summer

former_member183819
Active Contributor
0 Kudos

Thanks Summer

My context is different.

free text --cost assignment folder --. select GL account only ( slect account assignment category -AcctAssCat ) - so

now assignto G/L ACCOUNT AND G/L ACCOUNT thats all and again i am fing GL accounts and select ..order

We do have option in SRM posting to direct GL account like GL = X (BACKENED ACCOUNT ASSIGNMENET) . FOR FREE TEXT ITEM , Can we post the GL account directly without ORDER / COST CENTER /WBS eleement .

if we choose GL all will disappear like cost center , order , wbs .

cost assignment

account assignemnt over view

line ; -1

percentage ;-100

assign to ; -G/L account

description;- balank

G/l ACCOUNT ;- 2XXXXX

Description;- Testing

Business area ;- blank

hope it clears now

thats what i am asking.the note might confused .

FOR EX

BBP_PDACC TABLE ACC_CAT = GL NOT CC

Muthu

Former Member
0 Kudos

Hi Muthu,

Please see answer from the following FAQ note..

815849 FAQ: Account assignment system response

3. Why does the system issue the message KI 235 'Account & requires an

assignment to a CO object'?

o In SRM, you always have to *post to a G/L account and to a CO

object.* Exceptions: Direct material scenario - account assignment

occurs in the OLTP regardless of what was previously entered in

SRM. For external requirements, the primary system is the OLTP

from which the demand is issued and sent to SRM. In this case,

account assignment changes are not allowed in SRM because this

would lead to inconsistencies (in follow-on documents as well)

when compared to the primary system.

o In OBA5, you can suppress the message or define it as a warning

message. Since only error messages are transferred to SRM BBP_PD

047), the system no longer issues this message in SRM. Do not

consult the FI/CO team when implementing the changes.

Hope this helps,

Kind Regards,

Matthew

former_member183819
Active Contributor
0 Kudos

Well . but when we can post direct gl account ( without cost center) from SC.

when you select only GL only coast center diapperas . please see the table entry for GL bbp_pdacc

Muthu

Former Member
0 Kudos

Hi Muthu,

You will be able to post a document from SRM possibly with only G/L but you will then get subsequent errors in the application monitors as ECC will be expecting one.

Regards,

Matthew

former_member183819
Active Contributor
0 Kudos

Perfect Mathew. you are correct.

mepo 046 still contain faulty account assignments.

will SRM allows to POSt directly GL only without validation but while creating PO it troubles us. why . we understand it is not possible . if i want make it to what are the prerequisite for GL account posting directly.

appreciate your help Mathew.

Muthu

summer_wang
Contributor
0 Kudos

Hello Muthu

As far as I could understand , even if you create such PO in SRM , MM will not accept the PO.

In MM , You create 2 Kinds of PO , with account assignment (to WBS ,to order ,cost center ), and without account assignment (to material stock) .

If you create a PO with account assignment X for example. you have to give the object where the goods goes , or the usage of the goods , G/L account in FI document may not be enough. ECC customizing OME9 is the place to set which CO object is mandatory.

however to meet your actual business need , I am afraid you have to create a dummy CO object , may be a consultant in FI-CO area may help you to archive this

Thanks and regards

Summer

former_member183819
Active Contributor
0 Kudos

Thanks

former_member183819
Active Contributor
0 Kudos

Thanks Summer and mathew !!

Muthu

0 Kudos

@ Summer wang:

lets assume you defined a new dummy  accounting type where G/L account is not  mandatory but how do you assign the same in SRM ( under PPOSA ) if you are creating the PO from accpeted bid where user dont select any account assign type ( if you make the dummy  as default under PPOSA , then it will effect other areas )

please advise

Answers (1)

Answers (1)

0 Kudos

Hello Muthu,

I have a similar case, ( we are using classic scenario )

G/L accoount determination is happening in ECC side when we create the Shopping cart  , but when we create the PO from accepted bid there will be no option to enter the accounting details but the PO struck in XML ( in ECC system) saying as Enter G/L account

please advise.

Regards

Srinivas