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
Similar Messages
-
Need help for new message type for PO archiving
Hello All
I have configured new message type ZARR for PO archiving process. After configuring all the steps this condition is not getting picked to by itself. And after maintaing it manually it is giving red flag without any error message. Here I am listing all the step that I have followed for config. Please help me am I missing something or any parameter is wrong.
Steps for new Message Type for PO Archiving
1. Defined new Table 513 Purch.Org./Plant.
2. Defined new access sequence Z513 Access Sequence for Archiving.
Following are parameters to the Access Sequence
Access Sequence Number = 21
Table = 513
Description = Purch.Org./Plant
Requirement = 101
Exclusive = Yes (box checked)
3. Maintain Output Type ZARR for PO
General Data
Access Sequence = Z513
Access to condition (Checked)
Multiple Issuing (Checked)
Program = FM06AEND
FORM Routine = CHANGE_FLAG
Default Values
Dispatch Time = Send Immediately (when saving application)
Transmission Medium = Print Out
Storage System
Storage Mode = Archive Only
Document Type = ARCHIVE
Mail Title and texts
Language = EN
Title = Archiving for Legal Requirement
Processing Routines
Transmission Medium = 1 (Print Out)
Program = SAPFM06P
Form Routine = ENTRY_NEU
Form = ZJ_9H_MEDRUCK
Partner Roles
Medium = Print Out
Funct = VN
Name = Vendor
4. Fine-Tuned Control: Purchase Order
Oprat. = 1
CType = ZARR
Name = Testing for Archivin
Short Text = New
Update Print Related Data = Yes (checked)
Oprat. = 2
CType = ZARR
Name = Testing for Archivin
Short Text = Change
Update Print Related Data = Yes (checked)
5. Maintain Message Determination Schema: Purchase Order
Procedure RMBEF1
Step = 100
Cntr = 1
CTyp = ZARR
Description = Testing for Archivin
Requirement = 101
6. Assign Schema to Purchase Order
Procedure RMBEF1
7. Define Partner Roles for Purchase Order
Out. = ZARR
Med = 1 (Printout)
Funct = VN
Name = Testing for Archivin
Name = Vendor
8. Test Condition Maintained in MN04 (Master Data)
Purch. Org. = 0001
Plant = 24
Partner Funct = VN
Medium = 1 (Printout)
Date/Time = 4 Send immediately (when saving application)
Output Device = HUL1
Storage Mode = Archiving only
Thanks
Ankitthe problem is the Exclusive = Yes indicator in the access sequence.
Your other message has this exclusive indicator as well.
so if the first message is found, then no other message wil be determined
to allow several messages in one PO, you must not set this exlusive indicator -
Creation of New Message Type for Extended IDoc
Dear Friends,
I want to create New Message Type for MATMAS and want to Active Change Pointers accordingly. Thru this Message Type how can I able to use Extended IDoc which I have created for Basic Idoc Type MATMAS05.
I am Sending Data from SAP to XI ; Any one can help me in this How can I create the Message Type with the IDoc Extn .
for Change Pointers.
Warm Regards,
Naveen Mutyapu.Hi naveen mutyapu,
see these links
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
http://www.allinterview.com/rss/interview-questions/new/SAP-ALE-IDocs.xml
happy learning.
thanks
karthik -
What is the IDOC Basic Type for sales order creation
Hi Experts,
Can anyone tell me Idoc Basic type for sales order creation.
Thanks
PrashantHi,
The basic types for creating the order are:
1.Orders01
2.Orders02
3.Orders03
4.Orders04
5.Orders05.
The basic type for SIS order is:
SISCSO01.
Regards,
Krishna. -
Default document currency as per document type for sales order
Dear All,
We are facing problem in Default document currency as per document type for sales order,
Our requirement is not to give currency in customer master & set it as default document currency as per document type,
for example: Document type 'OR' default currency 'INR',
Document type 'ZEU' default currency 'EUR',
Document type 'ZUS' default currency 'USD',
Document type 'ZNP' default currency 'NRP,'
Document type 'ZAF' default currency 'RAND,'
Is it any how possible in standard setting ?,
Regards,
SaiHi,
The system proposes the sales document currency from the customer master record of the sold-to party. You can change the currency manually in the document or change in currency in customer master. If you change the currency, the system recalculates prices for the entire document.
to determine different currrency in sales docuement you need to write an user exit and then overwrite the docuement currency copied from customer master. Try user exit 'USEREXIT_MOVE_FIELD_TO_VBAK' under include MV45AFZZ for this change.
with regards
vivek. -
Define new document type for purchase order
Hello
I want to create a new document type for purchase ordre with also new number range.
And within my conditions, the shopping card will be generate either document type ECPO with number range 44 or document type ZOS with number range 33.
The document type is still a purchase order.
Is it possible to do that? To assign new document type for purcharse order?
If yes, is there any Badi to put my conditions of generation of my document type?
Thank you for your help.
Regards,
PeggyHi Markus
Thank you four your response. Unfortuntly, i do not want to create a new transaction type.
It is still a purchase order which could be visibled in standard transaction. The behaviour is still like standard PO, and could be visible in standard transaction PO.
I just want to create 2 types of purchases orders to identify them, so create a new number range and so a new document type for purchase order..
I have a condition to do "the shopping card will be created in this document type, and this schopping card will be created in this document type".
But standard document type is ECPO, and I don't really know if it is possible to create new document type for purchase order...
Peggy. -
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 -
New/Change Indicator for Sales Order IDoc
Hi Gurus,
Does anyone knows if there's a field in the IDoc Segment for ORDERS that shows or indicate if it's a new or changed order.
We are sending IDocs to our freight company for sales order, but we are trying to see if there's a way we can let them know if its a new or changed IDoc for sales order.
Is there any field for this or any work around on this?
Thanks for your help.Segment Field ACTION is not been changed. I've just tested it and made changes to the Sales Order, the ACTION field is still carrying "000".
Like thomas said, can this be because I'm using message type ORDRSP instead of ORDCHG?
Does this make any difference?
Edited by: Basil Balogun on May 10, 2011 4:54 PM
Edited by: Basil Balogun on May 10, 2011 9:43 PM -
Idoc message type for open orders & Open JIT lines
Hi,
I need to send Open Purchase Order data and Open JIT lines data to supplier daily via Idocs.
Is there any standard messege type available for this data.
RegardsHi 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 -
IDOC Message type 'ORDCHG' - Sales Order Delete funcanility
Dear Guru's,
I have a requirement for a client where client is sending a EDI message to change & Delete a Sales order. I have mapped change option with IDOC message type 'ORDCHG' and basic message type 'ORDERS05'. Change option for the sales order is working fine.
Can any one tell me with message type 'ORDCHG'. how to delete a Sales Order. In EDI, client is passing only Header segments with Summary details.
Your reply will of greate help to me.
With Best Regards,
M. Rajendran.Hi Ram,
Thanks a lot for sharing the link, but this dint solve my purpose. I have a different case all to geather.
My client is passing only Header segment and summary segment in the EDI. Thru ORDCHG i need to cancle/Delete entire sales order.
But i found that in standard IDOC Message type 'ORDCHG' only line item deletion/Cancle is availble but i wanted to delete/cancle entire sales document.
Any possibilites available in ORDCHG. Your reply will be much appreciated.
Thanks in Advance.
With Best Regards,
M. Rajendran. -
Default Output Type for Sales Order Header
Hi Guru
I created 2 output types for hardcopy printout and for mail.
I want both should be selected as default when a sales order is created. (using NACE)
Output will be manually from VA02 -> issue output to. Here I must get 2 output types.
As of now, this is manual process.
Please help.
sunil Kolambkar.Hi Sunil,
For this you need to maintain condition record for output type. for the sales order type, [V V11].
Do the output determination in the same way as Pricing procedure determination.
OUTPUT DETERMINATION:
SPRO- IMG- Basic Functions- Output Control- Output Determination- Output Det using Cond Tech- Output Det for Sales Documents & output det for billing documents.
Create Condition Table: select the field Sales Doc Type from field catalog & Save
Maintain Access Sequence: 4-digits code & description.
Assign condition table to access sequence. Select Accesses line item and Go To Fields. Fields will display the fields we have selected in the condition table i.e. sales doc type.
Maintain Output Types:
AF00: Inquiry
AN00: Quotation
BA00: Order Confirmation
LD00: Delivery
Select BA00 & Copy & Rename. Give the same 4-digit code as given to acc seq.
You Can Maintain:
Languages of Output
Partners (to whom we want to send output)
Print Program- print specification
Sap Script- layout
Assign Output Types to Partner Functions: go to new entries & assign your output type to partner functions.
Maintain Output Determination Procedure: V10000 (Standard Procedure). Go to new entries & create your own 6-digit code with descp. Select the procedure & go to Control Data. Here mention the output type i.e. cond type & leave requirement and manual only columns as blank.
Determination Rule: link the 6-digit procedure code to doc types.
Create Condition Records: VV11. Select document type and click on Communication. Mention partner function, medium, time. Output device: LP01, Spool request Name: SD_003, Suffix 2: order_confir & flag on print immediately.
Once you press enter you will come across 2 key combinations:
Sales organisation/ Customer Number: fill SO, Customer No, Partner Function Abbreviation, Partner to whom the output should be sent, time, medium, language. {It contains: Sales Orgn, Customer, Partner Function (The abbreviated form of the name that identifies the Partner) (During output determination, the system determines the recipient of the output from the master record for the specified partner function. In this field, you can explicitly specify a recipient that will override the standard partner. There must also be a master record for the partner that is specified explicitly.), Medium, Time & Language.}
Order Type: Document Type, Partner Function (abbreviation), Partner, Medium, Time & Language.
Hope this would be helpful.
Regds,
Rupali -
To add a new condition type in Sales order programatically
Hello,
I want to add a condition type (ZXXX) with an amount in sales order programatically.
I want to add the condition type in the item.
I am able to add the price (amount) and condition type (ZXXX) manually in the sales order through t code crmd_order.
I know it can be done though FM crm_order_maintain.
If you can give the code for the same it be very helpful.
is there any other FM do this operation?Abilash,
Please check the following FM - CRM_ISAI_BASKET_SETITEMS_MPRIC. This FM does add pricing condition manually. Use this function module only as a template for your requirement.
Later use CRM_ORDER_MAINTAIN to update the business transaction. -
How to add a new output type in sales order header via ABAP program
Hi All,
I have to add new output type (ex Z001) in sales order header via an ABAP program. please let me know how to do this.
Thank you all in advance.Hi,
You can use the FM ..RV_MESSAGE_UPDATE..
Thanks
Naren -
Problem creating CR doc type for sales order
Hello Gurus:
I have been trying to use a bapi to create a sales order. So far I have tested
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
All of them works fine with SO type, But I am trying to create credit request. And they all return with error message saying the doc_type is invalid or not allowed. So far I have only found a function module SD_Salesdocument_create. But is there any standard BAPI that currently calling this? To make my life a little easier!
Cheers _Hi
Check these BAPI's
BAPI_SALESDOCU_CREATEFROMDATA1
BAPI_SALESDOCU_CREATEWITHDIA
Regards
Anji -
New Input fields for Sales Order Screen
Hi all
I have to modify the existing Sales Order Screen for transactions VA01, VA02 and VA03 using user exits. I have to add two input fields (of order quantity for tow different sales units CS and BT) in existing table control of Sales order and later I want to convert these UOMs to basic UOMs.
As its a screen exit part, I had done some R&D for the same. I had never faced such requirement in past.According to my knowledge "User exits are only to put additional information in existing SAP programs and not to modify main screens."
BADI is new to me but I still tried to search BADI for the same but didn't able to find it.
Basically I am not able to find Screen Exit for this.
Can anybody help me in this regard?
If you are suggesting BADI then please try to explain in detial.
Thanks in advance
AmolHi Amol,
VA01, VA02 are fine. Since VA03 is display, you cannot edit the fields you add.
To add fields to this display you need to edit the following screens :
Program : SAPMV45A
Screen : 8309
It is the Additional Data B tab provided by SAP to add custom fields .
You may need an access key to edit this screen.
Putting your fields there and running VA01/02 will solve half your problem.
The second half is how to capture the data entered in those fields to the database.
In order to capture the data from these custom fields you can use
the user exit
MV45AFZZ
USEREXIT_SAVE_DOCUMENT_PREPARE
USEREXIT_SAVE_DOCUMENT depening on what you want to do.
Hope this helps.
Maybe you are looking for
-
hai, i have a problem in selecting views for multi user run,i will explain here,while recording a transaction in bdc for example take mm01 transaction when u record first u will be selecting the views which u need for the data batch process run s
-
We have a scenario where the delivery dates in MRP Purchase requisitions are changed manually and frequently for individual items before release of PO. When MRP runs for the material code again, it matches the required date and delivery date and crea
-
How do I limit user to put certain format in JTextField
I want to create a JTextField which will limit user to put date format only like (##/##/####) a date format. how do I do it? thanks
-
Hi, Is it possible to use Copy From / Copy To functionality for Add-on Screens? For Example: As of now, PO has a copy to for GR-PO, and GR-PO has a copy from for PO. I introduce a new screen for subcontracting DCs alone, for which I need to select a
-
I can't remember my password and I think I have locked myself out.
I was sick for several days and was on medication that made me forgetful. I tried to log in to my email account and I think I used several different passwords because I could not remember mine, or I typed in errors. Now I am not able to log in and ge