IDOC generation on PO creation/Change
hi friends,
my requirement is to automatically generate an IDOC as soon as we create or change any PO. I want to its configuration steps or any approach to start off..
Thanks,
Gaurav
Hi
configuration steps -- Give partner in that u should maintain Message contorl,
application type , out put type, process code. after that go to purchase orde in that be maintain proper out put type.
thanks
venu
Similar Messages
-
How to trigger an Idoc from Sales order creation and change
We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
Follow the below steps:
1. Go to NACE transaction
2. Select V1 application and select OUTPUT TYPES
3. Select the required output type and double click on Processing routines.
4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
5. Save it.
message type ORDERSP in the distribution model (BD64).
Follow the below steps to configure the condition records:
1. Go to NACE
2. Select V1 application and select CONDITION RECORDS
3. Select the requred output type and click on Condition records
4. Selection screen will be displayed.
5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
Sales doc type = OR
Funt = SP
Partner = blank. It means there is no restriction on partner numbers.
Medium = A
date/time = 4
Lan = EN.
Note: partner is left blank means, the sales order of type OR can be send to all partners.
6. Save it.
We also done ALE configuration.
We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
Kindly suggest the solution.
Regards,
Sharad DixitHi ,
Please check the total error description and diagnosis as below :
InVa02 enter SO go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
Please paste the diagnosis .
Thanks and Regards,
P.Bharadwaj -
IDOC generation at time to transfer order creation.
What are the config steps involved for idoc generation at the time of transfer order creation?
please advise.
Edited by: avi on Dec 25, 2008 5:31 AMHello,
TO creation with respect to Picking perspective:
Lean WM --> output type WMTA can be used to create TO automatically can be created (you can go to NACE transaction and check the settings of WMTA)
From MM WM perspective i think it is PUTAWAY concept, if Purchase order -->Inbound delivery will be created with ref. to inbound delivery TO (putaway) can be created.
Link for IDoc maintenance:
IMG>LE>WM>Interfaces>external systems-->configure wm
link for Automatic TO creation:
IMG>LE>WM>Interfaces>inventory management-->Activate Automatic TO creation
Mahesh
Edited by: Mahesh on Jan 2, 2009 11:19 PM -
Difference between IDOC for creation, change and deletion
Hi,
As per the requirement, an IDOC will be generated for PO, Vendor Masters and Goods receipt when ever a PO or Vendor or Goods receipt is created or changed. How can we identify whether the IDOC has been created for creation or change of a particular thing? Is there any identifier where in we can check whether the IDOC generated is for creation or change?
And also how to identify that a particular PO or VM or GR has been deleted or cancelled?
Thanks & Best Regards,
Phani.hi,
to check the idoc status ie idoc created or changed --use transaction WE05
we02 to diplay idoc
please rewrd points if helpful,
shylaja -
HI All,
If I enter the necessary data in tcode ME21 for purchase order and click on save button, corresponding idoc is to be generated.
This is my requirement.
For this, I worked out and came to know that I have to configure the following steps:
RFC destination, Ports Creation, Partner Profile configuration, Distribution control.
Apart from these, any other configuration is to be done ??
Plz suggest me in what order i have to do all these....
rgds,
anil.Hi satish kumar ,
Go through the following links
You will find important information about IDOC generation
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
ALE/ IDOC/ XML
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
IDOC Convertion
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
Good Luck and reward me for the same
Thanks
Ashok.N -
Hi All,
AS per my understanding for SPEC2K idoc generation, SAP generates two IDOCS. one of standard SAP message type and another is of SPEC2K type .
<b>My requirement</b> : if the customer requested items are not available then both the SAP message IDOC and SPEC2K idocs should be generated.
If the customer requested items are available then only SAP message type idoc should be triggered and <b>SPEC2K idoc should not be triggered</b>.
Is there any settings by which I can achive this.
Thanks in Advance.
Vijay.Go through the following Steps
Try with the follwoing steps
Sending System(Outbound ALE Process)
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Create Model View
Tcode BD82 ¡V Generate partner Profiles & Create Ports
Tcode BD64 ¡V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ¡V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 ¡V Send Material Data
Tcode WE05 ¡V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Thanks & regards
Sreenivas
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Thanks & Regards
Abhay.
rewards point -
LSMW error message during "Start Idoc generation"
Hi ,
I am getting error message "'/tmp/YS.lsmw.conv' File Has Not Been Accepted for Processing"
during the step "Start Idoc generation" in transaction LSMW.
Please help to solve this issue.
Thanks & regards,
YogitaHi,
I already have set port and partner function.
As per the details of the error message, it says "
System Response
Clarify if the inbound file is a Unicode file.
Procedure
If it is not a Unicode file, change the port definition and then start inbound processing again.
If it is a Unicode file, then the file must be generated with the 'EDI_DC40_U' indicator. This must be clarified with the creator of the file.
I have added the check Unicode fomat while defining the port.
Can you please help?
Regards,
Yogita -
Hello All,
I have a requirement like this.
For transaction C202, (Master recipe change), when I go to Materials->BOM and change material quantity,
and save the document, an idoc should be created. We hve Idoc type, Message type and Object type copied from BOM001 as customized.
How can I achieve this. In NACE, I hve done changes for application (p1) ->medium (A) and processing routine ALE_processing and program RSNASTED for output type ME01.
But idoc is not getting created when I change BOM quantity and SAVE the document.
Am I missing something here? I am not linking the object type (BOR) anywhere. Is this an issue?
Any help and detailed explanation step-by-step what to do to achieve idoc generation would be appreciated.
Thanks
RickyHi,
For ur scenario u need to go for change pointers method only.U have other options like distributing master data and transactional data..But i don't think anything otherthan change pointers is useful.
Regards,
Nagaraj -
Hi Gurus,
There is a requirement for a customer to develop a custom program i.e. IDOC generation for the Manual payments (F-53 ) raised (As similar to the F110 Automatic payments ).... We are calling MASTER_IDOC_DISTRIBUTION function Module from which IDOC is getting generated but the data which needs to be distubted to XML file through Port configuration is not happening .
with the Automatic payments with same port configuration this is working fine.... so is that anythign we need to do in the custom program ...
Thanks for your help in advance
Thanks & Regards,
RamamurthyHi Ramamurthy,
I'm assuming that the IDoc gets generated, i.e. you can see it in WE02. If not then you're probably missing the entry in the distribution model (BD64), so the function module creates a master IDoc, but no communication IDocs.
If you see the IDocs on the database, but they are not being sent, check if your custom program issues a COMMIT WORK. Alternatively you could also see if changing the partner profile from Send immediately to Send via background program and then sending the IDoc via RSEOUT00 makes a difference.
Cheers, harald -
Idoc generation for message types
Hi All,
regarding IDOC generation....
how do we activate the message type so that every time the application data which is created or changed or deleted generates the idoc and send it to other system. If iam not using Chnage pointers technique then i would not be activating the message type in BD50. In such case ie if the message type is not present in BD50 list and if change pointers is not used to transfer that message type . How do we genrate the idoc for such message types.
Thanks
AvinashHi,
For ur scenario u need to go for change pointers method only.U have other options like distributing master data and transactional data..But i don't think anything otherthan change pointers is useful.
Regards,
Nagaraj -
Automatic IDOC generation !
How to automate an idoc generation when the credit memo is created !
Can any one tell me the approach and the steps !Hi,
You dont need to write a code in userexit, just check this IDOC type : GSVERF01.(TCODE: WE60 or WE30)
Thru this you can create an IDOC for Credit memo.
Thru message control option we can achieve that.
Read this.. it will help u.
Message Control
The objective of Message Control is the exchange of information between various partners and the launching of subsequent processing that is partner-independent. Message Control provides interfaces to make this possible.
You can use the Message Control interfaces to describe various data combinations along with the required processing. If one of these data combinations is found to be applicable during the processing of an application object, the appropriate processing is started (synchronously or asynchronously).
Message Control is a "service program" for other applications. It is initiated via ABAP function modules. Information about which programs carry out the subsequent processing is managed in tables . The conditions determining when programs are called are often very complex and also depend on the individual customer situation. Message Control offers the flexibility needed to represent these various situations .
Purpose
The output or follow up processing of partner-dependent messages is automated via Message Control. The application then calls the Message Control via the specified interfaces.
You can use these interfaces to describe various data combinations along with the required processing. If one of these data combinations appears during processing, the appropriate processing is started (synchronously or asynchronously). You can define processing with several different methods, for example as a workflow, print output or as an IDoc dispatch for EDI.
Implementation considerations
SD and MM applications always use Message Control for message output. You carry out Customizing of the Message Control in the applications Customizing. The Message Control is also sometimes described here as "output control".
Integration
Message Control is a "service program" for other applications. It is initiated via ABAP function modules. An application that uses Message Control must
Call the Message Control
Transfer files which should be compared with the combinations defined in Customizing.
Provide a processed program, that is called from the Message Control, if the transferred data corresponds with the combinations defined in Customizing
Features
The condition technique in the R/3 System is used to formulate the data combinations required. If the current application data corresponds to the conditions defined in Customizing, message determination was successful and created a message default. If the application supports it, the proposal can be changed (processed).
As a result the message is processed immediately or at a defined time. The processing status of the message is stored in a status record. If the application supports it, a processing log is written as well.
Message Control scenarios:
1. The credit limit has been exceeded in a sales order, whereupon the block indicator is assigned. The Message Control should respond to the block indicator by printing out this customers account history.
2. A document is released and receives a corresponding status in its data record. The Message Control should thereupon issue a release message.
There are also applications which can "switch off" message determination and directly generate the message default.
Structure
Condition Components and Condition Records
The individual objects of the Message Control which are relevant in the message determination process and can be configured in Customizing or the application transaction are explained.
Message determination
This section describes how the condition component hierarchy is evaluated and how the condition tables are accessed. Different scenarios, which can be realized by special strategies when Customizing the condition component, are used as examples.
Message Default and Message Editing
The result of message determination is a message default that can be edited manually in the application, if this function is available in the application. If not, any messages found are forwarded directly for automatic processing.
Message processing
This explains how the message found can be processed.
Regards. -
Name of Standard outbound Idoc generated after Business Partner change
Dear All,
I am looking for an standard outbound Idoc ehich generates after Business Partner Change/Save.
We are working on a customer requirement where we need to send Business Partner change data from ECC 6.0 system to their application through SAP PI 7.0.
The requirement is whenever we change a Business Partner (TCode - BP) in ECC 6.0 and save it,an IDoc should be triggered with changed data and this Idoc data will be propagated to SAP PI.
Can someone suggest the message type or basic type of standard outbound Idoc ehich generates after Business Partner Change and how we can trigger it.
Thanks
Honey
Edited by: Honey Gyanani on Jun 21, 2009 6:58 AM
Edited by: Honey Gyanani on Jun 21, 2009 7:05 AMDear Michal,
Thanks for all the details. At last the scenario worked and i am able to send the saved Business Partner data from ECC system to PI.
Can you please suggest what configuration needs to be done to send Customer data from ECC system to PI when we save/change any Customer in ECC system.
I have done ALE setting like SM59 (RFC destination), WE21 (Port creation), WE20 (Partner profile ), SALE (Logical system creation) and BD64 (Distribution channel with DEBMAS Idoc).
In transaction CRMC_BUT_CALL_FU, do I need to change any event.
Also please confirm if I can use outbound IDOC DEBMAS.
Best Regards
Honey -
How to populate VENDOR in Delivery ADDRESS tab durinG PO creation/Change
Hi Expert,
which structure is used to populate VENDOR in Delivery Address TAB in PO creation /Change using BAPI (BAPI_PO_CREATE1/BAPI_PO_CHANGE).
VENDOR SCREEN FIELD NAME IS CMMDA-EMLIF. Actually this field is available in EKPO and I have been asked to modify this filed only corresponding to PO. But direct modification of EKPO is not good practice . what I'm trying is, using BAPI_PO_Change to make this change. can we do this at time of PO creation using BAPI_PO_Create1?
Thanks in advanceHi,
You can use the above BAPI's and fill the structure -POITEM with the field : SUPP_VENDOR{Vendor to be supplied/who is to receive delivery}
Simultaneously you need to update the field SUPP_VENDOR to X of the BAPI structure POITEMX
Hope this helps
Regards
Shiva -
Need Enhancement spot in Business Partner Creation/Change
Hi all ,
In Business partner creation/Change screen(Tcode BP),if pressing BACK or CANCEL button without saving data, it will ask for confirmation that Want to save data or not.If we press YES it will save the data,or if we press NO it won't. Is there any Enhancement spot (User exit or BADi) available after triggering the above confirmation message.If so kindly intimate me the Exit name or BADi name.
Thanks in Advance..Try using Implicit Enhancements .
I have got implicit enhancements over here for you.
check out if Useful while dubugging.
include :LBUS_LOCATORF05
screen 3000
prog SAPLBUS_LOCATOR
form dynpro_pai_begin
dynpro_pai_end
create IMPLICIT enhancements here.
To avoid confusion write your code after IF condition checking for
GV_OK_CODE which is BUS_MAIN_BACK and dynpro number.
If you dont know Implicit enhancements try this link
http://www.sapdev.co.uk/enhance/eframework/eframeworkhome.htm
checking ok_code is necessay otherwise it will be executed everytime PAIis triggered. -
Badi at BP creation/change
Hi all,
I'm looking for a BADI where I can default fill a field (field 'search term' should be equal to the first name of the partner) of a business partner at save (creation & change).
I have already found several Badi's but in none of them I can change fields (only importing parameters).
Or can I call a function in a Badi that immediately updates the partner fields. I have tried this but when creating, the partner is unknown at that point (which is obvious)...
Many thanks for any help!!Hi Siegfried ,
Doing memory modifications at save time is not a recommended feature , bacause this can cause inconsistenceies. That's why, there is no module which allows you to modify the contents of memory.
You would need ao make a small modification to achieve the same.
This modification must be done earlier in the flow.
How are you creating the BP's ? If you are using transaction BP, then the solution to this will be to make a small modification in form bup301_pai, include LBUD0F00. Just write the line
BUT000-BU_SORT1 = BUT000-NAME_FIRST.
THis will assign the first name of a person to search term 1.
For organizations, use field NAME1 instead of NAME_FIRST.
For other cases (such as creation using BAPI), BUP_MEMORY_BUT000_FILL might also help. Before calling this, you should get the memory contents using BUP_MEMORY_BUT000_GET (assuming you know the partner number by now), and then call fill with ALL the data you got from BUP_MEMORY_BUT000_GET, and the modified search term.
Best Regards,
Rishu.
Maybe you are looking for
-
I have an X1 Carbon. Usually when i raise or decrease the screen brightness i had an on screen indicator showing me how much i decreased ot increasing either of the obove.. Now, when i do the same actions nothing apears.. can any one give me a hand?
-
A real task..( to search and display few lines from a log file)
have a look at the following link http://computing.unn.ac.uk/staff/cgpb2/public_html/log.html i need to display to the users only the Hourly Transmission Statistics (Bytes Sent Requests Time) on a tabular format from the above mentioned link. t his i
-
Excise Price Capture at MIRO level
Hi friends, My client Senario create PO , vendor suplies material based on Delivery dates. Before del.Date vendor suplies mat they gave Bonus on PO document Price. for this i created one Condition Type . and doing process GR and Excise Capture first
-
Bo Mobile compatible with Bo edge?
i think install that BO Edge XI 3.1 + BO mobile 3.1 Bo Mobile compatible with Bo edge?
-
645 songs deleted...don't know how to get back...
I have an older Ipod...about 3 years...I think.Well,my brother recieved it as a bowl game gift and put his songs on it,but gave it to me as a birthday gift.Well,today I was asked something about loading the "Owner's iPod" songs 2 the library...well,I