Idoc for PO changes
Hi,
For any new PO created, an idoc is getting triggered automatically and the same is communicated to vendor through portal.
Please let me know how to trigger idoc for any changes / amendments to the purchase order.
regards,
C. ASHOK RAJ
Hi Ashok,
Goto ME20,
Select your vendor
On the right hand side, you will find "Outbound parmtrs."
Select the "Messsage Type" of your Purchase Order.
Double click on it OR press Display button.
In the 'Messsage Control' tab
Add
(1) Application
(2) Message Type
(3) Process Code ME21N
(4) Check the 'Change' option box.
Hope this will help you.
Rewards are useful.
Similar Messages
-
Hi Experts,
The requirement is to receive a standard Idoc for material change and trigger the material creation process in case the material does not exist.
Secondly, what is the Idoc for material change?
Thanks and Regards,
RaviHi,
Go through the following Steps for Creating IDoc Via ALE
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.
hope this helps you.
plz reward if useful.
thanks,
dhanashri. -
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 SAP Gurus,
I am very new to SAP IDOCs & I have requirement related to IDOCs and which may be a simpler one for many but Im finding it difficult as I am new to it.
The requirement is, whenever a PO is changed it should send out a IDOC to replicate those changes in another PO which would be in another system.
Whenever there is change in delivery quantity & delivery address, this IDOC should be triggered.
I am okay with the O/P determination part and can handle that but need help in partner profile & other areas, and my first area of concern is the basic type.
I checked in WE30 for basic types(related to PO change) ORDERS04/PORDCH01 but couldn't find an appropriate segment to send out the data. Can you pls explain how to handle this.
Also, shall we consider IDOC Basic type extension as an option??
Your inputs are highly appreciated..
ThanksHello ,
you can use the IDOCBasic type extension to meet this functionality and check with your ABAPER to get this done. -
IDOC for creation/change of payment terms
Hi all,
We have a requirement to send payment terms information to a non SAP system. I am trying to look for a standard IDOC that contains this information how it can be triggered from OBB8.
If somebody has done it before, please advice. Thanks.
Regards,
NeneHI nene,
I think there is no standard idoc to send this. You create an RFC and send to non sap.
Regards,
Madhu. -
IDoc for -Schedule Changing of Material- Table PCDPOS and / PCDHDR
Hi Experts,
i have an very big Problem. I have to find a way to transfer Change Master Data to a target system. I am not talking about ECMMAS. I need the Content of an future change in my target system.
MATMAS only distributes the current Material Status. But not the future status, which is the on I needed. E.g. Use TA CC03 and enter a change master number and select one of the objects. Here you can see the Material Master how it looks "in future" and this is the view i need to send from my source to my target system. Has anybody an idea, how i can do this?
Big Thanks in Advance
UdoHi Rahul,
For that classification data fields
there is no change log option checked in the data element level.
or there is no associated changelog class.
check in <b>SCDO</b> transaction for change log class.
Regards
vijay -
Inbound BOM IDOC for create / change BOM
Hello,
I can use function IDOC_INPUT_BOMMAT_MDM with MSGFN '005' to create new BOM via WE19, but can't use IDOC_INPUT_BOMMAT with MSGFN '005' to do the same thing. Can anybody help tell what's the difference between IDOC_INPUT_BOMMAT_MDM and IDOC_INPUT_BOMMAT?
Thanks a lot,
Martin LiPls check if the GR has already happened manually.
Hope this helps. -
Hi all,
I'm looking for the proper Idocs for creating/changing CFM & CML transactions from an external source. Can you please point me to a list which will elaborate on which one to use and how to use it?
Also, can someone tell me what are the major differences between 4.6/4.7 and 6?
Thanks!!!Dear Mr Given,
I can send you few docs.
You can mail me your address . . .
Y. imaging -
Hi experts,
I have an requirement , when I change any infotype record from pa30 or pa40, i.e
suppose I am changing the infotype 0002 in pa30 , the idoc only generated for that changed infotype only,
but I need it to generate the idoc for some other infotypes also I.e(0000,0002,t528t, 0016).
So please give me some help to generate idoc when I run a rbdmidoc(bd21).
Thanks in advance.
Venkatyes, visible bounds is reading the non-visible masked objects too.
you're going to have to do it the hard way, loop through all your objects to get your bounds manually, and while you're at it, test for clipping masks and use the masking path instead. -
Reg : change pointer mechanism for triggering the IDOC for delivery note
Hi ,
I am working on a change pointer mechanism for triggering the IDOC for delivery note and will be using this message class DESADV.
So SAP has suggested for assigning the message class DESADV with the function module in MASTERIDOC_CREATE_SMD_DESADV in BD60 transaction code.
So I was looking to create this MASTERIDOC_CREATE_SMD_DESADV function module in SAP and SAP suggesting that we should create this MASTERIDOC_CREATE_SMD_DESADV function module as same as the function module MASTERIDOC_CREATE_SMD_MATMAS.
So do anyone knows that is there any tool has been provided by SAP for creating this function module MASTERIDOC_CREATE_SMD_DESADV in SAP system for triggering the change pointer mechanism for outbound Delivery.
Thanks !
Regards,
KiranHi,
When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention. If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen. Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
Thanks,
Mahesh. -
Transaction for using change pointer technique in ALE -IDOCS
Hi,
please let me know the following points.
1: while using change pointer technique , any change in the sale order(any field ) will trigger IDOC or only specific field change. Or do we have to specify field on which we want to trigger IDOC?
2:When IDOC gets genrated from change pointer , does it contain complete sales order or only change fields?
3:Do we have Native format of IDOC in 4.6c ?? XML format??
Please reply soon.Hi,
For the changes to be carried over by change pointers, the steps followed are,
If it's gonna be the vendor master for which change pointers needs to be activated,
- goto SALE transaction ->Modelling and Implementing business processes ->Replication of Modified data -> Activate Change pointers - generally / for message types.... or as said in the earlier post, alternatively BD61/BD50.
- Schedule a background job for program RBDMDIOC providing the message type(CREMAS) for which the change pointers needs to be processed.
- Now for any changes made to the vendor via transaction XK02, automatically CREMAS IDocs would get generated with the IDoc carrying the changed fields in it. You would also be able to find the number master and communication IDocs generated from the joblog of the scheduled RBDMIDOC background job.
~ Bineah. -
Incorrect message type in IDOC for Purchase order change
Hi Gurus.
Please advise on below.
We have several purchase orders that are configured to trigger IDOC upon change. But accidentally, someone has deactiveted the automatic proposal of EDI message type for these Purchase orders which resulted to not transmitting purchase order change documents automatically.
As a workaround, we have proposed to create EDI message manually during Purchase order change. But upon checking in tcode WE09, message type is ORDERS which is PO create instead if ORDCHG for purchase order change.
Please kindly advice on why it is behaving like this for purchase orders with EDI message previously deactivated.
Thanks in advance.
Acel.
To simulate.
Create PO. go to messages, select EDI message then deactivate permanently. Save PO. Release PO if needed. Change PO. go to messages, EDI is not automatically proposed. create EDI message mamanually. Save PO. Release PO id needed. check tcode WE09, for PO create, no IDOC since it was deactivated permanently. For PO change, IDOC was triggered but with incorrect message type ORDERS instead of ORDCHG.Hi Acel,
You will need to check the settings in transaction WE20 - You will be using a Partner Profile to determine the outbound message, either for each vendor or a generic one.
on the outbound parameters, you will need to ensure that ORDCHG is set up as a message type. If not, add it, ensuring that you use the message ORDCHG, the basic type (or extension) that you are using, usually ORDERS05 and make sure that in message control, you have process code ME02 set up. This should enable the correct message type to be determined.
Regards,
Rob -
Generating an IDOC for Message type PROJECT in Change pointer?
Hi,
I am trying to generate an IDOC. for the Message Type PROJECT(Actually this msg. type PROJECT is for BAPI method) in CHANGE POINTERS but it is possible Error is coming, is there any other method to use the message type in change pointer technic.
Thanks,
Vinayak,
Message was edited by: vinayaga sundaramHi 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 -
ALE: mapping IDoc fields to change document fields - TBD22 for ADRMAS iDoc
Hi,
I am currently try to find a table or way to extract the information of the TBD22 table (ALE: mapping IDoc fields to change document fields) for the iDocs/ Message Types:
ADRMAS
INTERNAL_ORDER
PROJECT
I am looking for a table that shows me to which SAP R/3 tables and fields the segments and fields of the above mentioned messages will be mapped to.
When I add one of the above mentioned message types to the table TBD22 selection criteria I always receive the notification: "No table entries found for specific key".
Could anybody determine Which table I have to use or why I cannot extract this information?
Thanks in advance!
Best regardsHi,
Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
Regards
Priyanka -
Idoc for change in purchase order document -outbound
i have a situation, where i need to populate an idoc whenevr a new PO is created or whenevr a existing PO is changed(outbound).
we can populate IDOC for a new PO using Message control(creating our own function module) but how can we handle the 2nd situation---->populating an IDOC whenever a PO is changed?
if a Master data is changed, then we can use CHANGE POINTERS concept, but how can i handle the change in Transactional data?Hi,
check the configs and the procedure for ur requiremnt.
The transaction codes that are required for this method are
We81
We30
We31
We82
We21
We20
Bd64
Nace
Me22n (purchase order), va02 (sales order) etc.
Ex: purchase order.
Message type: ORDCHG
In we20 tcode->outbound parameters->in the message control tab just specify the PROCESS CODE AS ME11 and chek the check box.
Regards,
Nagaraj
Message was edited by:
nagaraj kumar nishtala
Maybe you are looking for
-
How to delete duplicate contact entries in iCloud?
Dear Members, I am searching for a way to delete multiple duplicate entries in my iCloud accound. I have been unable to find a solution to this except to manually delete each one individually, one-at-a-time. Any help would be greatly appreciated. A
-
Older iPod not showing up for syncing in iMac iTunes
I've an older iPod, model MA497LL, i.e. an 8 GB, software version 1.1.3. When I try to synch it, it does not appear on iTunes 11.3 on my 10.9.4 desktop. Any fixes? Or is this guy past synching?
-
Spry dropdown menubar works in everything but IE
I'm having a problem with a site I just launched. The site: www.gmiloans.com/commercial When viewed in IE, the buttons that have a menu overlap with the buttons directly to the left. I've researched left and right but for the life of me, I can't figu
-
Does anyone know how to let Adobe know that their web site has an error on it? The Windows and Mac links are reversed on the DNG download page. If anyone knows how to tell them, please do so.
-
Insufficient Privilegies. "Access Home Page"
Hi, We have currently an issue with BI. Users can logon using the Single Sign On page to Oracle E-Business Suite. Then they logon using a responsibility link to BI. After 30min to 1H, the user is timing out and can't logon again. The user is receivin