Minimum Inbound Orders IDOC file
Is there a way to determine the minimum number/identification of segments for an inbound sales order?
I want to build a file and import it with RSEINB00 and then process it with RBDAPP01.
I've tried using an output ORDRSP as a base document and then edit it with WE19. But, I'm not having any luck.
Hello Florian
When you choose function "Inbound Function module" (IDOC_INPUT_ORDERS; WE19) switch the transaction processing to In Foreground or In Foreground after Error.
Then you will clearly see what is missing and it should be easy to find out where to place the missing data into the IDoc.
Most likely segment E1EDP20 (containing the quantity) is missing. Example:
E1EDP20 136.000 0.000 20080822
Regards
Uwe
Similar Messages
-
Hi All,
I want the tables in which Inbound Order Idocs were stored,
Use WE02 transaction,
i am trying to find the tables , but i cant, plz any body help me in this problem,
Balu.Hi bala,
do one thing..u wil get the idoc number as 0000000000123456(16 digit)..
please chek the document numebr in the ztable,say for example in ur ztable it is 10 character length.so u have extra 6 characters.
so what u do is use CONVERSIONEXIT function module and delete the leading zeros,
if u do like this.it will be 10 characters...
now u can write the select query as u written,it won't give any error..
Regards,
Nagaraj -
How to place a delivery block at line item level from Inbound ORDERS IDoc?
Hi EDI/ABAP Experts,
Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
Thanks,
Matt .Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
CALL CUSTOMER-FUNCTION '001'
EXPORTING SEGMENT = IDOC_DATA
DVTCOMAG = VTCOMAG
DXMESCOD = IDOC_CONTRL-MESCOD
CONTRL = IDOC_CONTRL
TABLES DXBDCDATA = BDCDATA
DXVBAP = XVBAP
DXVBEP = XVBEP
DYVBEP = YVBEP
DXVBADR = XVBADR
DYVBADR = YVBADR
DXVBPA = XVBPA
DXVBUV = XVBUV
DD_FLAG_P = D_FLAG_P
DXKOMV = XKOMV
DXVEKP = XVEKP
DYVEKP = YVEKP
CHANGING DXVBAK = XVBAK
DD_FLAG_K = D_FLAG_K
EXCEPTIONS
USER_ERROR = 01.
If you are in ECC6.0 you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U -
How to delete E1EDP19 002 segment frm the inbound ORDERS IDoc?
Hi ABAP/EDI experts,
I am implementing an User exit related to inbound Sales order EXIT_SAPLVEDA_001.
Most of the time my IDocs contain the below segments.
E1EDP19 001 (QUALF = '001')
E1EDP19 002 (QUALF = '002')
Sometimes, IDoc contain only E1EDP19 001 (QUALF = '001') segment.
My problem is whenever i have two E1EDP19 segments, i want to delete the 1st E1EDP19 segment and retain the second E1EDP19 segment.
Can anyone tell me the pseudocode for deleting the 1st E1EDP19 segment from the inbound orders IDoc.
Am i using the correct user exit??
Thanks,
Creasy Matt
Edited by: Creasy Matthew on Jan 22, 2009 12:56 AMHi Matt,
You can loop on idoc_data internal table. This table will be having all the data and the segments.
data: l_count type i value 0,
l_tabix type sy-tabix.
LOOP AT idoc_data WHERE docnum = idoc_contrl-docnum.
CASE idoc_data-segnam.
WHEN e1edp19.
l_tabix = sy-tabix.
l_count = l_count + 1.
if l_count = 2.
l_tabix = l_tabix -1.
delete idoc_data index l_tabix.
endif.
ENDCASE.
ENDLOOP.
I hope this will work.
Please let me know if any issues. -
Mass processing for inbound orders idoc's from file
Hi Experts,
I have an requirement wherein we need to process all the ORDERS idocs sent from a thrid party system to a particular folder in the SAP system. Now we use a custom programme which in turn calls fn module IDOC_INBOUND_FROM_FILE to process each file. Here if the fn. module IDOC_INBOUND_FROM_FILE hits an erroneous file (control record error) it issues abend message which causes to entire programme to exit leaving rest of the files in the folder unprocessed.
Let me know if there is any other function module or way to tackle this issue so as to process all the files.
Thanks & Regards,
Jimmy.Add the exception ERROR_MESSAGE = 99 (or some other unique number) to the standard exceptions in the function module call in your custom program. This will allow you to trap the error and continue processing.
-
Update delivery block on inbound Orders IDoc
Hi Folks,
I am using the following to code to place delivery block.
zvbak-lifsk = zblock. "ZZ
MOVE: 'X' TO z_d_flag_k-kde2.
dxvbak = zvbak.
But some how my code is not placing delivery block on the sales order.
Can you guys tell me what am i doing wrong here??
Thanks,
Matt
Edited by: Creasy Matthew on Jul 29, 2009 4:19 PMHi,
Could you please tell me the IDoc type and Inbound Function Module u are using.
is it ORDERS05 and IDOC_INPUT_ORDERS -
User exit to change data in inbound orders idoc
Hi everybody.
Id like to know what user exit I have to use to change an inbound idoc orders in inbound process???
Thanks a lotHi,
Please search on SCN.
However you can look for an exit that matches your requirement :-
[http://wiki.sdn.sap.com/wiki/display/ERPLO/UserExitfor+Deliveries]
Regards
Abhii -
Inbound ORDERS IDoc Error: No batch input....
Dear all,
i try to receive IDocs via the standard function module IDOC_INPUT_ORDERS. Partner profiles etc. are maintained in WE20. However, when I create the Test IDoc in WE19 and process it, i get the following error:
No batch input data for screen SAPMV45A 4001
Message no. 00344
My IDoc looks as follows:
EDIDC 2000000000000203045700 51 2SAPXXX LSXXXCLNT200
E1EDK01 220 56026671
E1EDK14 012OR
E1EDK14 00601
E1EDK14 00701
E1EDK14 008PLANT
E1EDK03 002200909170000
E1EDK03 012200909171212
E1EDK03 022200909171212
E1EDKA1 AG 0003000011
E1EDKA1 WE 0003000011
E1EDK02 001K1234567 20090911
E1EDP01 1 1 EA
E1EDP19 0035200000
Has anyone an idea, what might be the reason for this error?
Best regards
FlorianHello Florian
When you choose function "Inbound Function module" (IDOC_INPUT_ORDERS; WE19) switch the transaction processing to In Foreground or In Foreground after Error.
Then you will clearly see what is missing and it should be easy to find out where to place the missing data into the IDoc.
Most likely segment E1EDP20 (containing the quantity) is missing. Example:
E1EDP20 136.000 0.000 20080822
Regards
Uwe -
Placing delivery block on the inbound Orders IDoc (SO Process)
Hi EDI Gurus,
I have a small question.
I know we can set a delivery block using E1EDK01-LIFSK.
But I check a base UOM @ item level. If it is not allowable, then I should place a delivery block.
I am using user exit EXIT_SAPLVEDA_001.
But how can I set a delivery block @ header level with information available @ item level.
Say:
case zedidd-segnam.
when 'E1EDK01'
XXXXXXXXXXXXX
when 'E1EDP01'.
ze1edp01 = zedidd-sdata.
zint-vbap = zxvbap
zint-vbak = zxvbap.
if ze1edp01-MENEE ne 'EA'.
place delivery block
endif.
How can I do this.
Can anyone throw some light. Even code/field help will be helpful.
Thanks,
MattThrow some light Gurus
-
Changing IDOC Control Record for EDI inbound Orders Creatiion
Hi,
When I try to process the Inbound orders Idocs file through the GENTRAN EDI System.IDOC's were errored out, because of the Partner function was not defined for the Customer ( Legacy ) ( Type KU ) in the SAP.
Is there any user exit/badi/Configuration to change the Legacy Partner(Customer) to the SAP Partner(Customer) mapping and update the IDOC Control record with the SAP Partner. I am calling EDI_DATA_INCOMING Function module and IDOC_INPUT_ORDERS.IDOCs errored out with Message EO-332 ( Partner function not defined ).
Advance Thanks,
Balaji.It's been a long time since I have done any IDOC processing.
Go to SE37 and enter the function module IDOC_INPUT_ORDERS. Display the source code. Search for "CALL CUSTOMER". You should see several "CALL CUSTOMER-FUNCTION" lines. These are enhancements where you can manipulate the IDOC data. If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value. Double-clicking on the number in quotes will bring you to an "EXIT_" function module. A "ZX" INCLUDE program is referenced. If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it. The values passed into the function module are available in the INCLUDE.
Ideally, you should create a project in transaction CMOD that references the chosen enhancement. This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE. -
Shipto on Inbound EDI Order Idoc
I cannot get the inbound order idoc to select the shipto. When I map in the E1EDKA1 WE, I am getting different results (errors) depending upon whether I use the PARTN or LIFNR.
If I map in the WE LIFNR, the error message is: "Customer belongs to customer group 0002 and thus cannot be the soldto". In this scenario, I am also mapping in the AG with LIFNR.
If I map in the WE PARTN (AG LIFNR also), the error message is: "Field KUWEV-KUNNR does not exist on the screen.
My goal is to able to use EDPAR using LIFNR to select both Soldto & Shipto. I would have thought it would have been as simple as filling these values into E2EDKA1 and updating EDPAR with the corresponding values. But as you can see, this is not working for me. Is this possible? Has anyone been able to get this to work?
Thanks.Look at this blog..Will tell you how to troubleshoot your IDoc issues..
<a href="/people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process of ALE Process</a>
Raja T -
How to get know the Sales Order IDOC#, if I know the created Sales Order#?
Hi Experts,
Let me know that, How to get know the IODC #, if I know the Sales Order#?
Scenario is that, sales order(say 12345678) was created from Inbound EDI. I also Know the MATERIAL too.
So, How to pull the associated Inbound ORDERS idoc, which is created this Sales order-12345678?
Is it from EDID4 table? or EDIDC? or any thing else?
reples r appreciated.
thanq
Edited by: SAP ABAPer on Sep 8, 2008 5:29 AMHello
This can be done much easier using fm SREL_GET_NEXT_NEIGHBORS:
Input:
OBJECT-OBJKEY = <number of sales order> " with leading zeros!!!
OBJECT-OBJTYPE = 'BUS2032'
MAX_HOPS = '01'
Result:
NEIGHBORS-OBJKEY = <IDoc number with leading zeros>
NEIGHBORS-OBJTYPE = 'IDOC'
NEIGHBORS-ROLETYPE = 'INIDOC'.
Regards
Uwe -
NO MATERIALs in the Sales order created through inbound idoc file
hi,
i have maintained the customer material number as well the SAP Material number in the tcode VD51,but still the inbound
idoc type ORDERS03 is posting the application document(Sales order) without the materials.
for instance,
I have cust.material as CUSTMAT1 in the idoc file.
I have maintained the CUSTMAT1 as cust material and 1001 as material no in VD51.
After posting the inbound idoc file using RSEINB00 prg,the idoc is created and i can see the CUSTMAT1 in the material segment field
The Sales order is created successfully ,but without the materials.
i need the application document has to be posted with materialsm,can any one help me to solve this issue.?
ThanksHi ganesh ram
In order to determine the Material Number with you custom material then you needs to have some configurations.
Check with your Functional consultant to add the Access sequence for determining the Material Number with you custom material
In Sale order processes...
Thanks
Ramesh -
Creating inbound Sales Orders IDOC within SAP
Hi,
I receive a flat file containing sales order information. I would like to create inbound Sales Order IDOCs from this flat file. I know I can use BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders however I would like to retain the benefits of IDOCs e.g. error retention and re-processing.
There are a number of functions MASTERIDOC_CREATE* to create various IDOCs but I can't seem to find one for message type ORDERS. I know I can create a 'Z' version but would like to avoid that as much as possible as development budget is tight.
Any help would be greatly appreciated in the form of reward points.
Thanks and regards,
LiamHi,
Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
Please let me know if u can help me, i wanted to do it using idoc
Regards
Sanju -
Crating multiple sales orders based on one inbound purchase order idoc
Hi All,
I have a requirement to create multiple sales orders based on single inbound PO idoc.Please let me know whether is it possible or not?
Regards
maheshHi Mahesh,
What is your crieteria for different SO's ?
Regards
Megha
Maybe you are looking for
-
I purchased a $25 gift card for iTunes several weeks ago. Went to use it tonight, and when I scratched off the code it was completely unreadable. I'm not impressed at having wasted $25. Nor am I impressed with the lack of helpful information on th
-
Display freezes and sometimes, system auto reboots???
I have the Ultra 645 MS6547 mobo and am using an ATI Radeon 7500 All0in-Wonder AGP vid card. My system, has of recent, auto reboots of display frezes maybe tree times each evening. I have worked with MSI & ATI. No concrete answers. Has anyone else e
-
Hello guys, I have a problem in my select query. My query is turning empty. there isnt problem before without adding vbak table.Where is problem? select matnr fkdat matkl lfimg v~auart from lips inner join likp on LIKP~VBELN
-
What is the name of the app?
Im trying to install i tunes on windows 8. it says i need a app found on windows but what is it called?
-
Best graphics card for After Effects CC?
Been pondering which CUDA card to get for my "Mid 2012" Mac Pro as I was sadled with a useless AMD Radeon HD 5870 by the systems builder, so even though I have 12 cores I get very little acceleration from Premiere Pro & After Effects CC when editing