Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc segment fields

Former Member
0 Kudos
988

Hi ,

I am checking the fields from the Idoc invoic02 and checking all the segments. But I am not getting some important fields like BUKRS from either of the segment in this IDOC. So how to find out a field from the segment?

Thanks

Manas

1 ACCEPTED SOLUTION

asik_shameem
Active Contributor
0 Kudos
225

Hi

Segment: E1EDK14

Field : ORGID where QUALF = '011'.

You can see the list of qualifiers in,

SE11 --> DOMAIN: EDI_QUALFO & In Value Range Tab.

6 REPLIES 6

asik_shameem
Active Contributor
0 Kudos
226

Hi

Segment: E1EDK14

Field : ORGID where QUALF = '011'.

You can see the list of qualifiers in,

SE11 --> DOMAIN: EDI_QUALFO & In Value Range Tab.

0 Kudos
225

Hi Asik

How do you know ORGID field can be used for BUKRS?

How did you decide that segment?

Thanks

manas

0 Kudos
225

Hi

In case of set of data(chance of having more than one) like

partner numbers( ship-to-party, sold-to-party,...),

organizational data(company code, cost center,...) ,

SAP uses single segment with a field and qualifier.

Based on the qualifiers, we have to identify the data.

Former Member
0 Kudos
225

Hi,

The company code is held on segment E1EDK14 with a qualifier of 003, the field orgid has the company code.

If you look at function module IDOC_OUTPUT_INVOIC you will see how the qualifiers are used.

Regards,

Darren

Former Member
0 Kudos
225

You copy the segment and paste in WE31 ...in display mode you can see the fields which are persent in Segment....or WE30.

Reg's,

Anilreddy

Former Member
0 Kudos
225

Hello,

If you are using the Standard Selection Program IDOC_OUTPUT_INVOIC, then it should be able to automatically populate the BUKRS field in the respective segment.

However, we may have some exceptional scenarios where the data is not populated. In this case, what I would suggest is to Use one of the Customer Exits EXIT_SAPLVEDF_002 in which you can access the INT_EDIDD Internal table and for the qualifier 011, check if the ORGID is populated. If it is not, then manually write the Queries and populate the Same.

Please note that while Modifying the INT_EDIDD table from the WA_EDIDD work area, make sure to use the INDEX addition in the MODIFY ITAB FROM WA_TAB syntax. Otherwise, you'll get a Short Dump.

Hope it would be useful.

Thanks and Regards,

Venkat Phani Prasad Konduri