cancel
Showing results for 
Search instead for 
Did you mean: 

How to show the table that record Internal Order for each Sales Order Line?

Former Member
0 Kudos

Dear Experts,

I'm using Internal Order to manage the Promotion Name.

When create Sales Order, for each Sales Order Line, I must be choose Internal Order with Path such as:

  • Path: VA01 > Display Item Details > Account Assignment > Profit Segment > choose Internal Order.

However, I don't know the table that records the Internal Order for each Sales Order Line.

Please help me show the table that records the Internal Order for each Sales Order LIne

Thanks,

BinhTC

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

VBAP-PAOBJNR will link to CE4OCAP_ACCT-PAOBJNR

This is profitability segment information for each sales order item.

Former Member
0 Kudos

I am not sure if you should go to Profit segment to enter internal order.

For my company, we are using below:

Item Details > Account Assignment > Order

This is found in field VBAP-AUFNR

When invoice is posted, profit segment will auto fill in order field.

Former Member
0 Kudos

Dear Alan Love,

I change the way to entry Internal Order that is same yours.

This issue has been solved.

Thanks for your support

BinhTC

Former Member
former_member204407
Active Contributor
0 Kudos

Hi

have u checked in COAS-AUFNR/REFNR

Regards,

Krishna.

Former Member
0 Kudos

Dear Krishma Kumar,

I don't see the Sales Order Number, Order Line on table COAS

Thanks,

BinhTC

bsivasankarreddy_reddy
Active Contributor
0 Kudos

hi

when go to profit segment field here sows all relevant data

this all relevant data , here order it means it is controlling order ( CO) , check the KO01, KO02,KO03, here you will create the internal order ,  this order can enter at sale order level ,

this inter orders feted at  AUFK   table , but sale order  profit segment details  feat not  a stranded table or structure  , its create at company depending table or structure , once at order field level click on F1 after click on technical details , here you find the table or structure name

first find this then you got idea

Former Member
0 Kudos

Hi Tran ,

You can get it from COBRA table. But it is not a direct one. Pass sales order no and line item along with prefix VB in the field "Object Number".

VBSSSSSSSSSSLLLLLL where SSSSSSSSSS - Sales Order Number and LLLLLL - Line item. you have to pass the complete 6 digit.

Fetch the Sort Field. it gives the Internal Order number. But it will have prefix OR.

Please check.

Regards

Vinu

Former Member
0 Kudos

Dear Vinu Nanjan,

I don't see Sales Order Number and Line item on table COBRA

Please help me solve this issue

Thanks,

BinhTC

former_member184701
Active Contributor
0 Kudos

dear,

click here :

and search your order using one of criterias - click on highlighted icon:

these screnshots are just the examples...

i would recommend you to contact a key user who will help you.

regards,

Former Member
0 Kudos

Dear Mr.PPIO and Experts,

Thanks for your support but this don't solve yet.

I think you are not clearly my issue.

Currently, I choose the Internal Order for each sales order line by the below path successfully.

Path: VA01 > Display Item Details > Account Assignment > Profit Segment > choose Internal Order.

P/s: I choose the Internal Order by click button Profit Segment.

However, I want to query the Internal Order that has been records for each sales order line but I don't know table that records.

Please help me check this issue

Thanks,

BinhTC

former_member184701
Active Contributor
0 Kudos

try to find out your internal order in the standard table AUFK

your order number is AUFK-AUFNR

or

in table VBAP (where vbeln is your order number and posnr is your item number) there is a field AUFNR which is your Order number

Former Member
0 Kudos

Dear Mr.PPIO,

Table AUFK record Internal Order separately that don't record Sales Order Number - vbeln  and Sales Order Line - posnr.

Table VBAP don't record the Internal Order that I entry by click Profit.Segment (button} --> choose Order (popup Assignment to a Profitability Segment)

Please help me check this issue

Thanks for your supports.

BinhtC

former_member184701
Active Contributor
0 Kudos

i still don't understand what are you trying to achieve ?

run VA03 for your sales order, go to the item and look at value in "Order" field (Acc. assignment tab).

is it still blank ? then VBAP-AUFNR is blank

if the "Order" field has a value then VBAP-AUFNR field is NOT blank.

Former Member
0 Kudos

Dear Mr PPIO,

I choose the Internal Order on Order field of Assignment to a Profitability Segment popup windows.

I don't shoose Order at tab Account Assignment of Sales Order Line

I want to know table that record Sales Order Number, Sales Order Line, Order that I choose on Order field of Assignment to a Profitability Segment popup windows.

Thanks,

BinhTC

former_member184701
Active Contributor
0 Kudos

dear,

it is a structure (your pop-up) and data was taken from different tables

regards,

Former Member
0 Kudos

Dear,

How to show me all tables of the structure

BinhTC

former_member184701
Active Contributor
0 Kudos

put cursor on a field (in your pop-up) and hit F1 button

then

hit Technical Information button

then

double click on Table Name

and enjoy