EXIT_SAPLVEDA_001 for transferring Sales order data

Hello, i have enhanced tables VBAK and VBAP for containing Z* fields. The field and the value will be transferred in the idoc  ORDERS05 segment E1EDK35.
at header level:
E1EDK35-CUSADD will contain the name of the field(e.g ZFIELD)
E1EDK35-CUSADD_BEZ will contain the value of the fields (e.g 500)..
at item level
E1EDP01 -> E1EDP35-CUSADD will contain the name of the field(e.g ZFIELD)
                    E1EDP35-CUSADD_BEZ will contain the value of the fields (e.g 100).
I have to use the EXIT_SAPLVEDA_001 for transferring the values of the new fields.
Which logic should i apply so that the data gets transferred to VBAK/VBAP.
So far for header data:
IF SEGMENT-SEGNAM = 'E1EDK35'.
  S_VBAK =  SEGMENT-SDATA.
IF S_VBAK-CUSADD = 'ZFIELD1'.
   DXVBAK-ZFIELD1 = S_VBAK-CUSADD_BEZ.
ENDIF.

Hello, i have enhanced tables VBAK and VBAP for containing Z* fields. The field and the value will be transferred in the idoc  ORDERS05 segment E1EDK35.
at header level:
E1EDK35-CUSADD will contain the name of the field(e.g ZFIELD)
E1EDK35-CUSADD_BEZ will contain the value of the fields (e.g 500)..
at item level
E1EDP01 -> E1EDP35-CUSADD will contain the name of the field(e.g ZFIELD)
                    E1EDP35-CUSADD_BEZ will contain the value of the fields (e.g 100).
I have to use the EXIT_SAPLVEDA_001 for transferring the values of the new fields.
Which logic should i apply so that the data gets transferred to VBAK/VBAP.
So far for header data:
IF SEGMENT-SEGNAM = 'E1EDK35'.
  S_VBAK =  SEGMENT-SDATA.
IF S_VBAK-CUSADD = 'ZFIELD1'.
   DXVBAK-ZFIELD1 = S_VBAK-CUSADD_BEZ.
ENDIF.

Similar Messages

  • Exit for Moving sales order data to Purchase order

    Hi All,
    I have a requirement where sales order data needs to transferred to Purchase Order.
    We have few custom fields in EKKO table YY SHIP_DATE, YYMOL etc....When a sales order 3rd party is created a PR is automatically created.Based on this PR(Purchase Requistion) we are creating a PO(Purchase Order) and the custom fields needs to be populated from the sales order.
    I have checked the Exit V45E0001 Update the purchase order from the sales order.Its of no use for us as all our fields are custom fields..Please help..
    Thanks.

    Hi,
    >>>,if an error occurs while creating purchase order in ecc6.0
    one very easy and all standard
    set up workflow in receiver ECC and put a user group in WE20 for this logical system that receiver the sales orders
    then in standard when there is an error with IDOC in the inbound
    a mail will be send to the user group (and you can put as many users in this group as you wish) and they will all receive this error
    this would be the easiest idea and all in standard
    Regards,
    Michal Krawczyk

  • Tables for archived sales order data

    Hi,
    ABAP Gurus would like to know in which tables will I be able to see data of archived sales orders (it is not VBAK)
    Any help would be greatly appreciated.
    Thanks in advance.
    Mick

    Hi,
    If I am understanding correctly, your system has data archiving implemented.
    If that's the case then there is no table which will store archived sales order.
    For that you need to go to T.Code SARA.
    Choose object name SD_VBAK.
    Click on READ.
    This will show a screen giving a name of program and option to execute in background or foreground.
    This is how you can retrieve the info about archived Sales Order.
    Hope this helps
    Regards
    Nishant
    Message was edited by:
            Nishant Rustagi

  • Report for viewing Sales order no against delivery date & actual GI date

    Hi Experts,
    Is there any report for viewing Sales order no against delivery date & *actual GI date*
    Because in VL06F , i can only able to get planned GI.
    Please guide regarding the same where i can get 'ACTUAL GI DATE ' against above combination .
    Regards,
    Sujit S.

    dear Hrishi,
    i followed your suggestion, but couldn't get desired results,
    here i can get planned GI date, where i wanted to get Actual GI date for complted deliveries,
    thanks for your valuable reply.
    @ G. Lakshmipathi ;-
    i think i will need to develop z-report for fetching the data from the tables
    VBAK (to get sale order reference) and
    LIKP (to get delivery and actual GI date)
    thanks for your reply,
    Regards,
    Sujit

  • For a Sales order, what is Actual Delivery Date to Customer?

    Hi Experts,
    I am an ABAP consultant. In a particular report, for a Sales order I am asked to display:
    ‘Delivery Create Date (LIKP-ERDAT)’,
    ‘PGI Date’,
    ‘Requested Delivery Date (VBAK-VDATU)’ and
    ‘Actual Delivery Date to Customer’.
    And in addition, I also have to show:
    ‘No: of days between Order Create Date to Delivery Create Date’,
    ‘No: of days between Delivery Create Date to PGI Date’,
    ‘No: of days between Requested Delivery Date to Actual Ship Date’ and
    ‘No: of days between Order Create Date to Actual Ship Date’.
    I’ve searched SCN for similar questions but I couldn’t get clarity. I’ll be very grateful if somebody can explain me how to find the ‘Actual delivery date to customer’ and what is the difference between this date and ‘Billing date’. Also, please explain, the difference between ‘Delivery Create Date’ & ‘PGI’?

    Hi Rashmith,
    It seems the report is related to delivery. Below is the explanation for the different terms you mentioned in your question.
    Delivery Create Date (LIKP-ERDAT)---- when a delivery is created with or without reference of an order system writes the date of creation time of creation and created by in the header data. Creation of delivery does not means that goods are dispatched. There are many steps further after a delivery is created before goods are dispatched.  For example I have created an order, created delivery on 01.01.2014; delivery date will always be 01.01.2014.
    PGI Date (LIKP-WADAT_IST)------ Post goods issue date is the date on which goods move out of the company to carrier. This is the last step of delivery. When delivery is created system derives different dates of planning; at this stage it will determine the planned PGI date (LIKP-WADAT) and when actual PGI  happens system writes the date in LIKP-WADAT_IST which is actual goods issue date.
    Requested delivery date (VBAK-VDATU)------When order is created for a  customer he asks for a material, a quantity and a date on which he wants the goods. This date on which customer wants the goods is called requested delivery date. Based on the requested delivery date system will check feasibility of delivering the goods on the requested delivery date based on the delivery scheduling.
    You can get the RDD based on the below logic.
    Input the delivery number in VBFA-VBELN and VBFA-VBTYP_V and get VBFA-VBELV.
    Input VBFA-VBELV in VBAK table and get the value of VDATU.
    Actual Delivery Date to Customer-----Actual delivery date is Actual post goods issue date (LIKP-WADAT_IST). This is the date on which goods are issued to the customer and customer is liable for billing for the goods dispatched.
    Difference between the Actual delivery date (Actual goods issue date) and billing date.
    Normally as per standard SAP, once goods are moved out of the company customer is liable to be for billing for the goods dispatched. So by default in standard SAP system copies the actual goods issue date (LIKP-WADAT_IST) as billing date (VBRK-FKDAT) irrespective of the date of creation of the invoice (If delivery is goods issued on 01.01.2014 and billing document/invoice is created today i.e. 14.04.2014, system by default will take 01.01.2014 as billing date). And this is the correct practice.
    However  if you want the current date as the invoice creation date instead of the actual goods issue date we can control it by copy controls feature given in SAP.
    So based on the copy controls setting, it may be different from the actual goods issue date/ actual delivery date.

  • BAPI for Create PO from Sales Order Data and POST GR from PO created

    Dear,
             Can u help me how to create BAPI for Purchase Order creation from sales order Data
              what the bapi to Post GR from the PO created.
    Regards,
    Manoj

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • Data Validation for SD Sales order and Deliveries

    Hello All,
    We activated the data flow for SD sales Order and Deliveries for Infocubes 0sd_co4 and 0sd_c05 and there correspoding datasources.
    I have 2 queries
    1. How to validate data for BI SD sales order with ECC.
    2. How to validate data for BI SD Deliveries data with ECC.
    Kindly help, <removed by moderator>.
    Thanks,
    Rakesh.
    Edited by: Siegfried Szameitat on Jun 21, 2011 12:51 PM

    Hi Rakesh,
    You have to check the tables in R3 and then compare with the Datasources in BW.
    For Examples
    VBAK table in R3 for Sales Order on BW-2LIS_11_VAITM
    VBRK table in R3 for Billing iin BW-2LS_13*
    Check for that day how many sales order were there in VBAK table and there in BW.
    Rgds
    SVU123
    Edited by: svu123 on Jun 21, 2011 8:19 PM

  • Extracting material classification data for given sales order

    Hi Experts,
    Requirement is I Need to display a report with material and its characteristics values for given sales order. Please let me know if there is any FM/standard tables involved to display the below fields.
    Sales order number, Sales order line item number , Material number , Characteristic Name(ATNAM),Characteristic description(ATBEZ),Characteristic Value(ATWRT),Characteristic value description(ATWTB).
    Thanks & Regards,
    Pavee.
    Moderator message: "spec dumping", please work yourself first on your requirement.
    Edited by: Thomas Zloch on Oct 14, 2011 1:30 PM

    Hi Keshav,
    Thanks for spending your precious time in replying to my thread.
    I did a search before posting, I got an FM which is we cannot use due to performance issue.
    Thanks for letting me know that sales order  has material and material has characteristics,
    But For each characteristics that material has we will have several values, you will be selecting whichever is appropriate based on the requirement.
    If you know the answer pleases post. I have enough patience to wait for answers from other experts.
    Thanks
    Pavee.

  • Transaction code for Open sales order other than VA05

    Hi all,
    Can any one tell me what is transaction code for open sales order other than VA05.
    Please help me .
    Thanks & Regards ,
    Srikanth P.

    Hi Srikanth,
    You can try below options.
    1- VA05N - This can be run for multiple sold to party & multiple material, etc which was not in VA05. But this doesn't have all columns in VA05 report.
    2 - You can check the sales order tables from transaction SE11 or SE16N
    Try with below tables for your requirement.
    Sales order Header data - VBAK
    Sales order Item data - VBAP
    Schedule Line Data - VBEP
    Business data - VBKD
    Status header - VBUK
    Status items - VBUP
    Best regards,
    Anupa

  • Table for Open Sales Order Quantity

    Hi
    After creation of  partial deliveries for a Sales Order , in which table open Sales Order quantities will be stored?
    We are using in  Material Master   Avilablity check as 'KP- No check'.
    in VBBE & VBBS table no data is there
    where it will store can any plz guide me
    Prasad

    Hi prasad
    1st of all as you are using KP no check availability check doesn't happen.
    Check  , VBEP table which is sales doc schedule lines and  ,VBEH  table is for schedule line history.
    check in VBFA table sales doc flow
    Hope these table will help you
    Regards
    Srianth

  • Open Sales order data

    Hi,
       Can any one please help on identifying the table used for retrieving Open sales order data for a particular period, My requirement is to take the Volume of open sales order for Data migration volume assessment
      Please help on this
    Thanks
    Rajesh.R

    hello, friend.
    a standard transaction is VA05 or VA05n to check on open orders. 
    if you need to check the database tables, you can check sales order status/header thru table VBUK.  for item level, use VBUP.  you will find fields such as reference status, delivery status, etc.
    regards.
    jy

  • How to create a single delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incoterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Prerequisite for Grouped delivery
    1. Header data should be same like Inco terms,Payment terms
    Go to VL10A
    Enter the sales order Numbers and execute
    Select the sales order Nos  for the group delivery and select "Background"  Tab in Tool Menu Bar
    If delivery is created coloured line items will get generated
    Check the log for delivery docuements
    Check and confirm
    Senthils

  • Credit Block for released sales order

    Dear All,
    I have got one issue. There is a sales order which was created earlier say 15 days back. It went into the credit block at the time of saving it. It was released through VKM3 too.
    Now when i change any field in the sales order today, it is going into the credit block. We are not changing any value of any of the item. Just maintaining the Billing block in it or remobving the Billing block.
    The number of days maintained in the OVA8 are 182. So as per the standard functionality it should not go into the credit block for any change in the sales order like changing the billling date or changing the billing block.
    Can you please let me know what might be the reason for this sales order to go into the credit block..??? Any help is very much appreciated.
    Thanks and regards,
    Vishi.

    Dear Vishi
    Please check if you have checked the critical fields option.
    Credit check against critical fields (fixed value dates)
    The indicator controls the critical field check. If the field is selected, the system checks whether critical fields have been changed.
    Use
    If a check is carried out, the following fields are relevant:
    Payment terms
    Additional value days
    Fixed value date
    Note
    Use this type of check for sales documents only.

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

  • View requirements for delivered sales orders in MD4C.

    MD4C shows requirements for open sales orders and other related data but if a delivery has been created for the order which covers complete sales order item quantity it is excluded in the report.
    I want to view such requirements too. Is there a possibility of the same and how?
    Or any other transaction where this can be seen?
    Regards,
    Sonal Murbade

    Hi,
    When a delivery is completed (e.g. bu PGI). the requirement is not needed any more and it's deleterd in table VBBE or VBBS, so, you can not see it in requirement list any more.
    You sill can see the order in table VBAP(sales order) or table LIPS (delivery).
    BR

Maybe you are looking for

  • Java CAPS (JCAPS 5.1.3) & AS/ 400 with OS/400 V4R4

    Hi, I wish to connect the data base (DB2) of a AS/400 with OS/400 4.4.0 through Java CAPS 5.1.3. How to do this (if it's possible)? I downloaded (to prove) the DB2 Connect (Trial) and I installed it: DB2 Connect for iSeries Extends iSeries data acros

  • Without Production order confirmation How to settle the cost of prd order

    Dear all, How to settle the cost production order with out production order confirmation.Any setting is there Or program. Regards, Naresh Redddy.

  • Automating Administrator creation in 11g OMS

    Is there any way to automate the creation of an Administrator in 11g OMS? I can automagically create the database user, but there are some resource privs that need to be granted as well. If anyone has done this, I would be grateful for some steps in

  • CS6 "damaged or incomplete" upon install

    I have tried to reinstall PS6 from the original CD and from Adobe download. I have a valid serial number. Each time it says it is damaged or incomplete. I have done this 3X from the CD and 3X from the website. I have Mac OSX. I am doing this because

  • Error in info structure

    Hi all, I have created one info structure S987. Updation rules are also applied to it. The problem is when i am activating this info structure in t code OMOR the contro indicator under updating tab are in grey mode .i.e not changable(By default  no u