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

PROBLEM: ALE SCENARIO (PURCHASE/SALE)

i need to create a sales order at clent"xyz" automatically as soon a purchase order at client "abc" is generated.

For DOING this,iN MESSAGE CONTROL i am using

medium:ALE

application:EF

output type:NEU

outbound process code: me10

messagetype:orders

and while defining inbound parameters for client "xyz"

Process code: orde

-process immidiately

nOW Purchase order is generated,And idoc for the same is also created which is sent to the port for transmission at specified RFC destination.

message status = 3 (sent to port)

But it is unable to create the application document,

reason: VKORG, VTWEG, SPART cannot be determined for customer 0000003000 , vendor 0000003000

it needs these fields for automatic generation of sales order.

Now i am able to find these fields,they exist as data elemnt in SAP.

How can i add these fields to my message(idoc type).As i am using "Orders",which is SAP object,which i cannot edit.

What could be the probable solution?Pls. suggested, if i am missing in between at some point....

Thanks and Regards:

-


Vijay Raheja

09868633169

-


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 04, 2005 at 09:31 PM

    Hi,

    What idoc type are you using. Is it orders05. You can create an extension idoc type for the basic type ORDERS05 and assign it to we82 and the partner profile. This might be a workaround.

    regards

    Aveek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2005 at 02:30 AM

    Hi, Vijay Raheja

    Aveek Ghose's solution is right, you can solve this problem by create a extension IDOC type.

    List the mainly step as following:

    Create The Extension Segment we31

    Create the Extension IDoc Type we30

    Create the new Message Type we81

    Do some change on the IDOC configuration:

    If you want to create a FM to handle your new extension IDOC, you also need to create a new process code link it, and assign it to your IDOC type.

    But normally, we don't create new handle FM for extension IDOC, adding an enhancement in the current IDOC handle FM is enough.

    How to do this step according to your requirement.

    Hope it will be helpful.

    Thanks a lot

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2005 at 03:53 AM

    Thats true. U can ofcourse create an extension idoctype and solve your problem.

    But both sales order and P.O. uses the same idoc type. So all data should essentially be there in the idoc, isnt it ? That is pretty surprising.

    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.