Payment card information is copying to order from Billing document

Hi,
While creating an Order with reference to a Billing document the payment card details are copying to the order. This should not happen. Appreciate if provide OSS notes number or any other alternatives.
Thanks,
Bhaskar

Issue resolved

Similar Messages

  • Get Sales order from Billing document number

    Given Billing document number from VBRK-VBELN, how to get the Sales order number VBAK-VBELN?

    Please check table VBFA.
    Below code might give you some idea:
    PARAMETERS: P_VBELN TYPE VBELN OBLIGATORY.
    DATA: COMWA TYPE VBCO6.
    DATA: IT_VBFA TYPE TABLE OF VBFA,
          WA_VBFA TYPE VBFA.
    COMWA-VBELN = P_VBELN.
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
      EXPORTING
       BELEGTYP            = 'M'
       COMWA               = COMWA
      TABLES
        VBFA_TAB            = IT_VBFA
    EXCEPTIONS
       NO_VBFA             = 1
       NO_VBUK_FOUND       = 2
       OTHERS              = 3.
    LOOP AT IT_VBFA INTO WA_VBFA WHERE VBTYP_N = 'C'.
       WRITE:/ WA_VBFA-VBELN.
    ENDLOOP.
    Kind Regards
    Eswar

  • Status Update of Service Order From Billing Document

    Dear Experts,
    I am told to change the User status of Service Order once the Billing Document is Generated.
    Here we are in CRM 2007 and i have done the status update of previous document but here
    Billing document is not possible to read through CRM_ORDER_READ (function module).
    Do any one have any idea how do i proceed.
    Thanks,
    SA

    hi sa
    to change the service order user status , when biling document is generated
    make an implementation of bill_acc_if  bai and in the method ENRICH_ACC_DOCUMENT
    read order data using crm_order_read  and change the status using
    CRM_STATUS_CHANGE_EXTERN
    thnks
    sam

  • Copying header text from Billing document to Accounting document

    Hi
    I have created a new text id in billing document using VOTXN, is it possbile to copy the header text maintained here to an accounting document field -> doc header text or any other text field when the billing document will get posted to accounting.
    Please guide.
    Thanks,
    Vaishnavi

    Hi,
    with a substitution (GGB1) for FI document header (BKPF-BKTXT) it can be possible. A user exit is required in the substitution to read the SD table.
    Regards,
    Joosz

  • 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.

  • Custom screen for Payment card information in Sales Order

    Hi All,
    I want to know if its possible to develop a custom screen to accept multiple payment card information in Additional data tab and save it in normal payment card information at the time of saving sales order. This sounds little
    Nilesh

    Hi Nilesh,
    Please, see SAP Note 914603 - FAQ/Collective note for payment cards (Consulting/modif). Here you have the relevant notes related with this topic, so, in point 4, the note says:
    4. Payment cards in the order (with billing plan)
    - 914811 FAQ: Authorisation Problems - Why?
    - 915193 No authorization in the order
    - 313416 Installment plan payment with payment cards
    - 361790 No Authorization or only pre-authorization executed
    - 701569 Incorrect value to be authorized in the order
    I hope this helps you
    Regards
    Eduardo

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • TS3297 I Cannot update or purchase from itunes because of this error " We were unable to authorize your payment card for this purchase please update your billing info " this error is beacuse my brother tried to purchase some game worth 38$ which i dont ne

    I Cannot update or purchase from itunes because of this error " We were unable to authorize your payment card for this purchase please update your billing info " this error is beacuse my brother tried to purchase some game worth 38$ which i dont need it and i want to report a problem for this issue and able to get update my apps

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History.

  • HT1918 Why do you need my credit card information when I purchase songs from an already purchased Itunes gift card?

    Why do you need my credit card information when I purchase songs from an already purchased Itunes gift card?  If I cannot purchase goods with the prepuchased gift cards, then the card is useless and I want my money back.

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    Just because you are being asked to enter your credit card details doesn't mean that it will be charged for your purchases.
    Is it a newly created account ? If it is then unless you use the instructions on this page when creating an account then credit card details will need to be entered before the account can be used in the store : http://support.apple.com/kb/HT2534

  • How to Copy from Billing document F2 to Credit or Debit memo?

    Hello,
    I know the Menu path for copy control of billing document to billing document which  is as follows
    SPROIMG-Sales and Distribution-BillingBilling Documents-Maintain Copy Control of Billing document--Copy COntrol: Billing Document to Billing Document where I give the Source and the target.
    Now I have a scenarion where F2 invoice has ForTrade/Customs information in the Header of F2 invoice which can be viewd through VF03->Header->ForTrade/Customs tab.
    Now that inforamtion has to be transferred to CR/DR which is now not being copied although I have set the copy controls between the billing document.
    So, can anyone help me by providing the information for the following questions?
    1.How will I acheive the copy of Foreign trade to CR/DR from F2?
    2. When I copy from F2 to CR/DR, which all information from F2 will be copied to CR/DR?
    Thanks for the help.
    Anupama Rao

    Anupama,
    The foreign trade data is copied from delivery to billing and any order doesn't contains the foreign trade data and when you create a credit memo request CR by copying F2 invoice the foreign trade data is not copied to CR and when you create a G2 invoice from CR the foreign trade data is not copied because it doesn't exists
    the optimal solution for this is to keep the incompletion for foreign trade in the G2 and L2 inovices
    Regards,
    Santosh

  • How to copy-paste frames from one document to other with there respective layers intact?

    Hi All,
         I am facing an issue while copy paste frames from one document to other. I have a 3 frames in first documents each one on different layer. First document has 3 layers. The second document too have 3 layers , I am copying frames from first document to scrapdata using 'ICopyCmdData ' and 'kCopyCmdBoss'. I have 'Paste Remembers Layers' menu 'Checked' on Layer panel. I am using following function to copy frames to scrapdata.
    bool16 copyStencilsFromTheTemplateDocumentIntoScrapData(PMString & templateFilePath)
         bool16 result = kFalse;
        do
            SDKLayoutHelper sdklhelp;
            PMString filePathItemsToBeCopiedFrom(templateFilePath);  //("c:\\test\\aa.indt");
            IDFile templateIDFile(filePathItemsToBeCopiedFrom);
            UIDRef templateDocUIDRef = sdklhelp.OpenDocument(templateIDFile);
            if(templateDocUIDRef == UIDRef ::gNull)                 
                break;
            ErrorCode err = sdklhelp.OpenLayoutWindow(templateDocUIDRef);
            if(err == kFailure)                 
                break;
            InterfacePtr<IDocument> templatedoc(templateDocUIDRef,UseDefaultIID());
            if(templatedoc == nil)               
                break;
            InterfacePtr<ISpreadList>templateSpreadUIDList(templatedoc,UseDefaultIID());
            if(templateSpreadUIDList == nil)                  
                break;
            IDataBase * templateDocDatabase = templateDocUIDRef.GetDataBase();
            if(templateDocDatabase == nil)                  
                break;
            UIDRef templateDocFirstSpreadUIDRef(templateDocDatabase, templateSpreadUIDList->GetNthSpreadUID(0));
            InterfacePtr<ISpread> templateSpread(templateDocFirstSpreadUIDRef, IID_ISPREAD);
            if(templateSpread == nil)                 
                break;
            UIDList templateFrameUIDList(templateDocDatabase);
            if(templateSpread->GetNthPageUID(0)== kInvalidUID)                  
                break;      
            templateSpread->GetItemsOnPage(0,&templateFrameUIDList,kFalse,kTrue);  
            InterfacePtr<ICommand> copyStencilsCMD(CmdUtils::CreateCommand(kCopyCmdBoss));
            if(copyStencilsCMD == nil)                
                break;
            InterfacePtr<ICopyCmdData> cmdData(copyStencilsCMD, IID_ICOPYCMDDATA);
            if(cmdData == nil)                 
                break;
            // Copy cmd will own this list
            UIDList* listCopy = new UIDList(templateFrameUIDList);
            InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
            if(clipboardController == nil)              
                break;
            ErrorCode status = clipboardController->PrepareForCopy();
            if(status == kFailure)                  
                break;
            InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
            if(scrapHandler == nil)                 
                break;
            clipboardController->SetActiveScrapHandler(scrapHandler);
            InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
            if(scrapData== nil)                
                break;
            UIDRef parent = scrapData->GetRootNode();
            cmdData->Set(copyStencilsCMD, listCopy, parent, scrapHandler);
            if(templateFrameUIDList.Length() == 0)       
                return kFalse;      
            else      
                status = CmdUtils::ProcessCommand(copyStencilsCMD);    
            if(status != kFailure)
              result = kTrue;
            sdklhelp.CloseDocument(templateDocUIDRef,kFalse,K2::kSuppressUI, kFalse);
        }while(kFalse);
        return result;
    After this I need to close first document. Now I am opening the second document from indt file which has same number of layers as first document. I am trying to paste frames from scrap data to second document using '' 'ICopyCmdData ' and 'kPasteCmdBoss' as shown in follwoing function
    bool16 pasteTheItemsFromScrapDataOntoOpenDocument(UIDRef &documentDocUIDRef )
        bool16 result = kFalse;
        do
               InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
                if(clipboardController == nil)
                    break;
               InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
               if(scrapHandler == nil)               
                    break;
               InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
                if(scrapData == nil)
                   break;
                     //This will give the list of items present on the scrap
                UIDList* scrapContents = scrapData->CreateUIDList();
                if (scrapContents->Length() >= 1)
                    InterfacePtr<IDocument> dataToBeSprayedDocument(documentDocUIDRef,UseDefaultIID());
                    if(dataToBeSprayedDocument == nil)
                       break;
                    InterfacePtr<ISpreadList>dataToBeSprayedDocumentSpreadList(dataToBeSprayedDocument,UseDef aultIID());
                    if(dataToBeSprayedDocumentSpreadList == nil)
                         break;
                    IDataBase * dataToBeSprayedDocDatabase = documentDocUIDRef.GetDataBase();
                    if(dataToBeSprayedDocDatabase == nil)
                         break;    
                    UIDRef spreadUIDRef(dataToBeSprayedDocDatabase, dataToBeSprayedDocumentSpreadList->GetNthSpreadUID(0));               
                    SDKLayoutHelper sdklhelp;
                    UIDRef parentLayerUIDRef = sdklhelp.GetSpreadLayerRef(spreadUIDRef);
                    InterfacePtr<IPageItemScrapData> localScrapData(scrapHandler, UseDefaultIID());
                    if(localScrapData == nil)
                        break;
                    if(parentLayerUIDRef.GetUID() == kInvalidUID)
                        break;
                    InterfacePtr<ICommand> pasteToClipBoardCMD (CmdUtils::CreateCommand(kPasteCmdBoss));
                    if(pasteToClipBoardCMD == nil)
                        break;
                    InterfacePtr<ICopyCmdData> cmdData(pasteToClipBoardCMD, UseDefaultIID());
                    if(cmdData == nil)
                        break;
                    if(scrapContents == nil)
                        break;               
                    PMPoint offset(0.0, 0.0);
                    cmdData->SetOffset(offset);
                    cmdData->Set(pasteToClipBoardCMD, scrapContents, parentLayerUIDRef );
                    ErrorCode status = CmdUtils::ProcessCommand(pasteToClipBoardCMD);
                    if(status == kSuccess)
                        CA("result = kTrue");
                        result = kTrue;
                }//end if (scrapContents->Length() >= 1)       
        }while(kFalse);
        return result;
         Here in above function its required to set Parent Layer UIDRef and because of this all frames are getting paste in one layer.
    Is there any way we can paste frame in there respective layers?
         Also I need to work this code with CS4 server and desktop indesign.
    Thanks in advance,
    Rahul Dalvi

    Try,
    // dstDoc must be FrontDocument
    InterfacePtr<ILayoutControlData> layoutData(Utils<ILayoutUIUtils>()->QueryFrontLayoutData());
    InterfacePtr<ICommand> createMasterFromMasterCmd(CmdUtils::CreateCommand(kCreateMasterFromMasterCmdBoss));
    createMasterFromMasterCmd->SetItemList(UIDList(srcMasterSpreadUIDRef));
    InterfacePtr<ILayoutCmdData> layoutCmdData(createMasterFromMasterCmd, UseDefaultIID());
    layoutCmdData->Set(::GetUIDRef(layoutData->GetDocument()), layoutData);
    CmdUtils::ProcessCommand(createMasterFromMasterCmd);

  • How to copy a folder from one document library to another document library ?

    How to copy a folder from one document library to another document library by programmtically?
    Samarendra Swain
    Team Sharepoint
    www.manuhsolutions.com

    You can use the SPFolder.CopyTo method.
    public static void CopyFolder()
    SPFolder folder = null;
    using (SPSite site = new SPSite("http://basesmcdev2/sites/tester1"))
    using (SPWeb web = site.OpenWeb())
    folder = web.GetFolder("shared%20documents/newfolder");
    folder.CopyTo("tester4/newfolder");
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.copyto.aspx
    certdev.com

  • Copy a page from one Document to another

    Can anyone help
    In Pages '08 we had the ability to copy a page from one document to another.
    In Pages '09 this does not seem possible.
    Does anyone have anwser....
    Thanks
    Message was edited by: AJCUR
    OK my bad
    I just realized that I was in Word Processing in one document and Page Layout in another and you cannot do the copy between the two. Changed the Blank documentto word processing and voila it worked.

    I think this might help. Go to the document you want to copy the page from and go to the "View" menu and choose "page thumbnail" so you can see the thumbnails on the side of the document. Right click (or control click) on the thumbnail of the page you want to copy and choose "copy.
    Go to the document you want to paste the page into and make sure you have the "View thumbnail" option turned on. If you already have some pages click on the page you want the new page to follow and then right click and paste the page where you want it. (you have to do this in the thumbnail view area, not in the actual document itself.) If you have inserted the page in the wrong spot, just drag it to the right location. note: I have tried dragging the thumbnail from one document to another and it does not work. Too bad because it works that way with a PDF documents in "Preview" app.

  • Cant copy and paste from a document to an email error says this feature not supported by your browser

    i cannot copy and paste from a document into an email body and a pop up says this feature not supported by your browser

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Clear Cookies & Cache
    * https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    Clear the Network Cache
    * https://support.mozilla.com/en-US/kb/How%20to%20clear%20the%20cache#w_clear-the-cache
    Check and tell if its working.

Maybe you are looking for

  • Adobe Acrobat 9 missing "Compare" function.

    I cannot find the "Compare" selection that so many online explanations refer to.  Is it possible that there are "variants" of Adobe Acrobat 9 Standard that do not have the "Compare Two Files" feature?

  • Possible memory leak in Weblogic 7.0

    We have developed an EJB application on Weblogic 7.0 running on HP-UX 11.0. Some JSP/Javabean programs, that lookup EJB compoments for services, are developed on the Resin web server to serve browser requests. Both Resin and Weblogic are running on t

  • Don't understand why TimeMachine stops before end of backup

    Hello, I wish I use TimeMachine to backup my computer. When the TimeMachine process starts, the dialog box with the progress bar says "saving xxx/93Mo". However, the backup process stops by itself at 65 Go (!!) and the Console says the data were save

  • Photos stuck in slideshow

    I've been using Apple Tvs for a digital signage project for quite some time and now, I have a recurring problem: sometimes when I refresh the slideshow content, other previously loaded photos will show up in the slideshow. For example, I had the slid

  • Strange (foreign) users list in get info/permissions window!

    Background info: OS up dated to 10.7.4.   I am the admin.  Husband is standard user. One group, which includes my husband and I.  One guest (no sharing) account created.  I can connect remotely to my mac with admin login info. 1. When, applying read