No initial load of Customers, Material and delta load of Sales Orders.
Hi Experts,
I am facing a very troublesome issue. I am not able to setup the Middleware portion for initial and delta loads. I read a lot of documents and corrected a lot of things. finally, the connectivity is done with R/3 and CRM. Initial load of all objects is successful (as per Best PRactices guide). Customizing load is successful.
But after now I have these open issues for which I am unable to find any answers (am really exhausted!!):
- Customer_main load, it was succesful, but no BP's of R/3 are available.
- Material, it failed in SMW01, SMQ2, the errors are:
Mat. for Initial Download: Function table not supported
EAN xxxxxxxxxxxxxxxxxx does not correspond to the GTIN format and cannot be transferred
EAN yyyyyyyyyyyyyyyyyy does not correspond to the GTIN format and cannot be transferred
Plant xx is not assigned to a business partner
- Sales order, it shows green bdoc, but error segments says "No upload to R/3" and the order does not flow to R/3.
We had our system setup 3 years back for data transfer and Middleware. But few things changed and connectivity stopped. I did all that again now, but am not yet successful. Any inputs will be greatly appreciated.
Thanks,
-Pat
Hi Ashvin,
The error messages in SMW01 for MAterial initial load is :
Mat. for Initial Download: Function table not supported
EAN 123456789000562 does not correspond to the GTIN format and cannot be transferred
EAN 900033056531434 does not correspond to the GTIN format and cannot be transferred
Plant 21 is not assigned to a business partner
I have done the DNL_PLANT load successfully. Why then the plant error?
Some of the messages for BP:
Messages for business partner 1331:
No classification is assigned to business partner 1331
For another,
Partner 00001872(469206A60E5F61C6E10000009F70045E): the following errors occurred
City Atlanta does not exist in country US
Time zone EST_NA does not exist
You are not allowed to enter a tax jurisdiction code for country US
Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN.
Now, the time zone EST is assigned by default in R/3. Where do I change that? I do not want to change time zones as this may have other impacts. Maybe CRM I cna change this, not for sure in R/3. City check has been deactivated in R/3 and CRM, still the error.
Till these 2 are not solved, I cannot go into the Sales order loads.
Any ideas will be greatly appreciated.
Thanks,
-Pat
Similar Messages
-
Initial load of sales orders from R3 to CRM without statuses
1) Some sales orders were uploaded into CRM without statuses in the headers or line items.
2) Some sales orders were uploaded without status, ship-to, sold-to, payer.....If I deleted them and use R3AR2, R3AR4 to upload each individual then no problem.
Any ideas or suggestions?
Thanks.Hi,
Request load of adapter objects uses different extractor modules for extracting the data from external system to CRM. While your initial load of sales docs. will use a different extraction logic bases on the filter conditions specfied on trx.
R3AC1
There may be a problem in the extraction of data from the source system (don't know if you are using a R/3). Can you please de-register the R/3 (i suppose) outbound queue using trx.
SMQS
, and then debug the extraction (R/3 outbound) before the data is sent to CRM using FM
CRS_SEND_TO_SERVER
If this goes well, you may try debugging the mapper in CRM inbound and the validation module in CRM as a last resort. Also, please refer to trx.
SMW01
to see if the Bdocs are fully processed.
Hope this helps...Reward if helpful.
Regards,
Sudipta. -
Problem with material and document date in sales order
Hi All,
I am working in ECC 6.0 .I am facing problem with two fields when in enter in to sales order(tcode:va01)
1.A material comes automatically in line item.
2.Document date also comes as 27.03.2008 instead of todays date in each order i create.
I think its not related to configuration.I think its related to some modifications through exits or enhancement points.could someone suggest me a where to check and solve that.
Your's suggestion is appreciated.Hi Sharad,
Check MV45AFZZ include in se38..It is a user exit for basic validation on sales...We may be able to find some code there (if screen data is predefined by code as mentioned)
Hope it helps
Regards
Byju -
How to put material and service in the same order
I want to put the material and service in the same order. How do it input different taxes. and also migo for one material item and other service item.
HI,
In your scenario create material and service PO using T-code ME21N as follows.
1) Select PO document type, vendor and PO date
2) PO first line item account assignment 'N' if project and give input data material code,plant,storage location,qty,rate,delivery date and tax code.
3) PO second line item account assignment 'K', item category 'D',material short text for service, plant,storage location,material group data's are input given and press enter it will open 'Service Tab' in Item Detail Menu.
4) In item Detail Menu - Service tab you will give Service no.,qty,gross price for the above service material activity and service tax code in Invoice TAB and then check PO and SAVE.
5) After getting PO approved by top management.
6) PO first line item, you will do MIGO and PO second line item you will do ML81N service entry sheet.
7) On the vendor bill, you will mention material document number (GRN no.) & Service sheet number and given to accounts dept.. They will book vendor bill and give payment.
Hope, it is useful for you and solve your requirement.
Regards,
K.Rajendran -
Extend material and customer to other sales areas
can u please let me know?
How to extend material and customer to other sales areas? To extend material one plant to another plant what are the configuration you done in your project?<b>To Extend Customer master: T.code - XD01:</b>
In XD01, enter Account Group, Customer Code, Company Code, Sales Organization, Distribution Channel & Divission. Also ensure to maintain reference Customer, reference Company Code, reference Sales Organization, reference Distribution Channel & reference Division --> Enter. Most of the fields will be copied by default, but some fields will not be copied & they have to be maintained in the same manner how we create a new customer.
<b>To Extend Material Master: T.Code - MM01:</b>
In MM01, Enter the Material Code & reference Material Code --> Enter.
Select the Tab pages to be maintained & go to organization data & maintain the details like Delivering Plant & Reference plant, Storage location & reference storage location, Sales Organization & reference Sales Organization, Distribution Channel & reference Distribution channel & so on ... --> Enter. Most of the fields will be copied by default, but some fields will not be copied & they have to be maintained in the same manner how we create a new material.
Regards,
Rajesh Banka
reward point if helpful. -
Significance of Inboun and Outbound queue in sales order replication
Hi CRM Leads,
What is the significance of Inbound Queue and Outbound queue in saleas order replication from CRM to ECC.
What exactly happens in Outbound Queue and Inbound Queue.
Thanks,
Sandeep
WhatInbound - Tcode: SMQ2 : Inbound in the context of CRM and this queue shows the business transaction, master data and configuration data that are coming from ECC into CRM .
Naming Convention for Queues
The names of queues for data transfers from an ERP back end to the CRM server are made up as follows:
R3A (from ERP back end to CRM)
I for the initial data transfer / for Data Synchronization
D for the delta data transfer
U for loading to the ERP back end
R for Defining Requests
<Object> Name or part of object name, or the name of the higher-level independent object
<Key> Only delta queues are subdivided by keys
Outbound - Tcode SMQ1 - Outbound in the context of CRM and this queue shows the transactions and data that are going from CRM to ECC
See more on [Using CRM Queues|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2d9d9707361903e10000000a42189c/content.htm] following the link.
Read the [CRM Adapter Framework|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2e33a2a6c51d24e10000000a421937/content.htm] for advanced learning. -
BAPI/Function module TO block material which is mentioned in sales order
Hi All
Is there any BAPI to block material which is mationed in sales order....
I am using BAPI_MATERIAL_AVAILABILITY to check material availibility
how to block quantity if it is available whicl creating sales order via
"BAPI_SALESORDER_CREATEFROMDATA2"
..ThanksThe normal SAP ATP done in the sales orders use the figure ''committed qty'' meaning that if the ATP has been done and confirmed, that quantity will not appear in the next sales order as available.
So if You're using the normal BAPI to create the sales order, the normal ATP function will be called in the processing.
Nevertheless another solution to this issue is to have the MTO (Make-to-order) solution where the requirements are ''attached'' to one sales order/line only.....like this the problem of the stock being taken to another customer disappears.
To do this you'll have to configure the following :
- Go to SPRO and go to Sales and distribution -> Basic functions -> Availability check and transfer of requirements -> Determination of requirements using transaction - Here insert the entry with your sales order type - MRP type (from material master - you might want to consider create one only for this solution) and you should use one of the following:
- KEL Make-to-order, mat. variants
- KELV Make-to-ord.variant + consump
- KP Make-to-order with project
and choose the origin of your requirement - 1 - Item category + MRP Type
- Than configure the association of the requirement type above to the requirement class (normally is the same code) transaction *OVZH*
- Than configure the requirement class (this is what will tell the system the MTO) transaction *OVZG* - On the screen in the field Special stock - E - Sales order stock and please ask for help from an FI consultant because the area of *Account assignment is very important to be well configured*
About the BAPI you're using - Its correct - That's the normal BAPI to be used, taking only into consideration the product allocation issue - MARA-KOSCH
Explaining a little the BAPI you're using :
The program should check if the selected material is allocated or non-allocated.
This information is stored in a field MARA-KOSCH.
We should check this field and if the field is not empty then material is allocated, otherwise is not:
select kosch into l_kosch
from mara
where matnr = <VBAP-MATNR>. " Selected material
if subrc = 0.
if l_kosch is initial.
+" Perform calculation for non-allocated materials+
else.
+" Perform calculation for allocated materials+
endif.
else.
" Material not found, skip it ...
endif.
For allocated materials it will be checked allocation for the netting market of that Order.
The calculation rules for allocated and non-allocated materials are different.
For Non-allocated materials
BAPI 'BAPI_MATERIAL_AVAILABILITY' should be used for getting the ATP quantity.
Bapi should be called as follows --
data: lfl_bapiwmdvs type bapiwmdvs,
lit_bapiwmdvs type standard table of bapiwmdvs,
lfl_bapiwmdve type bapiwmdve,
lit_bapiwmdve type standard table of bapiwmdve,
l_dialogflag type bapicm61v-diafl.
call function 'BAPI_MATERIAL_AVAILABILITY'
exporting
plant = <VBAP-WERKS>
material = <VBAP-MATNR>
unit = <VBAP- VRKME>
check_rule = 'A'
+* STGE_LOC =+
+* BATCH =+
+* CUSTOMER =+
importing
+* ENDLEADTME =+
+* av_qty_plt =+
DIALOGFLAG = l_dialog
+* RETURN =+
tables
wmdvsx = lit_bapiwmdvs
wmdvex = lit_bapiwmdve.
Please note that table lit_bapiwmdvs is the input table and to this following input should be passed -
lfl_bapiwmdvs-req_date = sy-datum. "Current date
lfl_bapiwmdvs- REQ_QTY = <Unconfirmed Quantity> in Sales Order Unit
append lfl_bapiwmdvs to lit_bapiwmdvs.
The return value l_dailog will be --
' ' --- Quantity can be Delivered -- Item to be displayed in the Report!
'X' --- Complete quantity cannot be delivered -- ATP failed, Item not to be displayed.
'N' --- Material not relevant for ATP --- Item not to be displayed in the Report.
For Allocated materials
For the allocated Materials, we have to first do the ATP check in same fashion as for Non-allocated Materials and then in addition to this ATP check, we have to also check for Allocation from SIS table S941.
If ATP check fails, straight away the Item should be ignored from Output display.
If ATP check passes, we further check allocation as follows --
Valid entry should select from S941 as -
data: l_period like s941-spbup,
l_BUPER LIKE T009B-POPER,
l_GJAHR LIKE T009B-BDATJ,
lfl_s941 type t_s941.
data: l_bukrs type tvko-bukrs,
l_periv type t001-periv.
* Select company code
select single bukrs into l_bukrs
from tvko
where vkorg = <VBAK-VKORG>.
* Select fiscal year variant
select single periv into l_periv
from t001
where bukrs = l_bukrs.
* Get Period
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
I_DATE = sy-datum
I_PERIV = l_periv
IMPORTING
E_BUPER = l_buper
E_GJAHR = l_gjahr
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4
IF SY-SUBRC <> 0.
* Ignore entry and skip further processing
ENDIF.
concatenate l_gjahr l_buper+1(2) into l_period.
select single kcqty aemenge from s941
into corresponding fields of lfl_s941
where SPBUP = l_period
and KONOB = 'OBJ_ALL_MATERIALS'
AND MATNR = <VBAP-MATNR>
and zzcnetmark = <VBAK-ZZCNETMARK>
and VRSIO EQ '000'.
IF SY-SUBRC <> 0.
*Ignore entry and skip further processing
ENDIF.
Remaining Allocation = difference between product allocation quantity and incoming order quantity
i.e. (S941-KCQTY - S941-AEMENGE). Now we have to compare this qty with the Unconfirmed qty.
Ensure same Material UOM for quantity comparison as follows --
IF <VBAP-VRKME> NE <S941-BASME>.
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = <VBAP-MATNR>
i_in_me = <VBAP-VRKME>
i_out_me = <S941-BASME>
i_menge = <Unconfirmed qty in Sales UOM>
IMPORTING
e_menge = l_menge
EXCEPTIONS
error_in_application = 1
error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Ignore entry and skip further processing
ENDIF.
ELSE.
*If both Units are same no need for conversion
l_menge = <Unconfirmed qty in Sales UOM>
ENDIF.
Then, compare if Remaining Allocation > = l_menge i.e. Unconfirmed quantity converted to S941-BASME unit, then there is enough allocation for this Material for the Unconfirmed quantity and should be displayed in the report.
Else, the Item should be ignored. -
I want to load a sales order from xml file. How can I do.
Hi,
I want to load a sales order from XML file. How can I do ? how can i create the sales order?
what are the necessary setting for create the sales orders.
with Regards,
Prakesh.Three options come to my mind.
Option 1: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (BAPI) and Program (CREATEFROMDAT2).
Option 2: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (DINP) and Program (RVINVB10).
Option 3: Translate the xml to IDoc so that ORDER04 / ORDER05 Idoc can be used to create Sales order (WEDI transaction). -
Copying one item and creating new item - Sales Order
Hi Guys,
I have a requirement where one item in sales order have to be copied within the same order as new item and the only change is site.
For example Sale order 1 - line item 10 - Material A site XXXX
Requirement Sales order 1 - line item 20 - Material A site YYYY
Now the sale order 1 will have two lines for the same material but the site is different.
Is there a possibility to do the same.
Regards
AtulHi,
If i am not wrong, i assume you are using site instead of plant. If it is plant , then "yes", we can have a order with same material being line item 10 and 20 with different plants. Reg delivery, if the plants are configured to a same shipping point then you will have one delievery. if the plants are configured for a different shipping point , then delivery will be split up.
Reward if it helps,
Thanks & regards,
CLN -
How to see Active customers that are having atleast one Sales Order?
Dear Friends,
How can we see all active customers in the system, means customers those are having atleast one sales order.
How to seeIt depends on which role this customer might have on the sales order. If it's a Sold-to, then you can run a query by VBAK-KUNNR, otherwise VBPA table will have all other partner types (use POSNR = 000000 to see only the header-level partners). Most likely there will be a lot of records. You might want to run the query in batches or limit the selection. Then download the results to Excel and there you can delete the duplicates and get a list of the unique customer numbers.
MCTE will help only if the corresponding info structure (S003) is being updated correctly. Also it has only sold-to customers. -
Difference B/W Delivery plant and item plant in Sales Order
HI,
May i know Difference between Delivery plant and item plant in Sales order and what is the use of those fields.What is the process of raising sales order for different plants.
Thnks&Rgds
NAG
Edited by: NAGA SUDHIR on Apr 3, 2009 6:10 AMHI G. Lakshmipathi,
Thnks for the reply.Yes i am comparing (DWERK (at header level) and WERKS (at item level)) these two fields.
Any how we can give only one plant in Customer Master, we are not maintaining Customer/mtrl regard (Not required in our company scenario) and we have extended MMR to different plants.
So as per ur answer u went me to change only WERKS (at item level) while raising sales order for different plants.Is it enough?
Thnks&Rgds
NAG
Edited by: NAGA SUDHIR on Apr 3, 2009 6:46 AM -
Cost Center and GL account in Sales Order / Delivery
I have a requirement where we want user to specify what cost center and GL account should be used while posting goods issue.
Currently GL account and Cost Center is automatically determined based on OBYC configuration.
Is there a way user can populate Cost center and GL account at Sales order or Delivery document level and what ever they have specified will be used for Posting Goods Issue.
If user doesnt specify anything then standard OBYC determination should take place.
I looked at OVF3 transaction which can default cost center (though no GL account) but its not useful in our requirement.
I also looked at OKB9 transaction but not sure if we can use it either.
Again we want user to enter Cost center and GL account at either SO or Delivery document level and then that should be used for Post goods issue.
Thanks in advance.Hi,
In delivery under tab GOODS MOVEMENT DATA
After valuation type column COST CENTER & G/L Account column available
Now with the help of FI consultant make it change mode so user can maintain also I observe that if delivery created without reference to order then that fields are in change mode means user cn maintain data for this but if with reference to order it is disable mode
Check in t-code OMJJ FIELD SELECTION FOR MOVEMENT TYPE
Put movement 601
Then select movement type and double click on filed selection (from 201)
Then go to additional account assignment and for cost centre make it optional or requirement
or Else under field selection enjoy for movement type 602 indsert field KONT0 and KOSTL and check
If this can not work there is option field selection for G/L account check that with FI
Kapil -
Hi,
I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.
Regards,
ShanmugaHello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
Points are always welcome if you feel an answer has been helpful. -
How can we revise the pricing both at header and item level of sales order?
Dear All,
Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.Dear Lakshmipathi,
Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot. -
Hide the cost and margin fields on Sales Orders and Invoices
Hi all,
I need to hide the cost and margin fields in Sales Orders and Invoices. We sell our products to our employees sometimes, hence we don't want them to know cost and margin information.
Can this be done?
CheersGo to VOV7 & as per the Item category ,de - select the Check Box Determine Cost.
Else remove the Condition Type VPRS & Margin Condition type from the Pricing Procedure
Best Regards,
Ankur
Maybe you are looking for
-
MS Office 2013 Standard Error Code: 25004 on Windows Server 2012 R2
We are doing some server maintenance and upgrades for one of our servers here at work. When trying to install MS Office 2013 Standard from a Volume License we are getting the error 25004 which states the installation cannot go through due to a previo
-
I get a message saying 'General Failure. The URL was: ".........". The system cannot find the file specified' whenever I click on a link in an email and then seconds later the web site opens. If I open firefox and then click a bookmark or search I do
-
RH 9 - Why does RH modify my ssl settings?
I'm using RH 9.0.2.271. The Background: We have a large help system (approx 2200 topics) that we have to generate into PDFs one per chapter. We also need to do this in various target languages as well once we get them back from our localization depar
-
i have installed the safari browser thai is not compatible to my version(10.7.5) and what i installed was for 10.8.. i am unable to open the present installed one and unable to to delete it..plzzz help me to get back my safari
-
Re: Photosmart 5514; must you use setup cartridges and not standard 564 cartridges during setup?