Need to write BDC program for Transaction VA01(Sales order creation)

Dear Friends,
I need to write a BDC program for uploading data into sap from an excel sheet file. The data contain Material Description,Customer Name,Date of Delivery,Quantity,Unit of measure etc.
material desc customer date of delivery quantity unit of measure
abcdf xyz ltd 24.12.2011 2 4 gm
The transaction is VA01.How will I find the correct fields and related tables? What are the related fields needed in the transaction VA01.
Thanking you
Sacheen Pukhrambam
Moderator Message: Put some self-effort before posting your question. Thread locked.
Edited by: Suhas Saha on Nov 25, 2011 1:25 PM

Hello,
You could try using a BDC with VL04 but first preference would be to see if there are any BAPI functions (search for BAPI) that can do this.
If BUS2032 doesn't have an attribute that you want (eg shipping point) then sub-delegate to ZBUS2032 and add the attribute, it's straightforward. You just have to know how to determine the value programmatically.
regards
Rick Bakker
hanabi technology

Similar Messages

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

  • The BDC program for Transaction COGI not workign -need some alternative

    Hi,
         We are doing a SAP upgrade from 4.6c to ECC. One of the custom tcodes which were using BDC programming on COGI is now broken.Since , COGI is now changed in Ecc 6.0  with respect to the output which is now inALV and the earlier Date funtionaliy button is no more there in ECC6.0.
    We are still not to able to find relevant BAPI/function module/alternative for that matter.Rerecording COGI for new environment is not working since it involves alv call functions, which cannot be recorded in BDC.
    Please provide any inputs/valuable suggestions for same.

    HI
    You can try below method.
    there is one check box in COGI transaction named List Display. In your BDC recording, default that field value with 'X'.
    By activating this, list will be displayed as in earlier versions.
    Regards,
    Krishna Mohan

  • Conversion program for the open sales orders

    Hi ,
         How to proceed for writing a conversion program for open sales order ??
    Please share if 've any document or idea.
    LSMW object: 0090, Method: 0000
    Business Object : BUS2032, Method : CREATEFROMDAT2,
    Message Type: SALESORDER_CREATEFROMDAT2
    Basic Type: SALESORDER_CREATEFROMDAT202
    Regards,
    Jyoti Shankar

    Dear Saso,
    I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
    In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
    Best Regards,
    Amit
    Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd.

  • Workflow for Delivery from Sales Order Creation

    Hi All,
    I am new to SAP workflow.  There is a requirement to create a delivery through VL04 (in background) based on the Shipping Point of the approved Sales Order.  How can this be done?  I am assuming that I should be using BUS2032 for the Sales Order and BUS2015 for the Delivery. 
    The first step should be to send an email that gives the user two options (Approve and Reject) once a Sales Order is saved.  However, I am unsure of how to pass parameters to VL04 and submit the program.
    For example, if the order is approved the Shipping Point will be passed to VL04 and run in background to create the delivery.  How can you determine the Shipping Point from BUS2032?  I did not see any attribute for this within the BOR.  Also, how do you create the step to submit that Shipping Point to transaction VL04 in background? 
    Any help you can give would be greatly appreciated.  Thanks.
    John

    Hello,
    You could try using a BDC with VL04 but first preference would be to see if there are any BAPI functions (search for BAPI) that can do this.
    If BUS2032 doesn't have an attribute that you want (eg shipping point) then sub-delegate to ZBUS2032 and add the attribute, it's straightforward. You just have to know how to determine the value programmatically.
    regards
    Rick Bakker
    hanabi technology

  • Probelm in VA01 Sales order creation!

    Hi,
    I faced probelm in while creating sales order.
    My probelm is, deleted line items are not getting updated in the internal table XVBAP.
    Please find my testing scenario:
    Enter the material number => in my example, it will be the Mat_test1.
    Enter a second material number=> in my example , Mat_test2
    Check if the sales order is completed = but DON'T SAVE
    Select the material number mat_test1 => delete the line item
    Now get into debug mode and check the internal table XVBAP. It is still having the deleted line item mat_test1.
    Is there anyother internal table getting updated?
    I required this internal table XVBAP from SAPMV45A in another include (RV61B925) for my requirements without having the deleted line item in the internal table.
    Please help me to clarify this issue!

    When working with the XVBAP internal table, the line item will not be deleted from the internal table.  There is a field on the table called UPDKZ that contains the action that will be taken with this field:
    'U' = Update
    'D' = Delete
    'I' = Insert
    ' ' = No action
    You will need to make sure that you are checking this field for any of your logic.  This is true of all of the Xnnnn internal tables during sales document processing.
    Chris

  • Warning message display for Price check-Sale order creation

    Hi,
    While creating sales order at line item level a warning message is required to pop-up after validating if the sale order line item's Net Price = Gross Price.
    1.Is there any IMG customization that can be done to acheive this? If Yes, how??
    2.If it can be done only by adding a required message to message class, could you pls tell me the form which may require modification??
    Thanks

    Hi,
    Develope the logic in any of the following userexits avaialble in the program-
    MV45AFZB
    MV45AFZB
    The requirement cannot be processed through Standard SAP behaviour.
    Regards
    Goutham

  • Please  Help me How write the BDC program for the MIGO inbound Delivery

    Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
    Not in LSMW.  Required call transaction or Session Method. Please help me.
    Mohan

    Run transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.

  • ENTRY_ACT field in BDC program for Txn. IA05

    Dear Gurus,
    I want to write BDC program for IA05 transaction.  In that, Inspection Charatertics entries, I want to add more entries (more than one page - page down).  Please guide me how to handle RQPAS-ENTRY_ACT screen field.
    Please provide the logic in writing, if possible.
    Regards,

    Hi,
    I am having same problem.
    Can you give me the code as it shows solved at your end..
    -Maharshi

  • Can any one please tell me how to write labview program for data logging in electric motor bike.

    Can any one please tell me how to write labview program for data logging in electric motor bike. I am going to use CompactRIO for getting wide range of data from various sensors in bike. I need to write labview program for data logging of temperature, voltage and speed of the bike. Can any one help me?

    Yes, we can.   
    I think the best place for you to start for this is the NI Developer Zone.  I recommend beginning with these tutorials I found by searching on "data log rio".  There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
    NI Compact RIO Setup and Services ->  http://zone.ni.com/devzone/cda/tut/p/id/11394
    Getting Started with CompactRIO - Logging Data to Disk  ->  http://zone.ni.com/devzone/cda/tut/p/id/11198
    Getting Started with CompactRIO - Performing Basic Control ->  http://zone.ni.com/devzone/cda/tut/p/id/11197
    These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
    Jason
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

  • Sales Order creation/ change date for the items

    I have a unique scenario and i need to get a Report for this
    A sales order is created for 4 line items.
    Out of these , for 2 line items a delivery is created. I need the sales order creation date and time  for these 2 items in a custom report
    Now the other 2 items go in to some kind of block- Now these are released by going in the sales order VA02 and after releasing the delivery is created. Again for these two items , i need the sales order change date as after a user goes and changes the sales order to remove the block only then delivery is created for these two items
    Also another scenario is the 2 line items go for back order and when we get stock  at tht time system confirms the stock and then the delivery is created for these. So also for this when this change occured i need to get the date for these 2 line items
    Can any one please suggest how to get this data  from the scenarios?
    I dont want to get the date when the delivery is created as i can get tht from the LIKP table. I need the sales order create and change dates for these.

    You may be aware, any changes to a document will be recorded in CDHDR (for header changes) and CDPOS (for item changes).  You can explore these two tables.
    thanks
    G. Lakshmipathi

  • Need help with an SHDB BDC program  for Change outbound delivery(VL02N).

    I have created recording to change outbound delivery(VL02N). Steps are as below-
    For VL02N recording 1st I have click on the header(F8) then dates tab.
    Then insert line (+ button) then it shows 8 transport types.
    I have chosen 7th transport type. In SHDB it shows BDC_CURSOR = '08/07'.
    Then I have created BDC program for this recording, but it's not working,
    because It is changing BDC_CURSOR value every time when we do SHDB or VL02N and in my code I have hard coded BDC_CURSOR = '08/07' . 
    Can anyone tell me how to get this BDC_CURSOR changed value. So that instead of hard coding this value I can select this value every time.
    (FYI      For this Screen name = SAPMSSY0 Screen No = 0120.)
    Thanks.

    I have created recording to change outbound delivery(VL02N). Steps are as below-
    For VL02N recording 1st I have click on the header(F8) then dates tab.
    Then insert line (+ button) then it shows 8 transport types.
    I have chosen 7th transport type. In SHDB it shows BDC_CURSOR = '08/07'.
    Then I have created BDC program for this recording, but it's not working,
    because It is changing BDC_CURSOR value every time when we do SHDB or VL02N and in my code I have hard coded BDC_CURSOR = '08/07' . 
    Can anyone tell me how to get this BDC_CURSOR changed value. So that instead of hard coding this value I can select this value every time.
    (FYI      For this Screen name = SAPMSSY0 Screen No = 0120.)
    Thanks.

  • BDC program for Health plans

    Hi,
    I would like to know the procedure to write a BDC program for Health plans(167) and in SHDB what will be the Tcode for it.
    Points will be rewarded
    Thanks and Regards
    Chaitanya.

    Hi
    Go to Tcode : SHDB.
    Then give the Transaction code as PA30. Give the Infotype number as 0167.
    Give the input field what u need to be uploaded.
    Then save.
    Then write the BDC Program for that.
    Reward points if useful.
    Regards,
    N.L.Narayana

  • BDC Program for FCH5 and FCH6

    Hi ALL,
    Pls send me BDC program for FCH5 and FCH6 in function module it self..
    How to write BDC the program in function module for FCH5 and FCH6..
    Thanks

    HI ,
    Thanks for your message,
    I'm doing the one bank payment(Out Sourcing Cheque) (ZCITI)transaction so in that implementation i need the FCH5 and FCH6 BDC programs.
    can you send me the sample code of BDC programs => thread locked  for above tcodes bcz i haven't done BDC programs in Function modules.
    Thanks in advance.
    Edited by: kishan P on Oct 15, 2010 4:00 PM

  • Is BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE(manual) creation?

    Hi Experts,
    Ours is IS-Oil.
    If the user do not enters/inputs OIC_MOT (Mode Of Transport) at ITEM level on the External Details popup, SAP will get it from Customar Master-KNA1 and populates on it, because its a mandatory field (OIC_MOT), but, do not throws an Error message and interupts the sales order creation process.
    We have a inbound IDOC posting function module for sales order (VA01), which posts the sales oreders by using BDC (CALL TRANSACTION 'VA01') in the system. In this function module, we are not populating the OIC_MOT field contained segment by hoping SAP will populate/default it while it hits CALL TRANSACTION 'VA01' of my BDC of my FM of IB IDOC. But, SAP is not defaulting/populating and throwing error message (saying 'OIC_MOT field is a mandatory input field' data is missing) and IDOC is failing, pls. let me know Wht its so? is the BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE (manual ) creation of sales order?
    Thank you

    Hi
    Several transactions can ba a different behavior between online and bdc process, but if you simulate the trx by SM35 you should find out these gaps
    I don't know OIL vertical, but the main transactions have a bapi can be used insted of BDC program (BAPI_SALESORDER_CREATEFROMDAT2, but perhaps there's a particular BAPI for OIL).
    Max

Maybe you are looking for

  • My iPod got shampood and now it won't connect to my Mac. Ideas?

    The big problem is that ever since the shampoo, the iPod won't recognize the connector cable. It keeps asking for USB cable even though that's what it has. the iPod still plays perfectly and will charge when connected to the computer, it just won't c

  • IE - signed cab vs. signed jar problems

    In IE on Windows when I sign an applet that is part of a package in a cab file it works like this; The first time the user hits the applet tag, IE downloads the cab and asks if you trust the applet. When the user clicks yes, it is installed to the do

  • No access to free iWork Apps?

    Here's the deal, I just bought a new Macbook Air earlier this week, Upgraded to Maverick, and the iWork apps in the app store arent showing up as free? Solution for this?

  • When i use type tool photoshop stopped working

    hi, please help me in this problem when i try to use type tool,photoshop stopped working its photoshop cs3 ex

  • HT1368 The "Buy All" button has disappeared from my wishlist?

    I used to be able to preview all and buy all of the songs in my wishlist, but now that has disappeared and I have to individually click on them to buy them.  I am in the US, does anyone know why it is doing this or how I could fix it?  Thanks!