How to get initial entries of sales orders to go into CDHDR/CDPOS

When a sales order is first created and saved, we do not get an entry in CDHDR and/or CDPOS for it.
People have suggested looking at ERDAT and ERZET, but I have found that those entries may be false - especially if a person doesn't press save for a while.
A followup question to this is that when I use SE16N to look at field CHNGIND in table CDPOS, one of the possible values is J.  It appears to work just like E does for deletes, but I cannot find a way to turn it on.  I have been successful in using SCDO to turn on values for deletes which I needed ( thus turning the D's into E's ).  A "J" appears to be an insert with the value of the field.
Is there some transaction in the system which will force the system to log the initial creation and thus assign it a change number ?  I have a workaround of using a user exit to create an entry in a table, but I hate to have to do that if I don't have to.  And what do I use to get the system to log the individual values on inserts ?  It would help immensely if we had the values on the fields when they are inserted as a lot of logic is going towards determining those values.

To anyone who reads this thread.
We ended up adding code to userexit_save_document in MV45AFZZ to create records in a custom table with a field that indicates that the entry needs to be processed.  It got us around the date issue in the fact that the query looks for unprocessed entries and thus avoids the whole buffering thing.  The only fields we had in the table were VBELN, POSNR, and a single character processing flag ( initial if not processed, 'X' if processed ).
There definitely is some kind of buffering going on so that our date/time went by and got missed.
I never did find any answers to my last two questions - if I ever do I will post it here.  If anyone else finds out the answers, please post and I will award credit.

Similar Messages

  • How to get Changed fields in Sales order to create a report

    Dear Gurus,
    How to get the log from sales order for the change of particular field.
    In my scenario, If an user remove the delivery block from sales order I want to capture the date on which this delivery block
    is removed and by whom (User)?
    I know that I can get the log of change but can I get in the form of field updates because further I want to use that date and user name to create a report.
    I hope u got my query. Please reply soon that I can create a report.
    Thanks in advance.
    regards,
    Sanjay

    Hi
    You can use the table CDPOS for tracking the changes at the Table level with the Sales order number
    or Else you can also use AUT10 transaction to track the logs/chanages with START DATE, END DATE and the Transaction code in your case it is VA02
    Please check and revert back
    regards,
    santosh

  • How to get xveda values in sales Order userexit MV45AFZZ

    Hi guys,
    Tables XVEDA and YVEDA has no entries in sales order userexit. Do you know how to get contract end dates of line items in sales order user exit

    Used function module SD_VEDA_SELECT to solve the issue

  • How to get PERSON_RESP value? (Sales Order)

    Hello experts,
    I am extremely new to ABAP programming. I am learning BOL programming, creating BAdI's and all that stuff and to be honest I don't really get it.
    First of all I would appreciate directions where I may find valuable information. How to determine which table do I need, what method is designed to do what thing.
    Right now I am struggling with creating a BAdI (actually modifying the order_save one). I want to put into DESCRIPTION field the following values: CREATED_AT, CREATED_BY, current date (date-sylo) and PERSON_RESP. I wrote or actually copied from the Internet most of working code. Now my BAdI works almost what I wanted it to work except it doesn't put into description PERSON_RESP value, because I don't know where to find it. There is no PERSON_RESP value inside crmt_orderadm_h_wrk table.
    I will be very grateful for any clues and advices.
    Looking forward hearing from you.
    Thank you in advance

    hi
    Once deleted it is not possible to know the details of sales order.
    for deleted sales orders and who deleted check table <b>"cdhdr" and "cdpos".</b>
    goto se16 and try with the above tables
    chages header and item respectively
    regards

  • How to get rid this Warning=Sales order (SOBKZ = ) is not provided for this

    Dear Concerns
    In MB1C, Mov Type=521E, and the batch no=A.
    After entering all the required entries the systen gives me the warning and the system  save the transaction after pushing the enter button five to six times.
    Sales order (SOBKZ = ) is not provided for this goods movement.
    I want to get rid of this warning .
    So that the system could save the transaction in one click.
    Regards:Vijay

    Hi
    Can u please tell me the solution of that issue as in my case the item has to be received
    and reserved against the sales order.
    can i make my sales order item cate mark with the special stock indicator and
    does it help to solve my problem
    Yes this will only solve the problem. You need to mark your sales order item cate with special stock indicator E
    Then PGI will be smooth otherwise you can expect problem
    This reply is for the other friend
    In-IMGMaterials ManagementInventory Management and Physical Inventory---Define Attributes of System MessagesSettings for System Messages----
    Here in the new entries add message M7---374 with version as 00 and make that as error message and save it
    Regards
    Raja

  • How to get data from ECC --- Sales Order,Delivery,Transfer Order & Invoice

    Hi,
    Good day.
    I'm ABAPer and I need to get Sales Order,Delivery,Transfer Order & Invoice data from ECC.  The said data will be displayed in the custom form that I need to create.  How exactly do i get the said data above? 
    Can I get them in the tables avaialable in GTS? Where?
    Or do I get the data directly in ECC? How?
    Thank you very much!
    Best regards.
    Brando

    First of all push ECC data in to GTS server through T.code:/N/SAPSLL/MENU_LEGALR3. First click on Master data tab there enter customer/vendor number then execute.
    2-Go to document tab there enter Sales order no/PO number then execute it.
    Then go to GTS server in compliance management module you can get all the information.
    Regards
    Sitanshu Panigrahi

  • How to get tabs in the sales order in desired manner

    hi,
      While creating sales order i want the procurement tab to come 1st.
      I found something called   ( FCode for overv.scr. UER2) in VOV8 but i dont know where to configure.
      or do i need to go for some screen exit.
      or can i use SHD0 and how for this scenrio.
    please give your valuable suggestions.
    Regards
    Anil

    As per my best knowledge ther's no such setting. Copy control works only when you are creating the delivery from the SO.
    So, I think you have two options - basically:
    - modify the already created delivery manually
    - delete the delivery and create a new one form the updated SO

  • To Get the list of sales orders for a Business partner in CRM.

    Hi all
    Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
    Can anybody tell me if there is an inbuilt function module or BAPI available?
    If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.

    Hi Jessica,
    Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
    You'll get a table with the documents associated to that partner, where you can work on.
    Kind regards.

  • How to restrict saving of a sales order without a material.

    Hi Gurus
    Please advice How to restrict saving of a sales order without a material. That is the system saves the order even if no item is assigned to it.

    Hi Raghu,
                 In standard SAP we can not do that. Even for some requirements of the customer this feature is required, specially in case of milestone billings, custom materials etc. client after saving the empty sales order they may create materials based on that sales order number.
                 If it is mandatary for u to save sales order only after the entry of the materials, u can try user exits or go for a code with the help of an ABAPer.
    Regards,
    Ravi Duggirala
    Edited by: ravi duggirala on Jun 20, 2008 11:11 AM

  • Aseembly order entry in sales order--item schedule line--Procurement tab

    Hi all,
    i created a Sales order which includes BOM explosion under which i am trying to seek Assembly order no under Item -- schedule lines-- procurement tab.
    currently i am not getting any such data in the particular screen at all.
    can anyone suggest if any IMG activity is missing which needs to be configured for geeting the same(assembly order entry inside sales order screen.)
    antipitaing replies.
    -ujjwal

    Hi
    Just try once as below.
    Do not create it as a BOM material first of all.
    For the Main-item, change the Item category group in the Material master to "0001" and save.
    Ensure the Item category assignment in VOV4 as
    Order type + Item category group (e,g. 0001) -
    > Item category (TAK).
    Now, create the new order for the Main-item, manually add the sub-items in the sales order, specify the "Hgh level item number" (item number of the main item) > click enter > save.
    Now, in VA02, check schedule line > Procurement tab.

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • How to update  pricing in open sale order

    Hi all
    in open sale order suppose my basic price has been changed .how Can i update all open sales order basic price in one shot.

    Dear Sachin,
    Please follow the point as given below;
    1. In VTFL for your item category maintain pricing type as B if it is delivery related billing and if it is order related billing VTFA maintain pricing type as B and one more thing maintained Billing Quantity as C if you using VTFA and Billing Quantity as D if you using VTFL.
    2. Create the new condition records in VK11 for your new price ( Do not change the existing  condition record in VK12) with proper validity dates
    3. Use update button in billing the system will pick the new record by accessing VK11 in billing.
    Try this, it will work.
    Regards,
    Bharat B

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • Initial load of sales orders from R3 to CRM without statuses

    1) Some sales orders were uploaded into CRM without statuses in the headers or line items. 
    2) Some sales orders were uploaded without status, ship-to, sold-to, payer.....If I deleted them and use R3AR2, R3AR4 to upload each individual then no problem.
    Any ideas or suggestions?
    Thanks.

    Hi,
       Request load of adapter objects uses different extractor modules for extracting the data from external system to CRM. While your initial load of sales docs. will use a different extraction logic bases on the filter conditions specfied on trx.
    R3AC1
       There may be a problem in the extraction of data from the source system (don't know if you are using a R/3). Can you please de-register the R/3 (i suppose) outbound queue using trx.
    SMQS
    , and then debug the extraction (R/3 outbound) before the data is sent to CRM using FM
    CRS_SEND_TO_SERVER
       If this goes well, you may try debugging the mapper in CRM inbound and the validation module in CRM as a last resort. Also, please refer to trx.
    SMW01
    to see if the Bdocs are fully processed.
    Hope this helps...Reward if helpful.
    Regards,
    Sudipta.

Maybe you are looking for