Sale order header document flow table
Dear Guru's
In which table the sales order heard document flow will be stored I checked in se16 VBFA table it is updating document flow Line item vise. But I want header vise.
hi,
I think , table VBFA will remain same , you need to select with POSNN = '10' , means keep always 10 if you want header details.
saravanan
Similar Messages
-
Header record in document flow table VBFA
Hello experts:
I would like to have header entries (item number as "000000") for every document in document flow table VBFA. How to get it done?
We have copy control from sales document to delivery document and from delivery to billing. All items are copied.
Would appreciate your help.
RajHi Ulrich:
Thanx for your reply.
To give you a little background. I am both a developer and SD consultant. In my previous assignments where I was only a developer, I used to query document flow with item no. as "000000" to limit the selection for performance reasons. If you notice, I did not have to hard-code item no.s as it is dynamic. So, it was a cool option. It is the case with VBKD table too.
Right now, I work in a highly performance conscious environment where I thought it would be useful to implement what I had experienced before. But I am stuck!! My previous experiences make me think it is possible and hence the question.
Thanks,
Raj -
Table Name for Sales Order Header Text.
Hi.
Whats the Table name for Sales Order Header Text???
Reg,
AmolHi Amol,
please Try to check the below link
http://scn.sap.com/thread/1361272
http://scn.sap.com/thread/416757
https://scn.sap.com/thread/1909247
https://scn.sap.com/thread/811915
Regards,
Gurunath -
Sales group not filled form sales order header in PGI accounting Document
Hi all,
we are creating a sales order . when sold to and ship to is entered the sales group at the header level is fetched from the customer master automatically.
Now after changing the sales group,different from customer master,the sales order got saved as usual with a warning mesaage 'sales group is diiferent from customer master'.
After doing PGI and billing , the sales group fetched in billing document is same as that of sales order header,but when good issue delievry document is displayed , in accounting document of the material document (ie. in FB03),the sales group in profit segment tab is getting filled from customer master.
Now the requirement is to fetch the sales group from sales order header instead of customer master.hi
check your copy control settings and change if required -
Which table stores the Sales Order--Header--Texts--EDI Text?
Hi Experts,
I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
So, I am looking which table stores, this text for my_sales_oders_12345678.
[ actually, i got some info from sdn, like,
Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
Now all the text types i.e. text ids are stored in table TTXID
So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
but, no use this ]
thanq
Edited by: Srinivas on Jul 10, 2008 11:06 PMHi Srinivas,
Generally to access the text we use READ_TEXT function Module.
we need to pass the four parameters
ID
LANGUAGE
NAME
OBJECT
You can find these parameters in the sales order it self.
Goto ---> Header ---> Texts
Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
Text Name
Language
Text ID
Text Object
You need to pass these parameters to the function Module to text the text.
You can also fins the text in Table STXH
Best regards,
raam -
Materials Management Document flow table
hi all,
can any body tell me the Materials Management Document flow table .
thnaksHi,
T001L Storage locations
T024E Purchasing organization
T3001 Warehouse number
TVST Shipping point
TVLA Loading point
TTDS Transportation
ADRC Addresses (Business Address Services)
Material master :
MARA Material master
MAKT Material text
MARC Material per plant / stock
MVKE Material master, sales data
MARD Storage location / stock
MSKA Sales order stock
MSPR Project stock
MARM Units of measure
MEAN International article number
PGMI Planning material
PROP Forecast parameters
MAPR Link MARC <=> PROP
MBEW Material valuation
MVER Material consumption
MLGN Material / Warehouse number
MLGT Material / Storage type
MPRP Forecast profiles
MDTB MRP table
MDKP Header data for MRP document
MLAN Tax data material master
MTQSS Material master view: QM
Vendor
LFA1 Vendor master
LFB1 Vendor per company code
LFB5 Vendor dunning data
LFM1 Purchasing organisation data
LFM2 Purchasing data
LFBK Bank details
Purchasing
EKKO Purchase document
EKPO Purchase document (item level)
EKPV Shipping-Specific Data on Stock Tfr. for Purch. Doc. Item
EKET Delivery schedule
VETVG Delivery Due Index for Stock Transfer
EKES Order Acceptance/Fulfillment Confirmations
EKKN Account assignment in purchasing
EKAN Vendor address purchasing
EKPA Partner functions
EIPO Item export / import data
EINA Purchase info record (main data)
EINE Purchase info record (organisational data)
EORD Source list
EBAN Purchase requisition
EBKN Purchase Requisition Account Assignment
Inventory Management
MKPF Header: Material Document
MSEG Document Segment: Material
EKBE History per Purchasing Document
Invoice Verification
RBKP Document Header: Invoice Receipt
RSEG Document Item: Incoming Invoice
BSIK Accounting: Secondary Index for Vendors
BSIS Accounting: Secondary Index for G/L Accounts
Services
ESSR Service Entry Sheet Header Data
ESLL Lines of Service Package
Regards,
Vengat -
How to update TEXT in Sales order header
Hello ,
I have requirement in which I am creating SO via IDOC calling BAPI_SALESORDER_CREATEFROMDAT2.
Question: Can any one help me in finding a solution to update the TEXT in sales order header which is confogured IN TEXT CONTROL in SD.
I have tried various option using CREATE_TEXT but it is only updating STXH table , the text is not coming in the sales order.
If someone knows about this , <removed by moderator>.
Edited by: Thomas Zloch on Nov 15, 2010 4:20 PM - please do assign priorities > normalSounds like a text determination config issue - have you assigned the text in VOTXN? Have you run the text determination analysis from VA02 in the document?
-
Update Sale Order Header Text through Enhancement
Hi Experts,
I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
Here in I tried using edit_text, it updates sale order header text directly in DB during run time even before the save action is completed.
But I need to just fill the header text and that has to be saved during the save action only.
I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
Is there any user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
Thanks in advance
SathishHi Brad Bohn,
My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
Kindly Let me Know any thing could be done for this scenario.
Thanks in advance
Sathish -
Sales tab in Sales order header
Hello Gurus
When i create a sales order and delivery number for my warehouse. the the 'Delivery status' field of Sales tab in the sales order header data is automatically getting updated 'Fully delivered' .If i create a sales order with out saving the entry and if i go to 'Delivery status' field to check for the delivery status it says 'Not delivered'
Can you please let me know how this field is getting updated .Is there a config where i can control this .
ThanksHi,
Once you create a delivery for the respective line item for same qty the delivery status will be change to fully delivered.
But when you create a sales order in VA01 and before saving you see the status its " Not delivered" because the line item deliver has not been donr ( delivery document not created). Its an standard SAP behavior.
Also check the copy control in VTFA in update document flow field at item category level
Hope this will help you to resolve your query!!
Regards,
Krishna O
Edited by: Krishna O on May 28, 2010 7:16 AM -
What's the name of FM for getting Sales Order Header / Item Status info
Hello All:
Do you know what's the name of Function Module for getting Sales Order Header / Item Status Overview ? Any sample code will be very much appreciated.
Basically, I am trying to create a Webpage where user can enter the Sales Order document number and will return the Sales Order: Status Overview.
Thanks,
Dipankar BiswasThanks everybody ! Appreciate for your prompt response. I was also looking for some sample code, and I did find some on. And here is one. I still have to try the code, but here is for all your reference:
*& Report ZBAPI_SALESORDER_GETSTATUS *
*& Read and Display the Sales Order Items and Status of the Order *
REPORT zbapi_salesorder_getstatus NO STANDARD PAGE HEADING LINE-SIZE 200 LINE-COUNT 33(3).
TABLES: vbap. "Sales Document Item Data.
DATA: wa_bapireturn TYPE bapireturn,
wa_bapisdstat TYPE bapisdstat,
it_bapisdstat LIKE STANDARD TABLE OF wa_bapisdstat.
TYPES: BEGIN OF ty_mat_name,
matnr TYPE makt-matnr,
maktx TYPE makt-maktx,
END OF ty_mat_name.
DATA: wa_mat_name TYPE ty_mat_name,
it_mat_name LIKE TABLE OF wa_mat_name WITH KEY matnr .
PARAMETERS: p_vbeln LIKE vbap-vbeln DEFAULT 5573.
START-OF-SELECTION.
SELECT matnr maktx FROM makt INTO TABLE it_mat_name.
CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
EXPORTING
salesdocument = p_vbeln
IMPORTING
return = wa_bapireturn
TABLES
statusinfo = it_bapisdstat.
IF wa_bapireturn IS INITIAL. " Successful Execution.
WRITE: / 'Document No: ' COLOR 1, 20 'PO Number : ', 40 'Status' , 50 'Delv.Stat',60 'Item No', 80 'Material', 90 'Material Description', 130 'Net Price' COLOR 2.
ULINE.
LOOP AT it_bapisdstat INTO wa_bapisdstat.
WRITE: / wa_bapisdstat-doc_number. " Sales Document Number.
READ TABLE it_mat_name INTO wa_mat_name WITH KEY matnr = wa_bapisdstat-material.
WRITE: /20 wa_bapisdstat-purch_no, " Customer Purchase Order Number
40 wa_bapisdstat-prc_stat_h, " Processing Status
50 wa_bapisdstat-dlv_stat_h, " Delivery Status
60 wa_bapisdstat-itm_number, " Item Number
80 wa_bapisdstat-material, " Material
90 wa_mat_name-maktx, " Material Description
130(10) wa_bapisdstat-net_price. " Net Price
CLEAR wa_bapisdstat.
ENDLOOP.
REFRESH it_bapisdstat[].
ELSE.
WRITE: wa_bapireturn-message.
ENDIF. -
Creating multiple partner function for a sale order @ header level
Hi All,
I have a requirement where in i have to create more than one partner funtion for a sale order @ header level. But the system did not allow this sort of scenario and i got the error,
Partner function ZZ can only occur 1 times in procedure TA (Sales Document Header)
the function module that was giving this error was SD_PCHECK_PARVW_COUNT_OK
here the function module checks if a partner function already exists if so it throws that error. This also updates the VBPA table where partner function is one of the key fields.
Our issue is that we have to allow the system to enable posting 2 or more partner function for the same sale order. It was also verified that the unique key was unchecked during configuration.
is there any other way of over coming this issue as we are updating the standard table. Is it possible??
Thanks a lot in advance for your reply....I believe this is a configuration setting, based upon the details of your post. Typically, a sales order can have multiple partner functions, but usually the partner type is not duplicated at a single level (header or one item). For example, it would not be logical to have multiple ship-to partners at the header level...these would be unique at the item level, if required.
Speak to your SD functional specialist about the configuration controls for partners, if you must have more than one partner with parvw = ZZ, for the entire order (header level).
Edited by: DaveL on Aug 23, 2011 3:00 PM -
Hi all,
My requirement is that I have to write a BDC on sales order.
but when i go to condition tab in sales order header then OK CODE comes different for different order types
can we determine somehow that what will be the correct position of condition tab.
regards,
kushagraHi,
Try to Avoid BDC for Sales Order Creation.
Use BAPI ==> BAPI_SALESORDER_CREATEFROMDAT2
DATA BEGIN OF it_hdr.
INCLUDE STRUCTURE bapisdhd1.
DATA END OF it_hdr.
DATA BEGIN OF it_hdrx .
INCLUDE STRUCTURE bapisdhd1x.
DATA END OF it_hdrx.
DATA BEGIN OF it_itm OCCURS 0.
INCLUDE STRUCTURE bapisditm.
DATA END OF it_itm.
DATA BEGIN OF it_itmx OCCURS 0.
INCLUDE STRUCTURE bapisditmx.
DATA END OF it_itmx.
DATA BEGIN OF it_shitm OCCURS 0.
INCLUDE STRUCTURE bapischdl.
DATA END OF it_shitm.
DATA BEGIN OF it_shitmx OCCURS 0.
INCLUDE STRUCTURE bapischdlx.
DATA END OF it_shitmx.
DATA BEGIN OF it_par OCCURS 0.
INCLUDE STRUCTURE bapiparnr.
DATA END OF it_par.
DATA BEGIN OF it_ret OCCURS 0.
INCLUDE STRUCTURE bapiret2.
DATA END OF it_ret.
DATA wrk_num LIKE bapivbeln-vbeln.
it_hdr-doc_type = 'ZDCI'.
it_hdr-sales_org = '1000'.
it_hdr-distr_chan = '10'.
it_hdr-division = '10'.
it_hdr-sales_off = '1902'.
it_hdrx-updateflag = 'I'. "I:Create a new sales document
it_hdrx-doc_type = 'X'.
it_hdrx-sales_org = 'X'.
it_hdrx-distr_chan = 'X'.
it_hdrx-division = 'X'.
it_itm-itm_number = '10'.
it_itm-material = 'INOVA'.
it_itm-target_qty = '1'.
it_itmx-updateflag = 'I'.
it_itmx-itm_number = '10'.
it_itmx-material = 'X'.
it_itmx-target_qty = 'X'.
APPEND it_itm.
APPEND it_itmx.
it_shitm-itm_number = '10'.
it_shitm-req_qty = '1'.
it_shitmx-updateflag = 'I'.
it_shitmx-itm_number = '10'.
it_shitmx-req_qty = 'X'.
APPEND it_shitm.
APPEND it_shitmx.
it_par-partn_role = 'AG'.
it_par-partn_numb = '0002001913'.
APPEND it_par.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = it_hdr
order_header_inx = it_hdrx
IMPORTING
salesdocument = wrk_num
TABLES
return = it_ret
order_items_in = it_itm
order_items_inx = it_itmx
order_partners = it_par
order_schedules_in = it_shitm
order_schedules_inx = it_shitmx
ORDER_CONDITIONS_IN =
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT it_ret.
WRITE :/ it_ret-message.
WRITE wrk_num.
ENDLOOP.
Regards,
Durai.V -
Dear Gm,
I want see sales order header status for "n" number (Mass) of sales order,From the Sales order header status i want the details abt ("Incomplete header data"/Partially rejected),Please guide me how to get the same,
now i am taking From VA03 ,But it consume more time
Regards
Arun kumar Kincomplete doc - header data
Use Table VBUV - Sales Document: Incompletion Log
Where, Table-Field VBUV-TBNAM maintain Tables as VBAK
Partially rejected
Header level
VBUK-ABSTK as B - Partially processed
Item Level
VBUP-ABSTA as B - Partially processed
Regards
JP -
Function Module to update the sales order header status
Hi,
I am looking for a function module to update the Sales order header status.
Pls. let me know if anybody has used any FM to update the SO status.
Thanks,By mentioning status do you mean Object status or Document status??
For Object status you may use FM: STATUS_MAINTAIN
For document status it changes according to flow.
Regards
Eswar -
Open Sales order, Delivery docuement, Billing document, Item
Hi Gurus,
Kindly help to view the following items for a particular customer.
1) Open sales order value
2) Open Delivery docuement value
3) Open Billing document value
4) Open item.
I presume for viewing open sales order VA05N and to view Open item FBL5N would suffice. Please correct me if i am wrong and let me know about points 2 and 3.
This is required because, my client is facing some figure mismatch while executing F.35 tcode. I am trying to analyze the differnce of figures while doing a Static and dynamic credit check.
Thanking you in advance
ficoguy.Dear ficoguy,
1) Open sales order value
Tcode: VA05 (select OPEN SALES ORDERS)
optional method: SE11/ TABLE VBAK/ INPUT customer code as KUNNR, fetch the list.
Input the VBELN in VBUK and filter with RFSTK='A'
2) Open Delivery document value
Tcode: VF04 (OUTPUT DATA FOR BATCH PROCESSING-->CHECK LIST DISPLAY)
DOCUMENT TO BE SELECTED = DELIVERY RELATED
optional method:(same as above except the FIRST TABLE)
SE11/ TABLE LIKP/ INPUT customer code as KUNNR, fetch the list.
Input the VBELN in VBUK and filter with RFSTK='A'
3) Open Billing document value
TCode: VF05
Selection criteria : OPEN BILLING DOCUMENTS
4) Open item.
Tcode : FBL5N
Check and revert back.
Thanks & Regards,
Hegal K Charles
Maybe you are looking for
-
After iOS 8 upgrade keyboard shortcuts gone, just reboot
FYI, apparently this also happened with the ios7 upgrade. Per the related ios7 thread, after a manual reboot of the phone, the shortcuts reappeared. The reboot solved my problem as my keyboard shortcut settings reappeared after reboot.
-
BI Publisher bursting report Output stores in which table
Hi gurus, I need to develop a functionality where in need to cut report output into multiple pieces based on the customer/invoice. Like if i generate Pdf output of XML publisher report, then I need to cut again this report as per invoice number relat
-
Why can't I place a pdf signature file in a pdf?
I have the most current Reader installed. When I try to place a signature as I have done before Adobe asks for a digital file, password, and does not recognize the signature pdf I have on file.
-
Running 2 DB servlets under apache!
When I install 1 DB servlet it works fine, but when I add a second DB servlet in the same zone (or a different one) I'm only able to start one of them, the first one which get's loaded run's (so when I start servlet 1 first then it runs, but I'm unab
-
Snow Leopard 10.6.4 freezes
For some unknown reason Snow Leopard 10.6.4 freezes randomly. It does not happen too often, but when it does the only way out seems to be to shut down the computer and start it up again. The only thing it shows is a spinning wheel (not the BBOD) in t