‎2007 Sep 06 7:21 PM
Hello everyone!!!
I use the segment E1EDK02 QUALF 017 : Assignment Number
But when I generated my idoc, this field is ok, but when I go to see the order..this field doesn't appear its empty...
Can anyone help me because i don´t why is this happened?
And i need this file with an IDOC value. because we are going to use this value in the invoice.
Thanks for your help!!!
Title was edited by:
Alvaro Tejada Galindo
‎2007 Sep 06 7:43 PM
Hi Rocio,
Welcome to SDN.
Please try to use user exits EXIT_SAPLVEDA_001 and populate DXVBAK-ZUONR with segment E1EDK02 QUALF 017 value.
Regards,
Ferry Lianto
Please reward points if helpful.
‎2007 Sep 06 8:05 PM
Hello Ferry!!
Thanks for your help, as i told you before, i'm new on this topic.
Could you please explaime mor about this :
Please try to use user exits EXIT_SAPLVEDA_001 and populate DXVBAK-ZUONR with segment E1EDK02 QUALF 017 value.
I already find the user exit, but i dont understand what do you mean with populate DXVBAK-ZUONR with segment E1EDK02 QUALF 017 value.
Thanks Again.
‎2007 Sep 06 8:27 PM
Hi Rocio,
I can't find any logic in FM IDOC_INPUT_ORDERS to handle segment E1EDK02 QUALF 017 in order to populate value VBAK-ZUONR.
Having said that there is user exits available EXIT_SAPLVEDA_001 which you can use for your purpose. I assumed you are familiar working with user exits.
In the above user exits, you can try something like this.
DATA: WA_E1EDK02 LIKE E1EDK02.
MOVE IDOC_DATA-SDATA TO WA_E1EDK02.
IF WA_E1EDK02-QUALF = '017'.
MOVE WA_E1EDK02-<field name> TO DXVBAK-ZUONR.
ENDIF.
Regards,
Ferry Lianto
‎2008 Jun 19 10:42 PM
Hi experts,
I take this post to ask a new (added) question:
We would like to know how to insert a value for ZUONR vÃa IDOC_INPUT_ORDERS
We already know that we must implement user exit EXIT_SAPLVEDA_001 in order to get from one segment of the ORDERS IDOC the value we want to insert into ZUONR.
But when we analyze the following logic of the function module we see that the way SAP is generating the order is vÃa call transaction of VA01, and it seems that there's no vbak-zuonr field in the bdcdata structure passed to the call transaction.
We assume that we need to implement the user exit EXIT_SAPLVEDA_002 to append the vbak-zuonr field with the proper value to the bdcdata structure, but we would like to know if there is some previous note explaning the way to do it or if there's other easier way to reach the same result.
Thanks.