Send Idoc For Purchse Order
Hi Friends,
I have Configure All the things require to send idoc for purchse order..........when i m creating purchase order from source system
it's getting send to traget system....................
but in target system giving error in idoc.that
VKORG, VTWEG, SPART cannot be determined for customer S004 , vendor 0006000023
i m using message type....ORDERS............
can antbody pls tell me how to maintain VKORG, VTWEG, SPART
in oreders message type.......there no fields in this message type.......i have checked it through se19...............
Hi ,
I have same problem ,
How to send IDOC of Purchase Order to URL of our vendor.
The Idoc is created , but how to send it to the web?
Anyone knows?
Thanks
Edited by: Moshe Stein on Feb 28, 2008 11:08 AM
Similar Messages
-
Hi friends,
i want to send idoc(create purchase order) automatically in target system when purchase order is created or changed in source system................
for that ................
for that what is the basic type, message type,inbound process code i need to use..............so that same Purchase order will be created in to the target system ?
points definitely rewarded.........Idoc Type: PORDCR101
Message Type: PORDCR1
its not working.................
and
when i m using........
Idoc Type: ORDERS
Message Type: ORDERS04
IDOC IN RECEIVING SYSTEM COMING WITH ERROR.........
VKORG, VTWEG, SPART cannot be determined for customer 0000001000 , vendor 0006000023
WHICH IS FOR SALES ORDER.........BUT I NEED FOR PURCHSE ORDER -
Generating an IDOC for each Order present in the file (File to IDOC)
Hi ,
I have a requirement where in i have to generate an idoc for each orders present in a file . Initially i had implemented 1:N mapping by changing the occurence of idoc to 1..unbounded & using it as external definition i was able to generate multiple idocs.
But now the requirement is that even if one record contains invalid data , then XI shoul process remaining records(which has valid data) & then raise an alert for the invalid record . I have implemented this approach by using BPM (splitting the message) & the sending out each record as a single message to (1:1 mapping between file & IDOC).
But now they dont want me to use an BPM . They want me to come up with an approach using 1:N mapping only where in i can make sure that the mappig doesnt fail even if there is one invalid record ,they want me to process remaining records & raise an alert for the invalid one .
As far as i know this cant be done without BPM . Please let me know any valuable suggestions or inputs if there is any
Regards
Vinay P.Hi Vinay,
Had a similar requirement few days back..
What we did was to do a multimapping of 1:N where N = N1 and N2, N1 is the Idocs which you are doing today, N2 is the set of invalid records...
Now we have written this as a file and then created another interface which will pick the file and based on the name of file we decided the To address. We have used mail package and this interface (file to mail ) was made as a generic one so that it can be used across many interfaces...
filename and To address relationship was maintained as a value mapping in ID... You can have a thought of this approach and try to send the invalid records as a mail rather than alert.
Regards
Suraj -
Sub: How to send idoc for IW31.
Dear All,
Content: My requirement is to send the idoc for maintanance order- IW31. I found the message type as IORDER. I am not able to use change pointer IORDER is not matching, as i am not able to find the message type, when executing BD21 (for change pointer).
Please let me know the procedure for sending idoc for IW31.This is what it worked for me, to create an INBOUND IDOC to transaction IW31:
I converted BAPI_ALM_ORDER_MAINTAIN to an IDOC
1) In transaction SWO1 copy model BUS2007A to ZBUS2007A (make sure set the status to implemented Edit->Change Release Status->Object type -> to implemented.
2)In transaction BDBG, check Object type, Object ZBUS2007A, Method ORDERMAINTAIN
you can check
http://help.sap.com/saphelp_nw04/helpdata/en/78/21740f51ce11d189570000e829fbbd/content.htm
I Put in Message type ZORDERMAIN
IDoc Type ZORDERMAIN01
the function name will be: ZIDOC_INPUT_ZORDERMAIN
3) configure transaction BD51
4) Configure transaction WE57
5) Configure transaction WE42
6) and Finally Transaction WE20
In my case it worked, still I modified function ZIDOC_INPUT_ZORDERMAIN, and in the call function to BAPI_ALM_ORDER_MAINTAIN I commented the releationship tables.(They were giving me some errors)
Hope this info will help someone.
Regards -
Creating an IDOC for purchase order
Hello gurus,
I want to generate an IDOC for purchase order.
The Logical System, RFC connection, ports definition is already defined.
In my system i have 800 client as source/sender and 100 client as target/reciever.
On Outbound side-> In Partner profile
I defined-
1. Partner No.- devclnt100
2.Type- US (User)
3. Agent - SAPUSER
In Outbound parameters-
I created message type as Orders.
One thing to note that my partner system is LS i.e. Logical System
Then in Outbound Options-
I mentioned Reciver Port - 800Port
Output Mode- I selected "Transfer Idocs immediately"
& "Do not start subsystem"
In Idoc type-
I gave following information-
Basic Type - Orders05
In Message Control tab i mentioned-
Application - EF
Message Type - NEU
Process Code - ME10
In NACE Transaction Code-
I selected EF Purchase Order as my condition for output control
In that- In output types-
I selecte NEU and double clicked. I checked whether Access to Conditions check box is checked and multiple issuing is checked.
In Dialog structure-Processing routines I checked that -
For Output type - NEU
Application - EF
Processing routines are defined-
medium-Distribution ALE
Program -RSNASTED
Form Routine - ALE_PROCESSING
I think these are the very basic settings that need to be done for creation of Idoc.
Now when i create a PO and then SAVE it an IDOC must be generated.
But when i go to transaction Code WE02. It shows me message "No Idocs genereated".
What is the problem? Where am i going wrong?Hi Yayati,
Here are all the settings that you need to do. I am not sure which all settings are present so kindly confirm.
Sending side Client800:
1. WE20 - under LS - Outbound parameters - message type = Orders , basic type = Orders05
2. BD64 - message type - sender = client800, receiver = client100, message type = Orders
3. NACE - App = EF - Output Types - Processing Routines - Add medium = A (Distribution (ALE)) , Program = RSNASTED, Routine = ALE_PROCESSING.
4. NACE - App = EF - Output Types - Partner Functions - Add medium = Distribution (ALE), Funct = VN.
5. Name - App = EF - Condition Records - Output type = NEU , Choose ur combination (Mine is DocType/Purc Grp)
Pur.Doc Type = NB (Execute) , Add row Medium = A ,Function = VN and other details u choose.
Receiving side Client100:
1. WE20 - under LS - Inbound parameters - message type : Orders ; Process Code : ORDE
2. BD64 - message type - sender = client800, receiver = client100, message type = Orders
For the PO which you have created, go to the PO in ME23N, click on messages .
There should be a line : Output = NEU, Medium = Distribution (ALE)... etc.
If its present then the configuration was correct.
If it has a yellow triangle means it was not processed.
Regards,
Jovito.
Edited by: dsouzajovito on Dec 30, 2010 10:24 AM -
Urgent: Creating ALE IDOC for SALES ORDER
hi
please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
reward for sure
regards
ravishHi,
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 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 ?3 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
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards -
How to find the standard Idoc for Transfer Order (LT03)
hi
How to find the standard Idoc for Transfer Order (LT03)
How to create the Idoc on LT03
plz help me out
Thank u
RamSomeone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK
Please reward points -
Generating idoc for Purchase orders - ORDERS05
Hi,
Can you please let me know how to generate idoc for Purchase orders - ORDERS05-manually, not by activating change pointers.hi
i believe u wont have this functionality as it is a transcational data and the one way of doing it by configuring output types only. -
Batch Number field in IDoc for Process Orders (message type LOIPRO01)
Hello PP experts,
Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
There is a segment-field in this IDoc E1RESBL-CHARG which has description of "Batch Number"
We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type, so not on the component level.
Can anyone here verify:
1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number? If Yes, how do we populate that for in the IDoc? --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB. We need batch from AFPO and just created a lookup using the Process Order Number as import param
-
Dear Guru's,
could anybody help me in creating the IDOC for sales order.
As per My client Business Requirment we require the following Fields in One Basic Type only.
The Fields are as follows.
Order Type,Sales Area,Sales Office,Sales Group,Material Number,Order Quantity,Purchase order Number,Purchase order Date,
Sold to party,Ship to party,Bill to party,Payer,
Vendor no ( It is Third Party order)
Contract Start Date, Contract End Date (in order we will give these dates for periodic billing purpose )..
Now i want all the fields will include in one single Basic Type.
Thank you
suribabuhi,
please check this link:
this might be help ful.
http://wwwdotsaptechnicaldotcom/Tutorials/ALE/Guide/Index.htm
balajia -
Add segment to outbound Idoc for Sales order
HI experts,
I need to add segment E1EDP02 under Existing segment E1EDP01 for outbound IDOC for Sales order. FM" IDOC_OUTPUT_ORDRSP".
I have used the Exit : "EXIT_SAPLVEDC_003" for the FM "IDOC_OUTPUT_ORDRSP" in the include of the Exit i wrote my code also for adding segment and activate it.
But when i am trying to debug the code it's not working
So please guide me how to debug it
I have followed below steps to Debug.
1. In VA02 i have repeat the output.
2. Put the breakpoint in the Exit include program .
3. put the Breakpoint in ALE processing Routine in RSNASTED program also
4. Trigger the program RSNAST00 by giving the Parameter value of SALES ORDER number and execute.
But not working
And i need to know whether i have used the Correct EXIT or not.In that case how to identify the correct exit's
Thanks In advanceHi,
I hope you have to add your segments through WE30 first for your IDOC type.
Cheers,
Raja.D -
Standard Idoc for Work order?
Hi,
Can you please let me know what is the Standard Idoc for Work order?
Thanks
POINTS WILL BE AWARDEDHello,
Standard IDOC type for Work Order is LOIPRO01.
Thanks,
Venu -
Standard Idoc for Purchase order?
Hi,
Can you please let me know what is the Standard Idoc for Purchase order?
POINTS WILL BE AWARDEDHi Guest
You can use it, if all your required field are in that Idoc basic type.
http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358
http://abapprogramming.blogspot.com/2007/11/abap-idocs-basic-tools.html
Award points for helpful answers -
Hi All,
Iam very new in using idocs, my requirement is to create a outbound idoc for production order (create/change) ,I got the Message type LOIPRO and idoc type LOIPRO01 there is no process code so i created a Z process code with FM (CLOI_MASTERIDOC_CREATE_LOIPRO) . Please explain how to proceed further in NACE etc
Thanks in advance,
Pria.I have message type LOIPRO.
I am using that to trigger Production Order IDOCS.
I'm using the following fields below. My question: What Object/Table/Field combination do I use to track when STATUS has changed?
ORDER AFKO AUFNR
ORDER AFKO GAMNG
ORDER AFKO GLTRI
ORDER AFKO GLTRS
ORDER AFKO GSTRI
ORDER AFKO GSTRS
ORDER AFKO KEY
ORDER AFKO PLNBEZ
ORDER AFVC LTXA1
ORDER AFVV BMSCH -
Standard Idoc for Purchase Order Receipt?
Hi Experts,
Is there a standard idoc for Purchase Order Receipt?
Please let me know.
Thanks,
Rakesh.here we go:
Goods Receipt MIGO IDOC
Maybe you are looking for
-
Background refresh does not work as expected
Hello All, I am brand new to iphone after using Android for several years, one thing that is really bothering me is the way certain apps seem to behave and how the background app refresh seems to have no affect when on or off. The examples I will use
-
How to find the cost center group from cycle/ segment in CO module?
Hi All, I need to fetch the list of cost centers in the cost center group against the cycle. Is there any table which will store the list of cost centers against the cycle? or else, what I was thinking is use of BAPI BAPI_COSTCENTERGROUP_GETDETAIL, w
-
Smartforms on Purschase Order and Purchasing Contracts in SRM system
Hi Friends, Can anyone provide sample example of smartforms on Purchase Order and Purchsing Contracts in SRM system? It is great, if you send me valuable material to create smartforms on PO and Purchase Contracts in SRM system. Thanks in Adv. BAB
-
CFID & CFTOKEN added to URL by CF
CF automatically appends CFID & CFTOKEN to the URL when using <div <span with id = a variable. They are not appended when a constant is used. I do not want these to be displayed unless I append them myself. Is this a CF bug, or can I change my code s
-
Permission denied remote socket ERROR when creating outgoing PROVIDER
Hi, I am having issues in the outgoing provider. My Stellent 7.5 is installed on a linux box with ip address 182.30.190.28 and hostname of pc-prd-st and the URL to access this is http://pc-prd-st/stellent_pr/ I have installed two instances of Content