Payment Card Info for sale order with BAPI_BUSPROCESSND_CREATEMULTI

hi all
i am trying to create a sales order using BAPI_BUSPROCESSND_CREATEMULTI
and i am able to create an order successfully without any problem.
the order is being generated. I am trying to input
the payment card details to the BAPI_BUSPROCESSND_CREATEMULTI in
PAYPLAN & PAYPLAN_DATE tables of the BAPI.
I also used CRM_ORDER_READ report to see how these tables are being filled
and based on that i had filled the payment card details in BAPI_BUSPROCESSND_CREATEMULTI
but still ..i see the order being generated but dont see any payment card information
being poulated in it.
If you have any idea how i should fill the PAYPLAN, PAYPLAN_DATE
tables and their respective input fields..please kindly help
i tried all possible ways and could not get a solution
Regards,
Jessica Sam

Hi Richard,
So does this mean that i'd be able to capture all the data that is being determined after i make the call to this BAPI whithout saving it. Well.. I just want to simulate as it is happening in SAP.. i.e we enter the sold to party and hit 'enter' and all the data should be determined..and at this point i should read this data.
Could you let me know if this could be done.
Thanks,
Sahil

Similar Messages

  • Update payment card details for sales order

    Hi all,
    Is there any function module or bapi which can be
    used to update the payment card details for a sales order
    The bapi_salesorder_creatfromdat2 is having the structure
    CCARD which takes in this details , but what I really want is to change the already created sales order.  The bapi for sales order change is not having any structure which allows passing this details.
    Please can anybody give some inputs on it.
    Regards,
    Shibu Mathew.

    Hi Anurag,
    Thank you very much for the answer..
    I too found it as i was digging through the
    BAPI_SALESORDER_CHANGE.
    One's again thanks for the solution.
    Regards,
    Shibu Mathew.

  • Table name for sales order with Customer info

    Hi Gurus,
    Could you please provide me table name for  sales order with customer no and customer name.
    I have list of sales order number (more than 1000 no's ) i need to identify customer number and customer name (ship to party and sold to party information). I am running this report every week. so i plan to create sqvi for this report.
    Thanks and regards,
    B.Deethya.

    Hello,
    Access Tables VBAK & VBAP.
    From the above tables you will get Solt to Party & Ship to Party Codes.
    For Customer names you have to pass the Customer Codes to Table - KNA1
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • Entering payment cards information in sales order

    Hi Folks,
    I am uploading the payment cards information in sales order using transaction VA02. I need to check if there is an already existing payment card in order to know the line number to enter the new card information. I know that FPLTC table has the information about the payment cards. How can I read the already existing lines and pass the new card information in the new line?
    Thanks,
    RAJ

    Tables: VBAK, FPLTC, FPLA.
    Hi,
    I am attaching my code. It would be really helpful for me if someone can tell me what should be the exact key to read the data. Somehow only one condition is true in this case.
    Data : Begin of itab occurs 0,
           VBELN(10) type C,  "Sales order Number
           AUTWR(15) type C,  "Maximum amount
           end of itab.
    DATA : Begin of itab1 occurs 0,
           FPLNR LIKE FPLTC-FPLNR,
           FPLTR LIKE FPLTC-FPLTR,
           ccnum like FPLTC-CCNUM,
           CCINS LIKE FPLTC-CCINS,
           END OF ITAB1.
    DATA : ITABH LIKE ITAB OCCURS 0 WITH HEADER LINE,
           ITABI LIKE ITAB OCCURS 0 WITH HEADER LINE.
    include bdcrecx1.
    Parameter : PATH(128) OBLIGATORY.
    start-of-selection.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME = PATH
          FILETYPE = 'DAT'
        TABLES
          DATA_TAB = itab.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    SORT ITAB1.
    Select FPLTCFPLNR FPLTCFPLTR FPLTCCCNUM FPLTCCCINS into
    corresponding fields of itab1 from FPLTC INNER JOIN vbak on fpltc~Fplnr
    eq vbak~Rplnr.
       ENDSELECT.
    ITABH[] = ITAB[].
    ITABI[] = ITAB[].
    SORT ITABH.
    DELETE ADJACENT DUPLICATES FROM ITABH COMPARING vbeln.
      perform open_group.
      Loop at itabh.
        perform bdc_dynpro       using 'SAPMV45A' '0102'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'VBAK-VBELN'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '/00'.
        perform bdc_field        using 'VBAK-VBELN'
                                        ITABh-VBELN.
        perform bdc_dynpro       using 'SAPMV45A' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '=KRPL'.
    Read table itab1 with key FPLNR = VBAK-RPLNR.
        perform bdc_dynpro       using 'SAPLV60F' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '/00'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'RV60F-CCBEG(03)'.
        perform bdc_field        using 'FPLTC-CCINS(03)'
                                        'CHCK'.
        perform bdc_field        using 'FPLTC-CCNUM(03)'
                                        '0000000000000001'.
        perform bdc_field        using 'CCDATE-EXDATBI(03)'
                                        '12/2009'.
        perform bdc_field        using 'RV60F-CCBEG(03)'
                                        'X'.
    if sy-subrc <> 0.
        perform bdc_dynpro       using 'SAPLV60F' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '/00'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'RV60F-FAKWR(02)'.
        perform bdc_field        using 'RV60F-FAKWR(02)'
                                       ITABh-AUTWR.
        perform bdc_dynpro       using 'SAPLV60F' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '=CCMA'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'FPLTC-CCINS(02)'.
        perform bdc_field        using 'FPLTD-SELKZ(02)'
                                        'X'.
    else.
        perform bdc_dynpro       using 'SAPLV60F' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '/00'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'RV60F-FAKWR(01)'.
        perform bdc_field        using 'RV60F-FAKWR(01)'
                                       ITABh-AUTWR.
        perform bdc_dynpro       using 'SAPLV60F' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '=CCMA'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'FPLTC-CCINS(01)'.
        perform bdc_field        using 'FPLTD-SELKZ(01)'
                                        'X'.
    endif.
        perform bdc_dynpro       using 'SAPLV60F' '0200'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'FPLTC-AUTWR'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '/00'.
        perform bdc_field        using 'FPLTC-AUNUM'
                                        '111'.
        perform bdc_field        using 'FPLTC-AUTWR'
                                        ITABh-AUTWR.
        perform bdc_dynpro       using 'SAPLV60F' '0200'.
        perform bdc_field        using 'BDC_CURSOR'
                                        'FPLTC-AUNUM'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '=BACK'.
        perform bdc_dynpro       using 'SAPLV60F' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '=S\BACK'.
       perform bdc_field        using 'BDC_CURSOR'
                                       'FPLTC-CCINS(05)'.
        perform bdc_dynpro       using 'SAPMV45A' '4001'.
        perform bdc_field        using 'BDC_OKCODE'
                                        '=SICH'.
        perform BDC_TRANSACTION  using 'VA02'.
      ENDLOOP.
      perform close_group.

  • Payment card mandatory in sales order

    Hi friends,
    I want to make payment card filed mandatory when we enter some group of customers in sales order. We normally use the same sales order type for all the customers & when some particular set of customers entered in sales order we need to make the payment card field as mandatory to fill out.
    Can we relate payment terms for making payment card mandatory in sales order or any userexit around.
    Thanks,
    Sree.Manam

    Hi manam narayana
    Either  you need to have a separate sales document type , but with the same sales document type OR ,it is not possible.So if you want to make it mandatory payment card field mandatory then first of all copy document type OR to ZOR . Now use transaction variants  using t.code SHD0 and there give document type ZOR and business object as BUS2032.and make the feild payment cards as required .
    Now create the sales order using document type ZOR for the customers for whom payment cards should be mandatory.
    But with the same document type i think it is not possible.Because if you make this field mandatory it will affect to all customers
    Regards
    Srinath

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • Do not change the payment term created a Sales Order with reference

    Hi Gurus,
    Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.

    Hello ,
    As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
    as standard sap redetermines the payment terms with change in partner function, you may use the exit
    USEREXIT_MOVE_FIELD_TO_VBAK- header level
    USEREXIT_MOVE_FIELD_TO_VBAP- Item level
    in this you could write a small code which will not change the payment terms when payer is redetermined
    hope this helps
    Thanks
    akasha

  • DIServer insert operations for sales orders with error

    DIServer insert operations for sales orders with
    That even though the insert is inserted DocDueDate DocDueDate it says error.
    Subtracting the value of the format 'yyyy-mm-dd', 'yyyy/mm/dd', 'mm-dd-yyyy', 'mm/dd/yyyy' put all reporting
    When the input is entered DocDueDate ShipDate also put together ... but I get an error.
    The error message 'env: Receiver-10Enter due date [ORDR.DocDueDate] 171AddObject2EEE7D98-AB71-464A-93AB-933F0AD3D4DC'
    Purchase order entered into the normal value because the xml is missing or wrong with you.
    Please answer all the possibilities that can be resolved
    This Xml used.
    "<BOM>" +
    "<BO>" +
    "<AdmInfo>" +
    "<Object>oOrders</Object>" +
    "</AdmInfo>" +
    "<QueryParams>" +
    "<DocEntry />" +
    "</QueryParams>" +
    "<Documents>" +
            "<row>" +
            "<DocType>I</DocType>" +
            "<DocDate>2012-01-11</DocDate>" +
            "<DocDueDate>2012-01-11</DocDueDate>" +
            "<CardCode>CD00001</CardCode>" +
            "<Address>Anymode</Address>" +
            "<DocCurrency>KRW</DocCurrency>" +
            "<Comments>[sales orders] LGU TEST</Comments>" +
            "<TaxDate>2012-01-11</TaxDate>" +
            "<JournalMemo>JournalMemo</JournalMemo>" +
            "<Address2>Addr</Address2>" +
            "<BPL_IDAssignedToInvoice>1</BPL_IDAssignedToInvoice>" +
            "</row>" +
    "</Documents>" +
    "<Document_Lines>" +
            "<row>" +
            "<ItemCode>ACDT0100ET</ItemCode>" +
            "<Quantity>1</Quantity>" +
            "<Price>5000</Price>" +
            "<DiscountPercent>10</DiscountPercent>" +
            "<WarehouseCode>A100</WarehouseCode>" +
            "<VatGroup>A2</VatGroup>" +
            "</row>" +
    "</Document_Lines>" +
    "</BO>" +
    "</BOM>";

    I had the same error change the Date to the format yyyymmdd, and problem solved.

  • SD Payment card deletion in Sales order (Standard fucntion?)

    Hi all,
    I have this below scenario regarding updating of Payment Card in a sales document (Header level)
    Requirement is to need to be able to add/delete a payment card when an cusotmer does it online.
    An customized RFC(Z_RFC_1)is called form the outer application RFC is called which internally calls
    Z_RFC_1 internally calls SD_SALES_HEADER_MAINTAIN.
    Here in SD_SALES_HEADER_MAINTAIN is a structure FXZAKAKOM. Here I am passing
    I have the following information to pass.
    TYPZM     Means of payment for classifying payment card plan lines
    CCINS          Payment cards: Card type
    CCNUM     Payment cards: Card number
    FKSAF     Billing status for the billing plan/invoice plan date
    UPDKZ     Update indicator
    When I send UPDKZ = u2018Iu2019 a payment card is created for that sales order.
    Tables: FPLA, FPLT, FPLTC. (Tables for payment card).
    Linked to VBAL-RPLNR
    But when I wan to delete a card and I send u2018Du2019 in field FXZAKAKOM-UPDKZ (SD_SALES_HEADER_MAINTAIN). It does not work.
    After debugging I found that I can delete the payment cards by using function BILLING_SCHEDULE_SAVE. But here the problem is the link in VBAK-RPLNR does not get updated. Hence I have to clear VBAK-RPLNR using a UPDATE statement. (Which is not advised).
    Irrespective of the above scenario can any one let me know how a payment card can be deleted from a sales order using a standard function module.
    Note: Currently I am using SD_SALES_HEADER_MAINTAIN.
    Thanks in advance.
    Kiran

    Hi manam narayana
    Either  you need to have a separate sales document type , but with the same sales document type OR ,it is not possible.So if you want to make it mandatory payment card field mandatory then first of all copy document type OR to ZOR . Now use transaction variants  using t.code SHD0 and there give document type ZOR and business object as BUS2032.and make the feild payment cards as required .
    Now create the sales order using document type ZOR for the customers for whom payment cards should be mandatory.
    But with the same document type i think it is not possible.Because if you make this field mandatory it will affect to all customers
    Regards
    Srinath

  • Table for sales order with incoterms

    Hi all,
    In which table can i get sales orders with incoterms details.
    In VBAK and VBAP it is not available
    Regards'
    Mano

    > In which table can i get sales orders with incoterms details.
    >
    > In VBAK and VBAP it is not available
    Hi,
    Go to SE16, and type the table name as VBKD. This is the table where all the inco term details are given.
    In the new screen, against VBELN, give the sales document numbers for which you want the inco term details and then click on execute.
    You will get the info you require.
    Hope you find it useful.
    Regards,
    Swapna

  • How settlement rule will be created for Sales order with cost object

    Dear Experts,
    We are using product cost by sales order with valuated stock. In addition we are not using COPA
    We also consume some materials at sales order level and at the end of month we want to do the result analysis and settlement for the same amount. In this case can any on explain how system will behave regarding settlement of sales order cost and what entries will get pass in the system.
    In our case we have done below activities...
    we have created sales order,
    All production order activities completed till final GRN including month end activities
    Material consumption against sales order
    Result analysis executed
    At the time of sales order settlement, system throwing error (Sender doesn't have valid receiver, please create settlement rule for sender object)
    Then i checked in sales order there sales order settlement rule not defined.
    I guess this settlement rule need be generated by system automatically. If not, please let me know the process of it.

    HI kishore
          the reason is that sale order always carry the revenue  and production order and production period carry the cost .
       cost you can settle to the Material and even management want  to be settle the cost to material only in production order OR period
    but in sales order  when u sell the product it carry the revenue not the cost and management want see and analysis based on profitability segment are profit center level .
    Prerequisites
    If CO-PA is active, the system generates a settlement rule when you create the sales order. The settlement rule determines whether data is settled to other objects or other areas in Controlling. In accordance with this settlement rule, the relevant data is settled to CO-PA.
    If CO-PA is not active, create a settlement rule. This settlement rule that you create manually normally contains a G/L account as a receiver (such as 399999). You can also settle costs and revenues or results analysis data to objects with revenue.
    You can also settle the cost of sales calculated in results analysis to a fixed asset or a cost center. To do this, you must add to the allocation structure the results analysis cost elements under which the cost of sales is updated to the order.
    The settlement rule includes a distribution rule for the sales order item. The distribution rule is made up of a settlement receiver, a settlement share, and a settlement type:
    The settlement receiver (such as profitability segment or G/L account) specifies the object to which the actual costs and revenue of the sales order item are settled. The settlement receiver can be proposed through the settlement profile.
    The settlement share defines the percentage or the equivalence numbers used to distribute the costs to the individual settlement receivers. The settlement share for sales order items is usually 100%. A settlement share of 100% is preset in the system.
    The settlement type specifies full settlement of the sales order item. This ensures that all the data on the sales order is available for results analysis.
    Settlement still takes place in each period. The revenues and the cost of sales are transferred to CO-PA by period, and the work in process and the reserves are transferred to FI.

  • Product valuation for Sales order with itemizations

    Hi experts,
       I'm trying to find a data source which extracts Product valuation for sales order, and which is important, with itemizations. This is for the KMAT material. I tried 0CO_ACT_* and 0CO_PC_PCP_* but found no proper one.
       The closest one is 0CO_PC_PCP_03 but which only extracts normal material instead of KMAT.
       Points will awarded.
    B'R
    Aaron

    I found it.
    0CO_PC_01
    Cost Object Controlling: Plan/Actual Data

  • Stock allocation for sales orders with batch job

    Hi Friends
    We have  a batch job to allocate stock for sales orders which runs every week , currently this batch job is meant for plant 1000 with availability check procedure Z1 .
    I need to incorporate for same batch job plant 1000 with availability check procedure Z2
    Just I need to know that there is any  potential impact and it  causes any problem ?
    Thanks In Advance
    Rusheek

    Hi,
    Check what difference is between procedure Z1 and procedure Z2.  As we cant see this, you will  have to analyze what Z1 was doing and what Z2 is expected to do.  Broadly speaking this is preety subjective to your project.
    You analyze and try to find out the impacts.  If needed take help of abaper.
    Rgds,
    SB

  • Report for sales orders with abnormal discounts

    Hi
    We have a discount condition type say ZDIS with 10% which is not changeable manually in sales order..But incase if the user has changed the condition master to 12% and created the sales order with 12%disc...Hence i need a report, the list of sales orders with the abnormal discounts..(the sales orders with the discount value more or less than 10%)..
    How do i get this report..Kindly provide me the table names&logic ...
    Reg
    JJ

    We have a discount condition type say ZDIS with 10% which is not changeable manually in sales order..But incase if the user has changed the condition master to 12% and created the sales order with 12%disc...Hence i need a report, the list of sales orders with the abnormal discounts..(the sales orders with the discount value more or less than 10%)..
    How do i get this report..Kindly provide me the table names&logic ...
    Select KNUMH where KONP-KSCHL EQ ZDIS ( Condition record number)
    Select KONV-KNUMV   Where KONV-KNUMH EQ KONP-KNUMH
    Select VBAK-KNUMV where VBAK-KNUMV EQ KONV-KNUMV
    Then with the help of ABAPER hard code the condition amount (KBERT>10%)
    Regards
    Rohit

  • Searching for Sales orders with a particular condition type..

    Hi,
    I'm searching for sales orders and purchase orders which contain a particular condition type, can someone please point me in the right direction?
    Regards,
    Attiq

    Hi,
    Goto SE16 and put KONV
    Put the particular condition type that you are looking for and execute
    Copy the KONV- KNUMV value for all the records found
    Goto SE16 and put VBAK / VBRK
    in the field VBAK-KNUMV or VBRK-KNUMV put the copied data from step three and execute
    Note all the corresponding document number i.e. VBAK-VBELN / VBRK-VBELN
    Pls reward if helpful.
    Regards,
    Pramod.

Maybe you are looking for

  • Data is not coming right for few Document nos.

    Hi All, I have a problem in my report that in 10-12 records, data not picking the values against Document Number...means from where i pick the lifnr, there a few records not showing related information... I tell u in detail.. I pick Document Number f

  • Mapping Issue with UDF

    I am in the middle of doing a webservice call from within a UDF. The problem is that when I am declaring my message part of the definition is a url. So I am trying to declare a string like the following: String m = "<?xml version="1.0" encoding="UTF-

  • Why is the Apple logo blinking?

    When I woke up this morning, my iPhone was doing fine. I pulled up an app and within two minutes, it darkened, a line showed up on the screen, then it turned off. I tried to plug it in, and it was unresponsive to being charged. Now, only the Apple lo

  • Vista, Excel 2007 and Essbase 9.2.0.3

    hi <BR><BR>I am trying to install Essbase Analytics on my Vista Home Premium machine with OFFICE 2007. It is not listed as a supported excel version. I want to find out if it is compatible or if I have to install a version of office which is supporte

  • SelectManyListbox select ALL when duplicates are present

    I am trying to use the ADF Faces selectManyListbox component to select ALL upon page load. I have set the value of my selectManyListbox to a List, and this works for most of my selectManyListbox components. However, when I use this solution on a diff