Creation of Sales order through inbound idoc
Hi,
I'm using two servers 100 and 200.In 100 i'm creating outbound IDOC for PO,In 200 sales order has to be created for that PO.I'm facing some problem in server 200.
Error i'm facing : Partner profile not available.
I done all the basic setting like Logical system,Port and Partner profile creation in both servers.
Kindly advice.
By,
Sathish.
Hi Satish,
Are you sure WEL1 setting is correct?
The message seems to be telling you that it is looking for a vendor with
number 00000000 (zero) which doesn't sound too good to me.
You therefore bill the intercompany customer in sales org 0021 (the
intercompany receivable is in 0021). The intercompany payable is thus in
company code 0043, so that looks right.
Other things to check:
1. Does your IV billing document get generated in sales organisation
0043 with customer 300043 as the bill-to?
2. Check the number of 0's you have in WEL1 Log.addr field. We use
alphanumeric customer numbers for our "internal" customers so there's
not an issue with leading zeroes, but it might be a problem for you. it
seems you've got it right because you've padded with leading zeroes to
get it to 10 long, but you never know.
3. have you created your RD04 condition records in VV31 correctly?
I guess u may find the answer to this link.
http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/intercompany-billing-edi-partner-profile-not-available-1409203
Thanks
Mohinder Singh Chauhan
Similar Messages
-
Creation of sales order using inbound idoc
hello all,
I have a scenario where i need to read data from a flat file, then create a sales order with the flat file data using IDOC. we can also create sales order using BAPI but the problem is that we need to handle serveral errors so we want to use IDOC.
we are trying to use the function modules 'Idoc_input_orders' but we are not sure how exactly we need to pass the parameters into the function module, actullays data control structure is asking for different parameters like partner, idoc number, idoc port etc which we need not have as we are processing it internally in the same system.
It would be great if some one could help me regarding.
Thanks
krishnam raju N
Message was edited by:
krishnam Raju N
krishnam Raju NHi,
see FUNCTION 'IDOC_INBOUND_FROM_FILE'
Regards,
Clemens -
Hello,
I am getting this Error message"error determining posting period(infostructure S008,Variant Z2,RC3)" while creating Sales order from Inbound Idocs in the IDOC,which is affecting sales order creation.
While viewing this Info structure S008, I could see no records have been maintained. Wanted to know the reasons behind this Hard error?
Is it something related to Date Field used in the Update Rules for this Infostructure which is causing this posting period error?
Appreciate your inputs on this.
Thanks and Regards
Mohammed RoshanThank you Jelena,I checked the Ship. Delivery dates in the IDOC which are for Current Fiscal Year- 20140703 and 20140711,Could there be any other reason for this error?
Could it be an issue with e Update rule in this Infostructire S008
Secondly when we try change the update rule thru MC25 for this Infostructure S008,It gives a message"
"Maintenance of SAP standard updates not allowed"
Kindly advice
Thanks and Regards
Mohammed Roshan -
I am testing creating Sale Order from inbound IDOC with WE19.
Partn. number = AAA001
Partn. type = KU
Partn.func = PY
Message Type = ORDERS
Process Code = ORDE
I get message 51 "Error: Application document not posted" in IDOC status:
VKORG, VTWEG, SPART cannot be determined for customer AAA001 , vendor
Message no. VG 204
Diagnosis
No sales organization, distribution channel or division were sent to the
IDOC. This data is necessary if a sales order is to be added
automatically. If this data is unavailable, you cannot create a sales
order document.
Procedure
If data on the sales organization, distribution channel and division
have not been entered in the IDOC, it must be determined using a user
exit defined in the program.I will receive IDOC from external non-SAP system.
How can i populate E1EDK14 segment with appropriate values:
E1EDK14 -QUALF = 006
E1EDK14 -ORGID = Division (VBAK-SPART)
E1EDK14 -QUALF = 007
E1EDK14 -ORGID = Distribution Chanel (VBAK-VTWEG)
E1EDK14 -QUALF = 008
E1EDK14 -ORGID = Sales Organisation (VBAK-VKORG)
If external system does not know this values?
Edited by: S S on Feb 28, 2009 12:46 PM -
Purchase Order triggering Sales Order using Inbound Idocs
Hi All,
Can any one explain the flow of Purchase Order triggering Sales Order using Inbound Idocs..??
Thanks & Regards
AnoopUse search tool to find sample like Integrating MM & SD Modules in Same Client to Create Sales order in Supplying Company Code Using PO raised in Receiving Company Code By I-Doc Message Type ORDERS Part1, Part 2 and Part 3.
Regards,
Raymond -
Creation of Sales orders through EDI
Hello,
We have a problem when creating sales orders through EDI.
We are getting IDOCs with a delay of 1 second.Before
creating sales orders through the posting function
module IDOC_INPUT_ORDERS, we need to validate for
reference Purchase order number in the IDOC. If there is
any sales order in the database with the Purchase order
number in the current IDOC that sales order should be
blocked.
We already put a validation in the User-Exit of the
posting function module. Because of the frequency of
IDOCs we receive, this validation is getting failed.
Can anybody tell me, how to process only 1 IDOC at any
given point of time before the Posting process.
Thanks,
Madhusudan.Hi Sanjeev,
Thank you very much for helping me out in this problem.Still I haven't got the solution.
I tested the above mentioned configuration option by putting the Check Purchase Order Number field to 'A' in the transaction VOV8. But while creating sales orders, it is giving only information message. Is there any other way, to restrict the Duplicate PO value through configuration setup.
can you also explain how to use Enqueue and Dequeue FMs in the inbound posting function module.
Regards,
Madhusudan.
Message was edited by: Madhusudan Budati
Message was edited by: Madhusudan Budati -
Issue while trying to create Sales Order from Inbound Idoc ORDER05
Hi All,
I am trying to create a sales order through an Inbound idoc ORDERS05 created out of a Purchase order. The header pricing conditions from the Purchase orders gets populated in E1EDK05 segment and this needs to go to the Sales order header conditions while trying to create the Sales order.
But when the fields are getting incorrectly mapped to the Sales order. Issue being, the segment E1EDK05-BETRG contains the condition value. But this fields gets populated to the KOMV-KWERT (condition value) screen field on the Sales order header conditions. But this should have got mapped to field KOMV-KBETR (Rate). If I look at the Purchase order, E1EDK05-BETRG is the field getting fetched from field KOMV-KBETR on the Purchase order. So this should have correspondingly got mapped to KOMV-KBETR on the Sales order as well.
This looks like a standard behavior. But if any of you have encountered this issue before please let me know if any Correction instructions are available for the same. If this some issue in Pricing conditions configuration, do let me know.Hi Paaavan
You can set a break-point include "FV45PFAP_VBAP_BEARBEITEN_VORBE" that is called by both the SAP Standard and BAPI where the data is prepared and checked in the internal table XVBAP. Compare both SAP standard VA01 and your 'Z' program for what may be different in XVBAP.
I think the problem my be with regards to the business_object number that is hardcoded in the standard function module. It has given me issues before and hence I tend to use the function module SD_SALESDOCUMENT_CREATE to create sales documents with.
Regards,
Marius -
Reg. changing sales order through incoming idoc
Hi,
I am tyring to change a sales order from inbound edi through idoc type ORDERS05 and message type ORDCHG. Can you please provide me a link for sample mappings/gaps ?
I am mainly trying to change line items/ quantity/prices. Please give me an idea about qualifiers and mappings to use.
I appreciate.
Thank you.Friends,
Any ideas about solution reg. this question ?
Thank u. -
Creation of sales order through Purchase order
Hi all
We have a special scenario in creation of Sales order with the help of purchase order,
Could you please advice me how we can create sales order with the help of purchase order.
Thank YOu
Swaroopyou can create the sales order from the purchase order.It can be achieved by Idocs.
Please maintain the condition record for the output medium EDI and also maintain the Partner profile in WE20. -
Creation of Sales Order through EDI
Hi
Can anybody explain in detail the configuration steps involved in creating the sales order through EDI. If possible with screen shots.
Points will be rewarded.
Thanking you
chanHi Hari & Siva,
Could you please send the document to my mail id
[email protected]
Thanks in advance
MMVD -
Item text not getting copied into sales order from inbound Idoc
Hi All,
I have a scenario where in we get the sales order created through a inbound 850 idoc .
The trading partner sends the sales order information which gets through GENTRAN and gets posted as inbound idoc in SAP .
The problem here is that ,there are segments with values for item text in the idoc ,but the item text is not getting carried over to the sales order which is getting created because of this idoc.
There is no problem with the header text and it is present both at the idoc as well as the sales order level.
I have checked the configuration for text determination and everything looks fine .
Please let me know has anyone come across a scenario like this .This is important as our EDI is getting failed when an outbound 810 is sent from SAP for the simple reason that there is no item text .
Thanks
SridharHello Sridhar
Do you have access to the genuine 850 EDI message? Does it contain the item texts? If so then there is probably a problem with the (XSLT) mapping EDI 850 -> ORDERS.ORDERS05 IDoc.
Are you able to test the mapping independent of the EDI transmission? This way you could nail down the problem.
Regards
Uwe -
Creation of Sales Order through BAPI_SALESORDER_CREATEFROMDATA2
Hi friends,
We are creating Sales order using the BAPI -BAPI_SALESORDER_CREATEFROMDATA2. Due to some technical problems we are not able to pass the contract start and end data that we desire, the BAPI picks up the default contract start and end date from the contract profile.
There was no response in the ABAP forum hence seeking a solution if anyone has achieved the same here.
Please advise.
Regards,
Udaynath.Are you creating a sales order with reference to a contract or is it just an isolated sales order? If it's the latest then what's the relevance of the contract dates and how did you configure them exactly?
If you are referring to an existing contract, then, as I've already said, most likely it won't be possible to specify the different dates when creating the order.
Also not all functionality is available with BAPI, so you might have to resort to BDC. Additionally, I'd suggest to check the ABAP forum, this BAPI has been discussed there before. A message to SAP might also be a good idea, if you're using standard document types and configuration. -
Creating Sales Order using inbound IDOC
hi,
Using test tool WE19 if i create sales order in foregound no error occurs and order is created successfully but if i try to create in backgound it gives error "No batch input data for screen SAPMSSY0 0120".
please suggest a way out .I hope you do not have any popup windows during your order create, popups should be suppressed for batch-input.
try to run it in foreground and check if there is any warning message which forces you to press Enter once more to bypass it.
try to process it in "foreground after error" to see if it stops on any error/warning message. -
Dates fields issue in the sales orders through IDOC
Hi all,
I'm trying to create a sales order through Inbound IDOC using IDOC_INPUT_ORDERS.
I have 2 custom fields in the sales order which are date fields.
I'm populating them from the IDOC segments(using E1EDKT1-tdid, E1EDKT2-tdline) in the user-exit just before the call trasacation statement. These dates are not coming for a few orders... but are getting populated normally for few of them.
But the tricky part is that... if I process the same IDOC for the second time.. the order created is having the dates.
My issue is that.. i need all the orders to be populated with the dates which IDOC have.
Could anyone please help me with this issue.
All the answers/replies are highly appreciated!!
Thanks for you help!hi,
the following may be of help
There are 2 major exceptions to the batch input internal table. All text data from the segments E1EDKT1/2 and E1EDPT1/2 are not part of the batch input session. Text elements from these segments are posted directly to the data base AFTER the sales order has been created (please note: in order that item texts are posted correctly to the sales order the field POSEX from segment E1EDP01 MUST be transmitted). Also, configurable material information from the IDOC is exported to a global memory and therefore will not be part of the batch input session. Configurable material data is performed in Form CHECK_CONFIGURATION and the data is exported to global memory in the following code:
Exportiert IDOC Daten ins globale Memory
export IDOC data to global memory
call function 'CUXC_IDOC_TO_MEMORY'
tables
cfg_instref = xe1curef
cfg_ref = xe1cucfg
inst = xe1cuins
part_of = xe1cuprt
value = xe1cuval
exceptions
error = 1
others = 2.
One extra piece of useful infomartion if you wish to debug the process is to set your breakpoints at the following points
for Function module IDOC_INPUT_ORDERS
include LVEDAF0F..
CALL TRANSACTION 'VA01' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO xbdcmsgcoll.
Now input_method is A foreground process and N for background processing but try changing it to P (pass through mode)
If you have breakpoints in va01, e.g. MV45AF0B_BELEG_SICHERN,(the part where the sales document is saved)
they will be hit, e.g
perform userexit_save_document_prepare.
perform userexit_save_document.
Lastly, don't forget using program SDJEDI , see note 380603 for more information on this
Hope this is useful
Paul Quinn -
Creation of Sales Order and Service Contract from Inbound IDOC
Hi Experts,
My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
Thanks in Advance.
Regards,
PriyabrataActually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
Regards,
Priyabrata
Maybe you are looking for
-
Function Calendar not working in OBIEE 11G - Analysis
This code works in 10.1.3 but not in OBIEE 11.1.1, Please let me know the correct code. Error: Query Failed: [nQSError: 22025] Function Calendar Extract is called with an incompatible type case when "- Calendar"."Year" = YEAR('@{var_date}{2012-11-05}
-
How to install Developer 6.0 Personal Oracle
When I install personal Oracle 8 (trial)on my pc (Windows NT 4 sp4)I don't have problem and it work well. The problem is when I install developer 6.0,(in a different folder) I can't log on any applications any more. Thank for your help Patrice (Quebe
-
Has anyone ever try to run Smart View 11.1 with HFM 9.3.1 ?
I know that Smart View 9.3.1 has a lot of bug (mainly formatting issue). Have you ever try to run the new version with older version? Does it work? regards xav
-
Facebook & Safari closing unprompted whilst still being used
We have two iPads and both are running on iOS 7. One iPad is an iPad 3 whilst the other is an iPad Air. Both have started closing unprompted Facebook and Safari. Both iPads return to the screen you get when opening the iPads showing all the Apps. We
-
Clients getting errors after ZAM deployment
Hi, I have created one NAL to deploy the ZAM Asset management to all Asian workstations. now there is one site all workstations getting one errors "windows xp setup: the application could not be initialized when start up" after deployment. this error