Creation of Custom IDoc with Message control for sales Order
Hi all,
I am trying to create custom Outbound IDoc with message control.
I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
Please list me the steps to create a custom IDoc for Message control.
Thanks in advance,
Regards,
John.
Hi,
You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
check this link:
Re: Master_IDoc_Distribute
and use transaction : WEDI for IDOC configurations.
here you will have all the transactions(step by step) to set the outbound IDOC configurations.
Regards
Appana
Similar Messages
-
Outbound message control for sales order SISCSO.
Hi...
I am trying to generate IDoc for Sales order using message control. The IDoc of type SISCSO is getting generated as per the requirement.
I want to calculate certain things before generating IDocs. I have done the following configurations:
1. A function module 'ZIDOC_OUTPUT_SALES_ORD' is created with interface same as 'IDOC_OUTPUT_ORDRSP'. (Where i am planning to write a code)
2. WE57 where Function module is assigned to SISCSO as outbound FM.
No BD51 is done as it is only for inbound process.
3. New process code ZSO is created through WE41, which is made message independent and FM created in step 1 is assigned to it.
4. In WE20 , this process code is attached to V1 type of application under message control.
Still, my FM is not getting called... I have checked it by applying Break point as well as raising exception in the FM. But still it's not working..
Where am i going wrong??
Can anybody suggest solution??
Thanks,
Audy.Hi,
You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
check this link:
Re: Master_IDoc_Distribute
and use transaction : WEDI for IDOC configurations.
here you will have all the transactions(step by step) to set the outbound IDOC configurations.
Regards
Appana -
Creation of custom idoc with entire code
Hi
I am kavitha ,working on abap skill , i want the entire documentation for creation of custom idoc , including writing of posting programe and also selection programe , if possible please forward me any real time scenarion . plz forward me its urgentHi,
Hoping that u would reward me all the helpful points please refer the link:
<a href="http://abapcode.blogspot.com">http://abapcode.blogspot.com</a>
regards,
Ameet -
Message control for Internal Orders
Hi
How to change the message control for an error when Iu2019m getting settling internal orders (message # KD503)
TksHi
You need to maintain Condition record for your Purchase Order output. Then output will get assign automatically once you create PO.
Use Transaction code: MN04
Navigation:
Logistics --> Materials Management --> Purchasing --> Master Data --> Messages --> Purchase Order --> Create
Enter PO output type and maintain necessary conditions.
hope it helps.
regards
Srinivas -
New Message type for Sales orders
Hi,
We have the message type is ORDSRP(ORDERS05) and Function module IDOC_OUTPUT_ORDRSP for the sales orders.
We have lot of custom fields to be added to the IDoc.
Can any one suggst if it is better extending the current message of create a new one.
Thanks.
Rohita.Hi Rohita,
Instead of changing the standard domain, You have to make the changes in the User Exit.
Say Qualifier 001,002,003 were already there in the domain.
001--Purchase Date
002--Delivery Date
003--Ordered Date
In the user exit u have to just add the segment and the qualifier without making any changes to the Standard Domain.
These Qualifiers are just like other variables and u can add whatever values to them that u want..
You can add Qualifier 004 for Trnasportation Date or Goods issue date and have to communicate the MiddleWare informing that date with this Qualifier will be Transportation Date and they will do the mapping to the corresponding field in other syste.
You can have as many message types as u want for the same IDoc type. There is no harm in having multiple message type. And u dont need to change the standard domain. It can be done without changing the domain.
If u analyse the FM closely u will realise that they have done coding for those values in the domain.
So instead of adding it to domain u just have to do the coding for this new qualifier.
Revert back if u need any help on it.
Thanks...
Message was edited by:
Utsah Garg -
Message Control in sales order
Could some one help me to change the message control from Info to Error for Application area V1 (sales order)
ThanksHi
This has to be done thro development only
Only some messages of message class V4 can be done in t code OVAH
Go to SE91
1.Input the message class V1
2..Input the message no say 061 in no and execute
3.select the message no and click on where used list (ctrlshiftF3)
4.select the box programming and deselect all others
5. Then a list of programs where this error message is used will appear
6.Double click description on the right side of your screen
7.Here you can see the codings written for this message 061 which can be changed to warning to error
Note
The best way to do it is with ABAPer only
Not recommended to change the standard settings
Regards
Raja -
Change in background MRP time with EDI scenario for sale order booking
Hi All,
I have a scenario where Sales orders are booked through EDI. Now because of some reasons duplicate orders are getting booked in SAP. Now users are manually deleting the duplicate sales orders.
Now MRP is running at Night with duplicate orders in background. So users wanted to run MRP after deleting the duplicate SO.( i.e. during office Hrs)
Should i change MRP timings to suit the user requirement? what will be the pros & cons if change MRP timings.will it throw errors in EDI.
Thanks & regards,
devDear,
If you change the MRP run time for periodic job in MDBT it would not affect any where only system will create the procrument after MRP run only.
Please try to find out the reason why duplicate orders are getting booked?
Regards,
R.Brahmankar -
If you want to copy one particular pricing type (say "H") to a limited number of sales order (say 10). How would you do it without letting it take effect on all the other sales orders ?
Let me rephrase the question.
In the copy control settings, there is a pricing type that you can define for Sales Document to Sales Document at the Item Category Level.
Originally it would be at "A".
So now you want to change the pricing type for 10 sales orders previously created without affecting any other. How would you do that?
ThanksHi Noel,
You can control through copy control settings for the future documents not for the already created document.
And you also mentioned that the specific pricing type only for ten orders that you can do it manually,you put the pricing type what you want in the copy control settings then create 10 sales orders then change that pricing type to standard one then it will continue the stanadrd process
I hope it will help you
Rwegards,
Murali. -
ALE-IDoc : Outbound message control for MIRO,IDoc message type for INVOIC
Dear Experts,
I am using the IDoc message type INVOIC. For that i have created the new output type. Then i assinged the the Program RSNASTED and form routine ALE_PROCESSING.
But when i am saving the transaction in MIRO i am getting the Update Error like VN 056: Processing log for program RSNASTED
Please help me to rectify this problemHi Dharmendiran,
We also have the same requirement to send status acconf messages on Inbound INVOIC idoc posting..
Can you let me know how you went about creating new output type..did you mean new output type in NACE for application MR?
Thanks. -
IDOC Creation with message control
I have created an IDoc using standard FM ' MASTER_IDOC_DISTRIBUTE' (without message control) for my own table. Now, I want to create IDoc with message control to send data from SAP to SAP. Can anyone please tell me the steps to create IDoc for my own database table and program to be created.
Thanks in advance.Pankaj,
You can access the following link to understand Custom IDOC creation flow.
http://wiki.scn.sap.com/wiki/display/HOME/Step+by+Step+procedure+for+creation+of+IDOC
In The Process code FM, you can call Z-API to update your own database table & create a program to trigger & process the IDOCs.
Further, a report program can be created to trigger/monitor IDOCs.
Ravi -
Want the code for sales order confirmation idoc
New SAP output type ZA23 (with condition logic)for sales order confirmation is needed to create ORDRSP IDoc when the following 3 cases are true: 1) Item Added, 2) Line Item Changed,3) Item Deleted.
Changes to existing lines (option 002) can include:
- qty
- date
- priceLook at the function exits under the enhancement SDEDI001 you have many exits, i think the outbound idoc is primariy created by the function module: IDOC_OUTPUT_ORDRSP.
Hope this helps.
Rajeev -
Change Message Control for Customer Master data
Hi Friends,
I have to choose/populate a message when the user is about to create an already existing customer.
In SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for creating customer master data --> "change message control for customer master data" ...
OK...
When u click this it goes into Change View "message control by User" Overview screen wherein u can insert new messages and texts and the type of message ....
Now .....
I want to display the 145th message (F4 help of the Message column) ..... it picks up the text "Customer found with same address;check"..... with Online mesasage type 'I' and batch type 'I' and with standard type '-' ..
I want to have the same message with message types 'E','E', and 'I' respectively.......
How is this possible (or) what should i do to meet my requirement :-|
Expecting ur answers
Thanks in advance ........
Cheers,
R.Kripa.Hey yes it is not possible (as of now
I ve met the requirement by just using message statement in the program itself ............
My requirement is met but still if anyone knows about this do answer / reply
Thanks
Cheers,
R.Kripa. -
Creation of IDOC with message type INVOIC01
Hi All,
I am trying to create a new IDOC with message type INVOIC01.
When I see transaction WE81, I observe that the required message type INVOIC is available. Also in WE82 the basic types INVOIC01, INVOIC02 and INV_ID01 are attached to the message type INVOIC.
However, while trying to create an IDOC in WE19 using a message type, I get options to create against INVOIC02 or INV_ID01. The basic type INVOIC01 is not getting populated because of which all the IDOC that I create are of basic type INVOIC02.
The client wants me to create IDOCs with basic type INVOIC01.
Can anyone please help?
Thanks in advance.
regards
NagarajanHi Nagaraj!
I've looked at the documentation and did not find information, which would help me. Should I use in my case z-segment to put extra lines or there is some qualifier in segment E1EDP02 (Document Item Reference Data), which triggers to another referencing (not PO or delivery note)?
Thank You,
Natalija -
Hi Guys,
I have a small problem. I wish to trigger an IDoc to my Vendor as soon as a Purchase Order is created in my system. I am using Message Control for it.
All the configuration for proposing the output type have been done and I am getting the desired output type shown in the "Messages" with correct recepient . But when the PO is saved and the Idoc is generated I find that the IDoc is sent to some other Logical System and not to the vendor.
I have created the partner profile for the Vendor with the outbound parameters.
Can anybody tell me what am I missing or could be wrong in my settings?
Regards,
Prakash PandeyDo you have a specific requirement?
For example, purchase order message control parameters will look like this,
Message type - Orders
application - EF
Message type - NEU
Process code ME10
For purchase order change,
Message type - ORDCHG
application - EF
Message type - NEU
Process code ME11
Change flag set -
RFC error "No authorization to send IDOCs with message type ..."
Hi all,
I have now tried just about everything I could think of, applied all the notes mentioned on this forum but still no luck. Can anyone please help ...
I have got a file to idoc scenario, the status in the sxmb_moni is successful, but the outbound processing logs an error. When I go to transaction SM58 I get an error for the user XIAFUSER with the message "No authorization to send IDOCs with message type WPUUMS".
I have tried giving this user SA_ALL access and still got the same error thus concluding that this is not an authorisation error.
Any suggestions?
Regards,
LieselHi Liesel,
The RFC destination that you have put in IDoc communication channel must be present in your SAP XI system, transaction SM59 also.
Please check if the user id/Password that you have given has all the authorization.
Also check the User ID and passwrord in SM59 in R3 and see if a Remote Login is possible.
There is also some configuration by which the clients are allowed / blocked from receiving Idocs from XI. Basis guys can do it for you. Please approach your basis consultant. Hopefully that helps..
Regards,
Abhy Thomas
Maybe you are looking for
-
Standard report for vendor payments made monthwise for acct grp
My client needs a report with below fields and selection criteria based on the account group.: Vendor Number Vendor Name Amount(Payment per month) Month Is there any standard report i can look in to.If not standard repor
-
How to embed PDF document to a view in WDJ?
Hi, experts, I have a PDF document for helping user to use a software product. I want to embed it to a view through interactiveform in web dynpro for java so that other users may read the PDF document. I don't how to implement it? Do you give me some
-
Using Aperture2 and Ilife together: how do you do it?
I recently purchased Aperture 2 and have been getting my feet wet with it. I like it a lot and love how it integrates with iPhoto. My question for those who use both is: how do you import? do you import into aperture first? iphoto first? How do you m
-
Hi everyone, I'm having a strange issue with fetching data from a web service. Here's my code, with a few boring bits trimmed: private async Task<IEnumerable<string[]>> GenericGrab(string query) var req = (HttpWebRequest) WebRequest.Create(new Uri("h
-
Executable and Register event callbacks
Hi, I have been running into an issue regarding the building of an executable that has register event callbacks (specifically Test Stand Callbacks). The VI that is responsible for setting up the event registration is an asynchronous VI. During deve