Inbound IDOC for sales orders not posting the configuration data
Hi all,
I am facing a problem in posting the inbound IDOC (message type ORDERS). The configuration data maintained in the parent segment E1CUCFG and in the segment E1CUVAL is not getting posted though i am passing the data in these segments which is 100% correct.
Can any one solve this problem
Hi Ravi,
Please check the two segments are active. You can do that in BD53.
In BD53 enter message type, and make the segments active.
If segments are active, it appears in white colour.
After this post the IDoc and check with segments.
If its useful, award points pls..
Regards,
Bharadwaj
Similar Messages
-
Inbound IDoc for Sales Order Creation with Serial Number
I would like to create Sales Order with Serial Number input at Item Level using IDoc. I have tried to use the followings:
1) Basic Type : ORDERS05
2) Message Type : ORDERS
3) Process Code : ORDE
I have used segment E1EDP19 with the followings:
1) QUALF = '014'
2) IDTNR = Serial Number
However, it fails. It seems that the system just expects us to input BOM explosion number (VBAP-SERNR) instead of the Serial Number that I want.
If we use VA01, we can input the Serial Number from Menu: Extra --> Technical Objects.
Is there any idea what should I do ?The error message is "Entry 1276 does not exist in SNUM - check your entry" (Message no. 00058).
1276 is the Serial Number that I input. It treats the Serial Number that I input as the BOM explosion number (VBAP-SERNR).
Regards,
Alan. -
Urgent: Creating ALE IDOC for SALES ORDER
hi
please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
reward for sure
regards
ravishHi,
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
Regards -
Add segment to outbound Idoc for Sales order
HI experts,
I need to add segment E1EDP02 under Existing segment E1EDP01 for outbound IDOC for Sales order. FM" IDOC_OUTPUT_ORDRSP".
I have used the Exit : "EXIT_SAPLVEDC_003" for the FM "IDOC_OUTPUT_ORDRSP" in the include of the Exit i wrote my code also for adding segment and activate it.
But when i am trying to debug the code it's not working
So please guide me how to debug it
I have followed below steps to Debug.
1. In VA02 i have repeat the output.
2. Put the breakpoint in the Exit include program .
3. put the Breakpoint in ALE processing Routine in RSNASTED program also
4. Trigger the program RSNAST00 by giving the Parameter value of SALES ORDER number and execute.
But not working
And i need to know whether i have used the Correct EXIT or not.In that case how to identify the correct exit's
Thanks In advanceHi,
I hope you have to add your segments through WE30 first for your IDOC type.
Cheers,
Raja.D -
Dear Guru's,
could anybody help me in creating the IDOC for sales order.
As per My client Business Requirment we require the following Fields in One Basic Type only.
The Fields are as follows.
Order Type,Sales Area,Sales Office,Sales Group,Material Number,Order Quantity,Purchase order Number,Purchase order Date,
Sold to party,Ship to party,Bill to party,Payer,
Vendor no ( It is Third Party order)
Contract Start Date, Contract End Date (in order we will give these dates for periodic billing purpose )..
Now i want all the fields will include in one single Basic Type.
Thank you
suribabuhi,
please check this link:
this might be help ful.
http://wwwdotsaptechnicaldotcom/Tutorials/ALE/Guide/Index.htm
balajia -
Dectivate pricing condition for sales order not service order.
Hi,
We are on ECC6.0 and CRM5.0
I need to add new condition type to the existing pricing procedure.It should be activtaed only for service orders and not for sales order.I can achive this by adding new requirement in pricing procedure to limit this condition type based on order type.
Example: if KOMK-AUART eq ORDER_TYPE.
sy-subrc = 0.
But I don't want to do this,because I would need to change this requirement everytime I add new service order type.
Is there any field in Pricing structure KOMK bu using which we can achieve this. ?
Please suggest any other idea by which I can achieve this
Thanks
DonaCurrently ,we have one pricing procedures for both the scenarios...
We control if the perticular condition type to be active or not by writing a requirement which checks the order types.
This has been done this way because we built the pricing procedure in ECC and tranfer it to CRM.Also we donot have service orders in ECC.
any further alternatives guys.. -
Hi,
can any one guide me in orders Message Control Configuration..
I am trying to acheive the outbound idoc upon sales order creation through output type.CHeck these threads.
Idoc Sales Order Creation .
Re-open EDI - ORDCHG for outbound sales order -
Generating an IDOC for each Order present in the file (File to IDOC)
Hi ,
I have a requirement where in i have to generate an idoc for each orders present in a file . Initially i had implemented 1:N mapping by changing the occurence of idoc to 1..unbounded & using it as external definition i was able to generate multiple idocs.
But now the requirement is that even if one record contains invalid data , then XI shoul process remaining records(which has valid data) & then raise an alert for the invalid record . I have implemented this approach by using BPM (splitting the message) & the sending out each record as a single message to (1:1 mapping between file & IDOC).
But now they dont want me to use an BPM . They want me to come up with an approach using 1:N mapping only where in i can make sure that the mappig doesnt fail even if there is one invalid record ,they want me to process remaining records & raise an alert for the invalid one .
As far as i know this cant be done without BPM . Please let me know any valuable suggestions or inputs if there is any
Regards
Vinay P.Hi 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 -
Sales order creation BAPI with configuration data
Hi,
I am creating Sales order through BAPI_SALESORDER_CREATEFROMDAT2, the order is getting created but I am not getting the characteristic values. I filled the structures required for the configuration part.
If possible please post the code for the config part.
Thanks,
SantoshhI,
Here is some sample code:
Order header
l_order_header-doc_type = 'ZQBV'.
l_order_header-distr_chan = '10'.
l_order_header-division = '00'.
if g_qals-werk eq '1100'.
l_order_header-sales_org = '1000'.
else.
if g_qals-werk eq '3100'.
l_order_header-sales_org = '3000'.
else.
message i001(00) with text-005.
endif.
endif.
l_order_header-purch_no_c = g_qals-prueflos. " <= lot
Partner data
l_order_partners-partn_role = 'AG'.
l_order_partners-partn_numb = g_qals-kunnr.
append l_order_partners to it_order_partners.
Order items => only one
l_order_items-itm_number = 10.
l_order_items-material = g_qals-matnr.
l_order_items-target_qty = 1.
append l_order_items to it_order_items.
Schedules for quantity
l_order_schdl-itm_number = 10.
l_order_schdl-req_qty = 1. " <= only 1 !
append l_order_schdl to it_order_schdl.
Conditions for value
l_order_conditions-itm_number = 10.
l_order_conditions-cond_type = 'PR00'.
l_order_conditions-cond_value = g_effort_sum.
l_order_conditions-currency = g_effort_unit.
append l_order_conditions to it_order_conditions.
BAPI to create sales order
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
ORDER_HEADER_IN = l_order_header
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = l_salesdocument
TABLES
RETURN = it_return
ORDER_ITEMS_IN = it_order_items
ORDER_ITEMS_INX =
ORDER_PARTNERS = it_order_partners
ORDER_SCHEDULES_IN = it_order_schdl
ORDER_SCHEDULES_INX =
ORDER_CONDITIONS_IN = it_order_conditions
ORDER_CONDITIONS_INX =
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_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
if not l_salesdocument is initial.
order successfully created
message i001(00) with text-001 l_salesdocument.
endif.
endif.
<b>Reward points</b>
Regards -
Inbound idoc failure(vendor invoice not posted)
Hi All,
we have two SAP systems. SAP A and SAP B.
SAP A is the vendor for SAP B system we have created a sales order/delivery/out bound invoice in SAP A system.The sales order has BOM material with main item and sub items. We have the same material master data and BOM master data in system A and system B since we are following split architecture.
The outbound invoice(with main and sub item) in system A has generated an outbound idoc and the idoc has gone to SAP
system B. There are the usual segments like E1EDP01 for main item and another E1EDp01 for the sub itmes in the outbound
idoc.The message type is INVOIC and basic type INVOIC02 with no extension.
In system B, the inbound idoc (coming from system A) has failed giving the error message "higher level items not allowed". The
segment E1EDP01 for sub item is highlighted in red ! basically the inbound idoc in sap system B is posting a vendor
invoice since the inbound idoc in B is calling the FM IDOC_INPUT_INVOIC_MRM... I think this is doing vendor invoice
verification.
I have checked in system A, all is ok and the outbound idoc is ok but the issue is in sap system B, the inbound idoc has failed
with message "higher level items not allowed". The segment E1EDP01 for sub item is highlighted in red in inbound idoc in
system B. The segments are the same for inbound idoc in B and outbound idoc in A.
Can someone pls tell what is wrong in system B.(config or data issue) as we are managing both systems.
regdsHi,
I am not sure if we can send both main and sub items thorugh inbound invocie idoc to create vendor invoice.
you can try to post the idoc by removing main items from the IDoc in WE19.
one more thing you should aware is you are not allowed to to create two E1EDP01 segements for the same PO item(E1EDP02).
check this as well.
Regds, -
Inbound idoc for production order
Hi.
I am having a requirement in Interface to create a production order in SAP .
My production order have multiple items.
Can you suggest me IDOC or BAPI or FM which i can used to create production order with multiple items...??
I tried with BAPI_PRODODER_CREATE but it used only for header data not for item one.
The Idoc LOIPRO is used i guess for outbound purpose i didn't found ne process code attatch with this so i guess we can't used for inbound.
Please respond me its urgent for me.
I will reward for helpful ans.
Thanks
DeeptiHi,
I dont know about which basic idoc is being used for production order.
But if you know any F.M or Message type or Basic type, then from WE57 you can find the corresponding process code.
Goto WE57 and make use position button and u will get one popup screen and then press F4 on any field then it will open the other screen in that screen make search for process code by giving the input values in Ctr+F search.
Reward with points if helpful.
Regards,
Vijay -
Hi,
A sales order is saved, and a sales order number is generated. And then when trying to view this using VA03, an error message is recevied stating "SD document is not in the database or has been archived"
And the SD document is not there in VBAK table as well.
Archiving has not been carried out.
What could be possible reasons for this?
Thank you in advance,Dear Friend,
There may be a case where the user might have deleted the Sales Order. Your Basis person can easily trace this.
Also sometimes the problem like this arise where the tables are not updated & number range is generated (skipped)... This can also be explored by your Basis person...
But most probably is seems that end-user might have deleted it by mistake...
Hope this helps
Reward if useful...
Thanks,
Jignesh Mehta
98700 10230 -
How to tigger SISCSO01 Idoc for sales order confirmation
Hello Experts,
I have a requirement where in I need to send the sales order confirmation as an IDoc. I need to use SISCSO01 IDoc type for that.
Can any please tell me how to configure SAP to trigger this IDoc when ever a sales order is confirmed.
In which T-Code is this sales order confirmation is done? and how to trigger the IDoc?
Thanks,
SumaHi Suma,
We need to maintan BD64 and WE20 with the Idoc SISCSO01 type. This is will automatically trigger the Idoc when we create a sales order.
You need to matain NACE for tiggering the IDoc. For that use BA00 in output types and configure program RSNASTED, from rotine as ALE_PROCESSING. In default values give transmission medium as ALE and parter function as SP.
Then come back to NACE-Condtion records and maintain meduim as A and date as 4.
Please reward if helpfull.
Thanks,
Srikanth -
Inbound IDOC - ORDCHG - Sales Order
Hi,
I have to change both header and item of the sales order using IDOC message type - ORDCHG.
I'm passing Sales Order# to the E1EDK01-BELNR and E1EDK01-ACTION = '002' for orders header.
when i test using WE19, It's creating a new document instead of changing the existing sales order.
Am i doing something wrong here? any inputs from you guys?
Thanks,
ArunWhat is the process code you are using in the partner profile? What is the FM assigned to that process code?
For change it should be calling IDOC_INPUT_ORDCHG, while it seems it is callingIDOC_INPUT_ORDERS, check that and you will be fine -
Outbound IDOC for sales order: message type, function module ?
Hi all,
is there a possibility to send out sales order data with an outbound IDOC (like sending an purchase order out with ORDERS.ORDERS05)
I've looked in WE20, for application V1 there are process codes like SD01, SD04, ... but the function modules behind are no existing on our system (release 500)
can anybody give me an little hint?
Thank you very much
best regards HansHi George,
for every process code there is a function module attached you can see in WE41(t-code)..
double click on the Process code you will able to see the Function Module attached to Process code..
and also you can check it out in WE57 (t-code) link between the Function module and Message type and Idoc type..
Process code SD01
Description ORDRSP: Order acknowledgment, ORD_ID01 (SD_ORDRSP)
Function module SD_EDI_ORDRSP_ORD_ID01
Process code SD04
Description DESADV: Shipping notif. with DES_ID01 (SD_DESADV)
Function module SD_EDI_DESADV_DES_ID01
regards,
Prabhudas
Maybe you are looking for
-
Why does Pages keep creating a new folder everytime I save?
There must be some easy explanation for this but there's a weird quirk in Pages '09 that I don't know how to turn off. Every time I save a document, not only does it save, but it creates a new folder with some new files labeled buildVersionHistory.pl
-
I've got my Rdweb accessible on both my internal and external network by using split dns locally to resolve the external url (remote.domain.com/rdweb) to resolve and everything works fine. However users don't want to use the rdweb interface (as it is
-
Print a label for Goods receipt of materials from vendor
Hi, I need to print several labels and I don't know how to do!! First I would like to print a label automatically when I save the good receipt with the MIGO Somebody could tell witch outypes I must to use in NACE, and what is the customising I need t
-
With previous versions, I would use hot key Shift+Command+S to save as - it would open file save dialogue (looked like mac OS) and I could choose location (by default it was in same location) and I could rename and save/ replace. With Pro DC update,
-
Using home sharing, can I view (stream) TS folders?
Using home sharing, can I view (stream) TS folders as I would with DVD Player? Must they be be converted to smaller H264 first (don't want to...too many, takes too long)? Does it place more demand to stream TS folders on the WiFi that iTV is hooked