IDOC Invoic02 - Segment E1EDP26 (net value) is missing because of val. 0,00
Hello everyone,
I have an idoc of type Invoic02 and the segment E1EDP26 with qualifier 003 (net value) is missing if the net value is 0,00u20AC. If the value is greater than zero, the segment is perfectly there.
Does anyone have an idea how I can achieve that this segment is always there independent of the value?
Thank you!
Best regards
Andreas
I'm replying to this old post since it comes up in Search. We had the same issue - E1EDP26 with QUALF 003 would not be in the IDoc, but it was required by the receiving system.
Here is a reply I received from SAP:
This is the standard system behaviour and this is hard coded in the
system.
Please see the following from note 635337 (Conditions are missing in theIDoc):
o The value of the condition must be <> 0.
You may change the code in LVEDFF0F by removing the IF and ENDIF
statements and then E1EDP26 segment 003 will always be output
but this would be a modification and would be subject to the conditions
from note 170183.
*- Absoluter Nettowert
IF NOT tvbdpr-netwr IS INITIAL. <<<
CLEAR int_edidd.
CLEAR e1edp26.
int_edidd-segnam = 'E1EDP26'.
e1edp26-qualf = '003'.
PERFORM get_e1edp26_tcurx_currency USING tvbdpr-netwr.
MOVE tvbdpr-netwr TO h_newr_btrg.
MOVE e1edp26 TO int_edidd-sdata.
APPEND int_edidd.
PERFORM customer_function.
ENDIF. <<<
Since we already had a user exit EXIT_SAPLVEDF_002 implemented for the IDoc extension, instead we resolved it by adding the following code (fragment) there:
DATA ls_e1edp26 TYPE e1edp26. "document item pricing data
DATA lv_kwert TYPE kwert.
CASE int_edidd-segnam.
WHEN 'E1EDP26'.
MOVE int_edidd-sdata TO ls_e1edp26.
IF ls_e1edp26-qualf = '001'.
IF xtvbdpr-netwr = 0.
CLEAR: ls_e1edp26, lv_kwert.
ls_e1edp26-qualf = '003'.
ls_e1edp26-betrg = lv_kwert. " so that decimals/format are the same
SHIFT ls_e1edp26-betrg LEFT DELETING LEADING space.
MOVE ls_e1edp26 TO int_edidd-sdata.
APPEND int_edidd.
ENDIF.
ENDIF. " ls_e1edp26-qualf = '001'
ENDCASE.
Similar Messages
-
Invoice IDOC is sending wrong Net value
Hi Champs,
We have an interface whetre Invoices will be sending to the third system through IDOCS.
These are prepared and being transferred by using Standard FM Invoice_Inbound_Asynchronous. But there is a very peculiar problem when sending some invoices, like some invoices are pushing ITEM wise wrong amount thruogh segment E1EDP01 -> E1EDP26 003 -> BETRG (Field). I could not get from where this amount is being picked.
Could any one help me if you face similar type of issue.
In the IDOCS flow of last two years, only 6 IDOCS are sent with wrong amount until now.
Thank You
With Regards,
Ravi kanth Yechuri.Friends,
can you please hep me out whether i can apply any SAP note or so...
Thank You
Ravi Kanth Yechuri -
hey friends need some help
i am using the same pricing procedure for my sales order document and for Contracts.
when i insert the condition type for price, the net value gets calculated for Sales order and the same doesn't happen when i am creating contract, the condition type gets accepted but the net value shows zero in the document and when i try to save i get the message "missing data; net value"
what might be the issue,, plz helpyes ..ofcourse.
Based on your business requirement go for Periodic or Milestone billing plan. Normal sales order doesnot require it but for contract it is must.
For configuration check:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/milestone+billing.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/periodicBillingConfiguration
Edited by: Yadav on Sep 8, 2009 11:44 AM -
Hi all,
I have extended the the standard IDOC MATMAS05 classification view with structure as below-
E1MARAM Master material general data (MARA)--->Mandatory segment
Z1KLART KLART --->Extended chaild to E1MARAM
Z1CLASS segment for class --->Extended chaild to Z1KLART
Z1CHARACTERISTIC CHARACTERISTIC --->Extended chaild to Z1KLART
E1MARA1 Additional Fields for E1MARAM
E1MAKTM Master material short texts (MAKT) --->Mandatory segment(Child to
E1MARAM )
I am getting an error in IDOC fro material master as:EDI: Syntax error in IDoc (mandatory segment missing ).
Diagnosys By system is :*The segment E1MAKTM has the attribute 'Mandatory' in the syntax description of the basic type MATMAS05 (customer enhancement ZMATMAS05). However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
This error may have been triggered by an unidentifiable segment before the expected mandatory segment.*
Please help to resolve the issue.
Thank you.
Edited by: sanu debu on Apr 30, 2009 11:25 AM
Edited by: sanu debu on Apr 30, 2009 11:31 AMHi,
You cannot add an segment in the middle of other segments.
YOu have to add any segment at the last.
If you want to add a segment as the child of another segment, it should be added after the last child of the parent segment.
In you case, you have to add your segment after the E1CUCFG segment.(NOt under that segement)
Regards,
Ravi Kanth Talagana -
EDI: Syntax error in IDoc (mandatory segment missing)
HI all,
Error Message - EDI: Syntax error in IDoc (mandatory segment missing)
Status ID - E0
Message No - 072
Status of the IDoc - 26
Please help me how to solve this issue?
Thanks,
SriniHi,
This error normally comes up when the sequence of segments has been disturbed.
For successfully posting an IDOC you need to maintain the sequence of the segments as in WE30.
You can also check which segments are mandatory in WE30 by clicking on the segment name and the pop up that comes.
Thanks,
Manish -
IDOC INVOIC02 in outbound - segment E1EDP05
I'm making some test with the IDOC INVOIC02, i try to generate a invoice idoc for from another SAP system for generate SD invoice with the GN_INVOICE_CREATE.
I view that the idoc created dont generate the segment E1EDP05 with the pricing procedure conditions (necessary for a mirror creation of invoice on the destionation SAP).
Anyone knows why the segment is lost?
Thanks
DavideHi,
Could you please check is there any segment filters are set in the sender system.
Generally we will check any segment filter in BD56 transaction.
Thanks,
shyla -
No Incompletion Log for Sales Order with net value as zero
Hi all,
There is an Inbound IDOC which creates a Sales Order.
When we check the IDOC, we find that it has got 4 line items (E1EDP01). However, for all the items except the third one (for example), the segment E1EDP05 is filled. In the segment E1EDP05 the field KRATE contains the corresponding net value for the respective line items.
Then when we check Sales Order which is created, we find that the third line item (for example) has the net value as zero. In this case, ideally there should have been an entry in the Incompletion Log. However, it does not happen so.
I suppose the issue is with the third line item in the IDOC for which the segment E1EDP05 is not present. I have debugged the corresponding FM is IDOC_INPUT_ORDERS, but was unable to find any clue.
Please let me know the reason for this.
Thanks and regards,
AnishurIn routine interpret_idoc_orders the item conditions are filled by calling
WHEN 'E1EDP05'.
MOVE IDOC_DATA-SDATA TO E1EDP05.
PERFORM ZUORDNEN_ORDERS_E1EDP05.
In case KRATE is empty no values are transferred to the order
IF NOT E1EDP05-KRATE IS INITIAL.
PERFORM IDOC_CUR_MOVE USING E1EDP05-KRATE XKOMV-CURRDEC
XKOMV-KOEIN
XKOMV-KBETR D_FLAG_P-PKON.
ENDIF.
If that is a valid scenario, you need to adjust your incompletion procedure in customizing to include the net value on item level so any missing value is reported.
If this is not supposed to happen you might want to hook into one of the user exits in the idoc and in case KRATE is missing let the idoc fail.
Hope that helps,
Michael -
Hello Friends,
Inbound error code is 51.
error details as in application log.
Error segment : E1EDP01
Error desc : Field format is incorrect, Required field MENGE is missing in segment E1EDP01
When i checked this field in IDOC segment it as follows-
POSEX : 1
MENGE : 1
Strange thing is some IDOCs are posted with the identical values of POSEX , MENGE.
If you have faced this issue before(even though the format is right), please let me know
the resolution.
Regards,
VinayThe problem was that while processing insise the inbound idoc fm.. the value of menge was converted to negative based on some conditions and IDOC was expecting only positive values after processing for FM and that's y the error.
we are in the process of resolution. -
EDI1 Condition Type - Not picking up Net Value - Document Incomplete
Hi EDI Gurus,
I have a quick question.
I am processing an EDI Sales Order through Inbound Orders IDoc.
When an IDoc is triggered, the EDI1 pricing condition is getting the customer expected proce from E1EDP01-VPREI. But it says document incomplete.
Complete Data:
Item 000010: Net Value missing
Why I am i getting this?? What should be done?? Where??
I also heard that we can make the order block, if EDI1 price is different from PR00 price. How to place delivery block?
Can you please explain.
Thanks.
MattI figured out the problem. the price for the material was not maintained in the PR00 pricing condition.
The EDI1 condition was OK.
Now , i have a question regarding the comparison between, standard SAP price (PR00) and customer expected price (EDI1).
Where do we do the comparison. If cust expected price is not acceptable how we gonna put a delivery block.
Do i have to implement this in Inbound Orders user exit or should I implement this elsewhere??
Who is the owner of this process EDI or SD??
Thanks,
Matt -
Extend Idoc INVOIC02 - E1EDKA1 - Syntax error
Hi All,
I have extended Basic idoc INVOIC02 and using exit EXIT_SAPLVEDF_002 to extend custom segment. I am trying to add a custom segment under E1EDKA1. In program I am inserting Z1 segment after parent segment E1EDKA1. I am passing Parent segment reference (INT_EDIDD-PSGNUM) and hierarchy level of custom (INT_EDIDD-HLEVEL) segment. Problem is custom segment still placed under root segment after E1EDKA1 segment, which is incorrect. Idoc error with status 26 Syntax error. Can any one tell me what I am doing wrong or how do I manage to get custom segment under parent segment E1EDKA1, so that I dont get this error. Below code for your reference. Thanks in advance.
Regards,
Tim
Program -
"ZXEDFU02" -
describe table INT_EDIDD lines gv_indes.
read table INT_EDIDD index gv_indes.
if sy-subrc eq 0.
if INT_EDIDD-segnam eq co_e1edka1 and
INT_EDIDD-sdata+0(3) eq 'ZM'.
Now INSERT segment Idoc value and custom extend field
if not gv_email is initial.
INT_EDIDD-PSGNUM = gv_indes.
INT_EDIDD-HLEVEL = '03'.
move: co_z1edka1 to INT_EDIDD-SEGNAM,
'email address' to INT_EDIDD-SDATA.
append INT_EDIDD.
endif.
endif.
endif.Your logic looks ok. I would remove the code to populate the parent segment number and hierarchy level. SAP will determine those on its own.
As for the result you are seeing, if there is a syntax error on an IDoc, the entire hierarchy will be lost so the fact that the custom segment is showing up at the same level as its parent doesn't mean that is actually causing the syntax error.
Did you add your extension in the partner profile?
Program -
"ZXEDFU02" -
describe table INT_EDIDD lines gv_indes.
read table INT_EDIDD index gv_indes.
if sy-subrc eq 0.
if INT_EDIDD-segnam eq co_e1edka1 and
INT_EDIDD-sdata+0(3) eq 'ZM'.
Now INSERT segment Idoc value and custom extend field
if not gv_email is initial.
INT_EDIDD-PSGNUM = gv_indes.
INT_EDIDD-HLEVEL = '03'.
move: co_z1edka1 to INT_EDIDD-SEGNAM,
'email address' to INT_EDIDD-SDATA.
append INT_EDIDD.
endif.
endif.
endif. -
Best way to customize IDOC INVOIC02 (outbound)
Hello,
I want to customize the IDOC type INVOIC02 (outbound). Customize means:
- remove segments
- change some values
I tried different ways to achive this, but it does not work as needed. What I tried:
- IDOC extension: can not be used, because I can not remove segments
- IDOC view: not possible for INVOIC02 (see sapnote 185445)
- new IDOC type: I created a new IDOC type and copied all needed segments from INVOIC02. Now I want to use the existing function IDOC_OUTPUT_INVOIC, but it does not work. The IDOC gets status 26 (Syntax error, E1EDK17 does not exist). I do not want to rewrite the existing function. I think this would be the worst.
- new idea (not tried yet): use the existing INVOIC02 and change, remove segments in the user-exit.
Can someone help me and maybe give me hint?
Thanks, best regards
AndreasHi Sasidhar,
I am using EXIT_SAPLVEDF_002 now and it works like a charm. Thanks!
This is my coding right now (maybe it helps someone reading this):
*& Include ZXEDFU02 *
*separate by partner
CASE control_record_out-rcvprn.
* Special customer
WHEN '0000123456'.
* get segment
CASE int_edidd-segnam.
* delete segments
WHEN 'E1EDK17' OR
'E1EDK23' OR
'E1EDK28' OR
'E1EDK29' OR
'E1EDK14' OR
'E1EDP03' OR
'E1EDPA1' OR
'E1EDP28' OR
'E1EDP08' OR
'E1EDP30'.
DELETE TABLE int_edidd.
ENDCASE.
ENDCASE .
Regards,
Andreas -
Freight Calculation based on the net value of the Line item
Hi SAP Gurus,
I have one requirement for Freight calculation(Sales order is created through an IDOC) :
In the idoc,we will receive a freight dollar amount - which will be the total amount of freight.(example 100)
We will also receive sales dollar for each line item ,which is then passed to the pricing procedure, for a total amount of sales for that Sales order.
(examples below, for a total of 1500)
The 100 is to be posted to a freight G/L account.
The 100 is further divided by each profit center of the materials on the Sales order.
The freight is split out amongst the profit center , based on the net value of the line item.
Freight value to be allocated = Line item value/total value of the sales order * Freight amount.
Total of the sales order =1500
Line item value Freight value calculation Profit center
Material A: 800 800/1500*100 = 53 Profit center A
Material B: 500 500/1500*100 = 33 Profit center B
Material C: 200 200/1500*100 = 13 Profit center C
Please let me know how to achieve this functionality in pricing procedure or what changes i need to make in Freight condition type.
Thanks in advance,
Bhakar SahaWere you able to resolve this issue of allocating freight costs to line items/profit centers using the net value of the line items?
-
Net value is not reflecting from order to Invoice
Hi,
I need some clarification here: I can able to see the Net value in the sales order but the same thing is not reflecting in to the invoice.
What could be the reason and Error message is : Pricing error in ITEM 000010 in Invoice.
Your suggestions are most welcome.Dear,
there may be the incomplete in the order. one condition is missing in the sales order.
This is because of condition record of particular condition is not maintained at the time of sales order.
you can update the pricing in the order if Invoice is not generated . If invoice is generated you can update in invoice itself.
If your query wiill be resolved then reward me.
Regards,
Narasimha -
Net value confirmed in POR in Classic scenario
Hi everyone,
In SUS, as you know, the vendor can confirm the net value for the items; however, I can't see this new net value in R/3. This is normal or where I can see this value??
Thanks,
Iváhi,
I have seen in the EBP-SUS scenario , it is possible to compare
purchase order and purchase order response which the supplier had sent
1) in the case of MM-SUS scneario , as far as i know , there is no point where you can compare --> purchase order and purchase order response.
2)there is also possibility that , the purchaser in R/3 mentions an toleranc limite -->if the changed date , quantity , price from the supplier is beyond a certain specified tolerance limit , system would not post the
IDOC and follow-on document will not be created in R/3.
3) this way purchaser makes sure that the supplier does not change the values beyond a certain limit.
4) you can also check --> for the item changes --> in the R/3 purchaser order --> to check wether the changes supplier has done are recorded (or) not... , i am not sure about this though... -
ML81N Net Value Incl tax problem
Dear SAP Guru's,
Need your help in this issue please.
When we try to make service entry sheet vide transaction ML81N for any vendor the amount calculated for payment is exactly half of the ordered value.
In short for all Work orders, when we make service sheet we face the above mentioned problem, whereas for all Purchase orders when we make GIR, the system calculates the correct figures.
Could any of you'll please suggest some solution for the above issue.
Thanks in advance.
Regards,
AshokHello Ashok,
please check the purchasing condition schema in your corresponding purchase order.
the subtotal for the net value should be calculated with condition subtotal 7 - probably this is missing from your
schema and there is an additionally subtotal 9 calculated which might be the cause for this problem.
Please compare the settings with the settings from the standard schema RM0000.
Regards,
Edit
Maybe you are looking for
-
Can't load home shared library on one computer
I have a MacBook Pro running Snow Leopard 10.6.2 and a Dell Studio 15 with Windows 7. Each has the very latest version of iTunes 9 on it and a 500 GB HD. The library I want to share is slightly more than 200 GB in size. My home sharing problem seems
-
Get_file_list to list content of UNIX directory
Hi all I am trying to list the files in a UNIX directory using the get_file_list action. Not getting anything back, but action is not reporting error. In the folder configuration box i have used all combinations of \ and / but none do anything. I can
-
How can I handle exception? - to give user more friendly notification
Hi! User gets an error: 'Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum =...' How can I handle this exception
-
Mail takes long time to arrive
Hello Experts, I am using 10.8 server for host my web sites and email. I created host name for for my server called mail.fm-host.biz and updated the pointed site from domain control pannel in domain reseller, and i see the it looks like working, my
-
My CS6 bridge is crashing. I have CS6 Master Suite edition. When I open it up regularly or as administrator it opens up fine but when I either click on a file or a photo I receive a message that Bridge CS6 has stopped working. Also my Mini Bridge in