Copy with reference to Customer Master
Hi experts,
If the user creates customer master(XD01) with reference to another customer master then system should not copy all the fields say Name and contact number. How can I restrict this in SAP.
Can any body helps???
Thanks!!!
Poorna
Hi.
Normally when we copy existing customer to a new customer we use XD01 with reference and we don't select the items we don't want to copy or we delete the value when we are copying.
But if you want user to have a feature through which when ever they create a new customer using the existing customer they should not copy the recon a/c for Ex, than you have to create a Z transaction by copying the orignial XD01 and have your restrictions coded there..
Regards
Similar Messages
-
Create customer with reference to customer master
Hi,
If the user creates customer master (XD01) with reference to another customer master then system should not copy some of the fields. How can I restrict this in SAP. Is there any Copy control functionality for customer master to customer master?
Regards,
SoumenHello,
As far as i know in Standard SAP system, when we are copying or even creating a Customer
Master Recording in XD01 with reference to a customer, in case of the basic data i.e. General Data, the
datas that are copied are
1. Country.
Under Company Code data, the following are copied,
1. Reconcilation Account.
Under Sales Area Data the following are copied,
1. Currency.
2. Shipping condition.
3. Account assignment group.
4. Taxes.
Regarding your question, you can change the data and there is no concept of copying control here.
Regards,
Sarthak -
BAPI SALES ORDER & Copy with reference
Hello,
I'm creating sales order copied with reference to an invoice. My problem is that the data item is empty. When I create the sales order manually and use the option 'Create with reference' and choose an invoice, the sales order is created with all data item. I don't know how I can get to copy the data item from the invoice in the new sales order. The code that I'm using is the following:
DATA: order_header_in LIKE bapisdhd1,
order_partners LIKE bapiparnr OCCURS 0 WITH HEADER LINE,
order_text LIKE bapisdtext OCCURS 0 WITH HEADER LINE,
order_header_inx LIKE bapisdhd1x,
order_item_in LIKE bapisditm OCCURS 0 WITH HEADER LINE,
order_schedules_in LIKE bapischdl OCCURS 0 WITH HEADER LINE,
order_conditions_in LIKE bapicond OCCURS 0 WITH HEADER LINE,
extensionin LIKE bapiparex OCCURS 0 WITH HEADER LINE,
partneraddresses LIKE bapiaddr1 OCCURS 0 WITH HEADER LINE,
order_cfgs_ref like BAPICUCFG occurs 0 with header line.
DATA: salesdocument LIKE bapivbeln-vbeln.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
order_header_in-doc_type = 'ZA09'.
order_header_in-sales_org = '1700'.
order_header_in-distr_chan = '01'.
order_header_in-division = '01'.
order_header_in-BILL_DATE = '20060701'.
order_header_in-ref_doc = '0900000019'.
order_header_in-refdoc_cat = 'M'.
*order_header_in-REF_DOC_L_LONG = '0900000019'.
order_header_in-purch_no_c ='prueba'.
*order_header_in-ord_reason = '003'.
*order_header_in-pmnttrms = '0002'.
*order_header_in-sales_off = '2800'.
order_header_in-ref_doc_l = 'FACTURA ES'.
*order_header_in-fix_val_dy = '20060701'.
*order_header_in-currency = 'USD'.
*order_header_in-exchg_rate = '1.2'.
order_partners-partn_role = 'AG'.
order_partners-partn_numb = '0000000001'.
order_partners-langu = 'EN'.
order_partners-name = 'El corte aleman'.
order_partners-country = 'ES'.
APPEND order_partners.
order_partners-partn_role = 'RE'.
order_partners-partn_numb = 'ARR000'.
order_partners-addr_link = '0000030044'.
APPEND order_partners.
CALL FUNCTION 'ADDR_GET_COMPLETE_ALL_TYPES'
EXPORTING
addrnumber = order_partners-addr_link
PERSNUMBER =
address_object_type = '1'
IV_CURRENT_COMM_DATA = 'X'
IMPORTING
ADDR1_COMPLETE =
ADDR2_COMPLETE =
ADDR3_COMPLETE =
ADDR1_COMPLETE_BAPI = partneraddresses
ADDR2_COMPLETE_BAPI =
ADDR3_COMPLETE_BAPI =
EXCEPTIONS
PARAMETER_ERROR = 1
ADDRESS_NOT_EXIST = 2
PERSON_NOT_EXIST = 3
INTERNAL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data: vl_texto(40) value 'NUEVOOOOO'.
partneraddresses-name = vl_texto. clear vl_texto.
partneraddresses-name_2 = vl_texto.
partneraddresses-name_3 = vl_texto.
partneraddresses-name_4 = vl_texto.
partneraddresses-langu = 'E'.
APPEND partneraddresses.
DATA: vl_cantidad LIKE bapisditm-target_qty.
vl_cantidad = 1.
order_item_in-itm_number = 10.
order_item_in-material = 'HONORARIOS'.
order_item_in-ref_doc = '0900000019'.
order_item_in-ref_doc_it = 10.
order_item_in-ref_doc_ca = 'M'.
APPEND order_item_in.
order_schedules_in-itm_number = 10.
order_schedules_in-req_qty = vl_cantidad.
APPEND order_schedules_in.
order_text-text_id = 'Z001'.
order_text-ITM_NUMBER = ''.
order_text-langu = 'EN'.
order_text-text_line = 'Hola, CARACOLAcola'.
APPEND order_text.
order_text-text_id = 'Z001'.
order_text-langu = 'EN'.
order_text-text_line = 'Adios caracol'.
APPEND order_text.
order_text-itm_number = '000010'.
order_text-text_id = '0001'.
order_text-langu = 'EN'.
order_text-text_line = 'Hola, POSICIÓN'.
APPEND order_text.
extensionin-structure = 'BAPE_VBAK'.
extensionin-valuepart1 = ' BCL 7'.
APPEND extensionin.
order_cfgs_ref-posex = '10'.
order_cfgs_ref-config_id = '10'.
order_cfgs_ref-root_id = '00000001'.
append order_cfgs_ref.
CALL FUNCTION 'ZBAPI_SALESORDER_CREATEFROMDT2'
EXPORTING
SALESDOCUMENTIN = salesdocument
order_header_in = order_header_in
ORDER_HEADER_INX = order_header_inx
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
salesdocument = salesdocument
TABLES
return = return
order_items_in = order_item_in
ORDER_ITEMS_INX =
order_partners = order_partners
order_schedules_in = order_schedules_in
ORDER_SCHEDULES_INX =
order_conditions_in = order_conditions_in
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF = order_cfgs_ref
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
order_text = order_text
ORDER_KEYS =
extensionin = extensionin
partneraddresses = partneraddresses
PERFORM report TABLES return.
*DATA: salesdocument LIKE bapivbeln-vbeln.
*DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
*refresh return.
*CALL FUNCTION 'BAPI_SALESDOCUMENT_COPY'
EXPORTING
salesdocument = '0400000191'
documenttype = 'ZA04'
TESTRUN = ' '
IMPORTING
SALESDOCUMENT_EX = salesdocument
TABLES
RETURN = return
*PERFORM report TABLES return.
*write: / salesdocument.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
*& Form report
text
-->P_MENSAJE text
FORM report TABLES p_mensaje STRUCTURE bapiret2.
DATA: vl_mensaje TYPE string.
LOOP AT return.
CLEAR vl_mensaje.
MESSAGE ID return-id
TYPE return-type
NUMBER return-number
INTO vl_mensaje
WITH return-message_v1
return-message_v2
return-message_v3
return-message_v4.
WRITE: / vl_mensaje.
ENDLOOP.
ENDFORM. " reportHi Manuel,
There are some function modules which is there to copy the order details. I am not sure about the function module name. But you can search in SE37. But bapi for creating the sales order does not have the functionality of copying the data from one document to another document.
You can try using this function module.
BAPI_SALESDOCUMENT_COPY
Data will be copied based on the copy control routines that is set between the two document types.
Thanks,
Arun -
Error while copy with reference of quotation to Sales Order
Dear All
I am creating the sales order with reference to quotation . while , doing so , I get an error of
Customer not maintained in Distribution channel - 'D1' .
The Quotaion is having following structure
Sales Organisation -- AAAA
Distribution Channel - S7
Division - D3
But while copy the error erupts notifying to create the customer master for division 'D1' . If created of division D1 then the sales order is created with reference of quotation.
Kindly guide.
AVSPerhaps the configuration settings have been changed (to make D1 the reference division for D3 for master data ) since the quotation was originally created.
-
Order should be copied with reference to other order
Hi Friends,
We have two order types zext and zexm. Zext should be always created with reference to zexm. we done this through copy controls.Both are sales orders.Now our requirement is
suppose we done a sales order 100001000 of type zexm. untill it is delivery done ie pgi has been done zext is not allowed to be copied from zexm. so please tell me how to do this.
Thank you so much for all the replies.Hello,
Yes.... this can'e be achieved through any config setting, but can be achieved through the cupying requirements. In the copy control of sales documents to sales documents you need to maintian a requirement for the same. Talk to your ABAP consultant with a detailed requirement, he may be able to help you.
Prase -
Req Deliv. Date required on order create VA01 Copy with Reference to Quote
When creating an order with reference to a quote, the screen allows Req Deliv Date entry. I would like to make this field mandatory on the window 'Create with Reference'. Program is SAPLV45C and the screen is not certain: could be 0100, 0301, 0302, 0303, 0900.
Have been looking at maintenance via SE51, but not sure if any of the element characteristics translate into 'required' so user is unable to click "Copy" if the date is without a value.
Thank you.It is possible by changing the SAP standard.
You can change the special attirbutes (Tick the checkbox in Req. field) in elements list of each screen which you have mentioned through SE51 transcation
Regards,
Udayasankar Rajagopalan -
Does anyone know why this happens or where it is controlled? When I create a sales order using the Create with Reference button on the Initial Screen, my order uses the pricing procedure of the copied document. But when I create a sales order using the Create with Reference found in the Sales Document drop down menu on the order Overview Header screen, my order uses the pricing procedure assigned to the new order type. Is there somewhere I can make them both work the same way? Big points to anyone who knows this answer. Laurie
HI Laurie,
The explanation is as below
first when you copy from the reference order or quotation, the pricing is also copies from the reference document.
the settinngs that determine this are set in VTAA t code and the pricing option at item level there.
when you add a document from the second option of header and then reference, the system has already determined the
pricing procedure and it only adds the incremental items to the exisitng sales order
for the scenario described , i assume that you have different pricing procedures set for both the documents
hope this helps
Thanks
akasha -
SLA Calculation with reference to Customer reference object
Hi Experts,
For calculating the SLA using date profile, we have used the Customer as the reference object, but system is not considering the visiting hours
maintained for the particular partner.
Can any one help me to solve this issue.
With Regards
NadhSolved
-
Copying of Text from Customer master to Sales Order
Hi Gurus,
I want that a text should be copied into a sales order from the c/s master but want to prevent any other text to be entered for that text type in Sales order. How can I do it?
ThanksHi aribis,
you can use user exit USEREXIT_MOVE_FIELD_TO_TVCOM_H and USEREXIT_MOVE_FIELD_TO_TVCOM_I, which are in program MV45AFZB.
Regards
Jean
Please reward points if it is ok for you. -
Created "sub asset" with reference to DEACTIVATED Master asset
Hi experts
We are facing something strange in our system (ECC6 SP22)
We have some Master assets whitch are DEACTIVATED.
We just note that we have possibility to create "SUB ASSETS" (I don't know how to say it in english) by referece to DEACTIVATED master assets.
Is this normal?
We would like to this prohibited. How can we do??
Thank you in advance.
Kind RegardsHi,
Yes, it is a SAP standard behaviour, where you can create sub assets under deavtivated main assets also.
If you want to stop this, you need to write an user exit for transaction AS11 with the help of your ABAPer.
Regards,
Srinu -
I´ve a solution which contains a custom field type (found somewhere on the net, the custom field type maps a choice field to managed metadata). There is a second solution which contains site column and site content type definitions using the custom field
type definition from field type solution.
On my developement environment, there is no problem with this two solutions. When field type solution is deployed, i can deploy the content type solution and activate the feature and everything is fine.
However if i give the two solutions to our adminstrator to deploy them into our staging environment, content type feature activation fails. Deploying the field type solution makes no problems. The field type is then available and i can manually creates
columns with this new field type. However activating the content type solution fails with the error shown in the title of this message. The FieldID from the message is not part of my content type project. Searching the net doens´t show any results for that
id. So i think it´s not some of the standard field id´s from sharepoint.
Can anyone help?Stack Trace
Unable to locate the xml-definition for FieldName with FieldId '1f8a351c-965d-4927-9c22-8772b7089f55', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)
at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes) -
-- End of inner exception stack trace ---
at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)
at Microsoft.SharePoint.SPFieldCollection.FetchFieldsFromWeb() -
Copying of Shipping tab fields from Customer master to Sales Order.
Dear SAP SD Gurus,
I am trying to create an Order, but the Data in the Shippining tab of the Customer Master doesnt get Copied in to the Sales ORder.
the Fields in the Cuystomer master are 1) Partial delivery per item 2) Max. partial deliveries.
and this happens specifically for a particular Sales Area.
the same order when created with the same customer master but a Different Sales Area, the data gets Copied correctly.
can some body quickly advise me, if there is a Standard setting to maintian such a vehaviour or Could there be some "Z Developmet".
thank you in Advance.
Regards,
Santa Khattri.Hello Friend,
Check your customers (use tcode XD03 - provide sales area) the Shipping tab
1) Partial delivery per item
2) Max. partial deliveries.
for the Sales Area which is not copying to sales order.
If it is not maintained, then maintain the same as your requirement.
Thanks & Regards
JP -
Invoice (MIRO or FB60) with reference Material Master or Material Group
Hi Gurus,
I want to post invoice with reference to material master or material group.
There is never purchase order, but i want to manages expenses on material categories,
eventually have automatically the GL account after fullfilling material or material group.
Thanks for your help,
DenisThanks,
But when i post a material, i've an error message about the GL account. Have you used this process entirely ?
Denis -
Ship-to address changes on customer master not updating orders
We have recently noticed that ship-to address changes on the customer master made with XD02 no longer show up on existing standard orders. Similar changes to the sold-to addresses do show up but no tthe ship-to addresses. Does anyone know how we can resolve this problem?
hi jeff,
the adresses of a partner is
- with reference to the master-data ( if unchanges in the Order )
- of copied in the order and then changed and saved onlyy for the order.
in the first case, a change of the main data will effect a change in the order.
in the second case, the change of the main data will not change the order, data - they are separate.
you can see this in se16 / table vbpa.
look at the adressnumber.
Adressnumbers of 9++++ are of the 2nd - manual type.
I guess, in the ship to partner, there is done a manual change in the order.
in solt to data normally you don't need such a change. therfor the sold-to partner will get the changes of masterdata -- the ship to partner has manual adress of the orden.
hans -
Text from customer master to delivery header
Hi Experts,
Here we have a requirement, Text what we maintain in the customer master (like Shipping point address) text need to be trigger at Delivery header,
1) Is it possible in standard text determinaction or we need to go for any user exits?
2) If we want to use user exits what are the user exits we have to copy the data from customer master to delivery header.
NOTE: Client doesnt want to use the text from sales order or scheduling agrements.
Please help me to fill the requirement .
best regards,
chiranjeeviHi Chiranjeevi,
It is possible to achieve this with standard text determination procedure itself.
Goto transaction VOTXN and in the "Delivery --> Header" create a new access sequence with the Customer Master Text IDs (like the ID which contains the Shipping Point address) from which the text is to be selected. Once done, create or make use of an existing text determination procedure available under Delivery Header and then assign the access sequence to the Delivery Header Text ID into which the Customer Master text is to be copied. Maintain additional settings as necessary. This will ensure that the text from customer master is directly copied over to the delivery header.
There are many documents already available (search in Google) to explain the text determination process if you need help with the same.
Regards,
Som
Maybe you are looking for
-
Screensaver ignores settings in Windows Media Player when watching a movie...
Hello, Does anyone know how to resolve the problem with screensaver kicking in while watching a movie using Windows Media Player (WMP) even though I have unchecked the option to "Allow screen saver during playback" option in WMP? I have found that i
-
Windows 8.1 is not detecting blank/recorded cds
I tried serveral ways to fix this problem but the CD/DVD rom still did not recocognize my recorded cds. movie DVD and antivirus software installation DVD work perfectly. I read some topics online and they said that windows 8 and 8.1 won't allow lapto
-
Hi, We are planning to implement LSO in our portal. We are using EP 6.0 and EP 07. But i don't find any roles or iviews in the portal content. Do we have to deploy any business or support packages specific to LSO? Can anyone provide me any info abt w
-
I have marked some video cuts for removing, and want to activate them again and take away the marking (a red line over the thumbnails). How do I do that?
-
How to transfer backup from another external drive
Have a LaCie making clicking sounds ...about to go. Should I transfer my docs to a disk before buying the Time Capsule ? How do you transfer info to the Time Capsule?