Skip to Content
author's profile photo Former Member
Former Member

Problems with multi-account assignment in batch-input program

Hi everybody!

I'll create purchase orders with multi-account assignment via batch input.

When processing dynpro SAPMM06E 0113 I get the message:

"Batch-Input data for dynpro SAPMM06E 0113 are not available".

But all data are already filled in the accounting fields.

There is no way to go back to the position overview.

Here you can see the batch input coding of the multi-account assingment:

PERFORM dynpro USING: 'X' 'SAPMM06E' '0113',

' ' 'BDC_CURSOR' 'EKKN-TWRKZ',

' ' 'BDC_OKCODE' '/00',

' ' 'EKPO-WEPOS' 'X',

' ' 'EKPO-WEUNB' 'X',

' ' 'EKPO-VRTKZ' wa_ekko_ekpo-vrtkz,

' ' 'EKPO-TWRKZ' wa_ekko_ekpo-twrkz.

PERFORM dynpro USING: ' ' 'BDC_CURSOR' 'EKKN-ANLN1(14)',

' ' 'BDC_OKCODE' '/00',

' ' 'EKPO-WEPOS' 'X',

' ' 'EKPO-WEUNB' 'X',

' ' 'RM06E-MKNTM(14)' ekkn_menge2,

' ' 'EKKN-ANLN1(14)' wa_ekko_ekpo-anln1,

' ' 'EKKN-ABLAD(14)' wa_ekko_ekpo-ablad,

' ' 'EKKN-WEMPF(14)' wa_ekko_ekpo-wempf.

  • ' ' 'BDC_SUBSCR' 'SAPLKACB'.

*(this is repeated for every accounting position)

PERFORM dynpro USING: ' ' 'BDC_CURSOR' 'EKPO-VRTKZ',

' ' 'BDC_OKCODE' '=AB',

' ' 'EKPO-WEPOS' 'X',

' ' 'EKPO-WEUNB' 'X'.

Regards,

Anke

Message was edited by:

Anke Chittka

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2007 at 12:20 PM

    Hi,

    1 .First record properly depen upon ur requirment,

    2. Test ur recorded code

    3. Note all OK-Code ( when u press any button) * this is important

    4. After that split ur recorded coding dep ur requirment (if u know all OK-Code u can split the recorded coding)

    5. call ur splided coding in ur prg.

    i am having coding for PO but this is Dep my requirment

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.