Regarding BAPI_CUSTOMER_CREATEFROMDATA1

HI,
  I am using BAPI_CUSTOMER_CREATEFROMDATA1 to create a customer. I am not getting all the fields that require to create a customer. I am not getting the fields like industry,terms of payment,sales district,sales office,price procedure,status group,inco terms. I need all these fields to create a customer. please tell me how can to approach  to create it. Please advice me is there any bapi which is to create it .
Thank you.
Regards
Madhu.

Hi
this might not be any solace to you - but with every roll-out we use RFBIDE00 to migrate ALL customer data (incl. banking etc.). it'a batch input ....
follow this links
[http://abaplovers.blogspot.com/2008/03/customer-master-bapis-function-modules.html]
[BAPI_CUSTOMER_CREATEFROMDATA1;
Regards

Similar Messages

  • Regarding BAPI_CUSTOMER_CREATEFROMDATA1 Urgent Issue

    Hi all,
    I am using BAPI_CUSTOMER_CREATEFROMDATA1 to create customers from the portal.
    I have given a reference customer in the PI_COPYREFERENCE structure along with sales area information.
    But the BAPI gives an error message like no tax records exist for the reference customer.
    I am working in UAE, and here we dont have tax. So we dont maintain tax records anywhere.
    How to overcome this issue?
    Can anyone help me out?
    Thanks alot
    Shobin

    Hi
    Pls go thru this code. hope it will sove ur issue.
    Reward if help.
    FUNCTION z_bapi_customer_create.
    ""Interface local:
    *" IMPORTING
    *" VALUE(I_KNA1) LIKE KNA1 STRUCTURE KNA1 OPTIONAL
    *" VALUE(I_KNB1) LIKE KNB1 STRUCTURE KNB1 OPTIONAL
    *" VALUE(I_KNVV) LIKE KNVV STRUCTURE KNVV OPTIONAL
    *" EXPORTING
    *" VALUE(E_KUNNR) LIKE KNA1-KUNNR
    *" REFERENCE(O_KNA1) LIKE KNA1 STRUCTURE KNA1
    *" REFERENCE(RETURN) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1
    *" TABLES
    *" T_XKNVI STRUCTURE FKNVI OPTIONAL
    *" T_XKNB5 STRUCTURE FKNB5 OPTIONAL
    -(1) initial routines -
    data declaration: fields, items, tables:
    DATA: subrc LIKE sy-subrc,
    credit_control_flag LIKE bapikna108-x_flag value 'X',
    postflag LIKE wdl_flag-xflag.
    (ii) reset exporting data and sy-subrc
    CLEAR: return,
    sy-subrc.
    (iii) fill temporary interface data i_bapikna1_0x, i_bapikna10x
    (in the following: importing data unchanged, work only with
    temporary interface data)
    (iv) reset data of function kernel
    CLEAR: i_kna1,
    i_knb1,
    i_knvv.
    REFRESH:
    t_xknbk,
    t_xknvi,
    t_xknvk,
    t_xknvp,
    t_xknb5.
    -(2) work routines -
    call "check function"
    (ii) fill exporting data of "kernel function"
    (iii) call "kernel function" post synchron (postflag = X)
    i_kna1-land1 = 'BR'.
    i_kna1-name1 = 'Nome'.
    i_kna1-ort01 = 'Abaetetuba'.
    i_kna1-pstlz = '099999999'.
    i_kna1-regio = 'PA'.
    i_kna1-sortl = 'Conceito'.
    i_kna1-stras = 'Rua'.
    i_kna1-mcod1 = 'Nome'.
    i_kna1-mcod2 = 'Abaetetuba'.
    i_kna1-mcod3 = 'Sr.'.
    i_kna1-brsch = '01'.
    i_kna1-ktokd = '0021'.
    i_kna1-spras = 'P'.
    i_kna1-stcd2 = '999'.
    i_kna1-lzone = 'AC00000001'.
    i_kna1-stkzn = 'X'.
    i_kna1-txjcd = 'NN'.
    i_kna1-duefl = 'X'.
    i_kna1-civve = 'X'.
    i_kna1-brsch = 'AG05'.
    i_kna1-anred = 'Sr.'.
    i_knvv-vkorg = 'MY01'.
    i_knvv-vtweg = 'Z5'.
    i_knvv-spart = 'Z7'.
    i_knvv-versg = '1'.
    i_knvv-kalks = '1'.
    i_knvv-kdgrp = '02'.
    i_knvv-bzirk = 'CLIE'.
    i_knvv-pltyp = '02'.
    i_knvv-awahr = '100'.
    i_knvv-antlf = '9'.
    i_knvv-kzazu = 'X'.
    i_knvv-vsbed = '01'.
    i_knvv-perfk = '01'.
    i_knvv-waers = 'BRL'.
    i_knvv-ktgrd = '01'.
    i_knvv-vwerk = 'MY01'.
    i_knvv-vkgrp = 'LDA'.
    i_knvv-vkbur = 'MSOY'.
    i_knvv-kurst = '001S'.
    i_knvv-kabss = '0001'.
    i_knvv-kkber = 'SE01'.
    i_knb1-bukrs = '4169'.
    i_knb1-akont = '0011411000'.
    i_knb1-akont = '9999999999'.
    i_knb1-zwels = 'C'.
    i_knb1-zterm = '7001'.
    i_knb1-vzskz = '02'.
    i_knb1-fdgrv = 'C1'.
    i_knb1-xzver = 'X'.
    i_knb1-knrze = '0000935002'.
    t_xknvi-aland = 'BR'.
    t_xknvi-tatyp = 'IBRX'.
    t_xknvi-taxkd = '1'.
    APPEND t_xknvi.
    t_xknb5-bukrs = i_knb1-bukrs.
    t_xknb5-mahna = '0001'.
    append t_xknb5.
    postflag = 'X'.
    CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
    EXPORTING
    i_kna1 = i_kna1
    i_knb1 = i_knb1
    i_knvv = i_knvv
    I_BAPIADDR1 =
    I_BAPIADDR2 =
    I_MAINTAIN_ADDRESS_BY_KNA1 = ' '
    pi_postflag = postflag
    IMPORTING
    e_kunnr = e_kunnr
    o_kna1 = o_kna1
    TABLES
    T_XKNAS =
    T_XKNBK =
    T_XKNB5 = t_xknb5
    T_XKNEX =
    T_XKNVA =
    T_XKNVD =
    t_xknvi = t_xknvi
    T_XKNVK =
    T_XKNVL =
    T_XKNVP =
    T_XKNZA =
    EXCEPTIONS
    client_error = 1
    kna1_incomplete = 2
    knb1_incomplete = 3
    knb5_incomplete = 4
    knvv_incomplete = 5
    kunnr_not_unique = 6
    sales_area_not_unique = 7
    sales_area_not_valid = 8
    insert_update_conflict = 9
    number_assignment_error = 10
    number_not_in_range = 11
    number_range_not_extern = 12
    number_range_not_intern = 13
    account_group_not_valid = 14
    parnr_invalid = 15
    bank_address_invalid = 16
    tax_data_not_valid = 17
    no_authority = 18
    company_code_not_unique = 19
    dunning_data_not_valid = 20
    knb1_reference_invalid = 21
    cam_error = 22
    OTHERS = 23
    (iv) insert the credit control data
    IF credit_control_flag = 'X'
    AND sy-subrc = 0.
    CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_KNKA_K'
    EXPORTING
    PI_REF_CUSTOMER = E_KUNNR
    PI_CUSTOMER = E_KUNNR
    EXCEPTIONS
    KNKA_INSERT_ERROR = 23
    KNKK_INSERT_ERROR = 24.
    CALL FUNCTION 'CREDITCONTROL_INSERT_DEFAULT' IN UPDATE TASK
    EXPORTING
    kunnr = e_kunnr
    kkber = i_knvv-kkber
    knrze = i_knb1-knrze.
    ENDIF.
    (v) return-value "kernel function"
    (1) reset data of function kernel
    CLEAR: i_kna1,
    i_knb1,
    i_knvv.
    I_BAPIADDR1_01,
    I_BAPIADDR2_01.
    (2) error-handling
    return value sy-subrc, only in case sy-subrc = 0
    the exporting data customer_number (customerno)
    will be changed
    subrc = sy-subrc.
    CLEAR sy-subrc.
    -(3) set return values and leave the function -
    customerno (key-field of BO KNA1), pe_customer, return
    PERFORM returnsubrc_1
    USING subrc
    e_kunnr
    CHANGING e_kunnr
    return.
    IF subrc = 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    ENDFUNCTION.

  • Creation of customer using BAPI_CUSTOMER_CREATEFROMDATA1

    hi Techies..
    i want to create customer in effects in KNA1.
    iam using FM "BAPI_CUSTOMER_CREATEFROMDATA1".
    first is it correct one to create customer.
    nxt is the mandat fields given in documentation and mandat fields while we create through XD01 are different.
    plz list out mandat fields i need to pass...
    plz anyone help me out wts process of creation of customer through this bapi..
    Thanks in Adv..
    Raju Mummidi

    HI
    Re: BAPI function create Customer master(T-code XD01)??
    For XD01-- account group and customer number are mandatory.
    Re: BAPI for creating customers
    Regards
    Pavan

  • Details regarding Create customer master record

    Hi,
    Can anyone gv info regarding Creating customer master record.
    I need Existing Bapi's for the same.
    Thanks in advance.
    Purna

    Check out the bapi:BAPI_CUSTOMER_CREATEFROMDATA1.
    To know of how to use it, check its documentation, it is very well documented.
    hi karthik, shaik can not reward points as he did not mark this as a question.
    Regards
    Gopi

  • BAPI_CUSTOMER_CREATEFROMDATA1 (help)

    when i use the bapi,BAPI_CUSTOMER_CREATEFROMDATA1,we use the parameter PI_COMPANYDATA.
    there is always a error:
    <b>Invalid form of address key.</b>
    any suggestion is welcome.
    if you can give me a complete example it's better.
    thanks very much.

    Hi James,
    You pass an incorrect parameter for <b>PI_COMPANYDATA-TITLE_KEY</b>.
    Please check tables <b>TSAD3 and TSAD3T</b> for available values.
    Hope this will help.
    Regards,
    Ferry Lianto

  • 'Contact' field in BAPI_CUSTOMER_CREATEFROMDATA1

    hello gurus,
    i have a contact person coming in my flat file. i am creating customer using structure PI_PERSONALDATA. I don't see a field where I can put this 'Contact person'.
    This will be a different contact person as opposed to the customer that I am creating.
    How can I resolve this issue?
    Thanks in advance.
    Regards,
    Eddie
    P.S. Helpful answers will be rewarded.

    Hi Suresh,
    The following is what I got from documentation of BAPI_CUSTOMER_CREATEFROMDATA1.
    One person to be created as a customer:
    With the entered personal data, addresses of type 1 (company address), type 2 (address for a person/private address of a contact person), and type 3 (contact partner address) are created simultaneously in Central Address Management (CAM).
    If the "Allow Consumer Maintenance" indicator is set, then a consumer is created in SAP R/3. (See also: import parameter PI_CONSUMEREN ).
    (a) No consumers to be created:
    The entered personal data has a direct influence on the master data, company code data and <b>contact person data. One contact partner record is created for the customer in question.</b> All the master data, company code data, sales area data, tax code data, and reminder data that is not entered is adopted from a reference customer and from the sales area data (sales organization, distribution channel and division - import parameter PI_COPYREFERENCE).
    I'm not sure what they are implying. But I think there is some way where the contact person is assigned.
    What do you think?
    Regards,
    Eddie.

  • Create new customer using BAPI BAPI_CUSTOMER_CREATEFROMDATA1

    Hi There,
    I am trying to create a new customer in SAP through BAPI for demo purpose. The BAPI function I used is BAPI_CUSTOMER_CREATEFROMDATA1. However, the BAPI call requires a reference customer. How can I find a valid reference customer in SAP? Furthermore, is it correct at all to use this BAPI function to create a new customer? Is there any other BAPI function that I can use to do the same stuff? Thanks a lot in advance for your help!
    Thanks,
    Lei

    Hi,
    I didn't get which system of SAP are you refering to , but as this forum is for CRM i assume that you want to create customer in CRM.
    So for creating a customer in CRM you can use the BAPI,
    BAPI_BUPA_CREATE_FROM_DATA
    and for getting the reference customer jsut execute the following FM in test enviroment to get the Business Partner no and Business Partner GUID.
    CRM_BUPA_CONSUMER_GET_REFERENC
    Hope this helps.
    Regards
    Sidd

  • Regarding sy-index and sy-tabix

    Hi,
    What is the major difference between sy-index and sy-tabix ,
      can you give me one good example with code..
    Regards,
    Reddy.

    Hi,
    SY-TABIX - Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
    APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    SEARCH FOR sets SY-TABIX to the index of the table line in which the search string is found.
    SY_INDEX - In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    sy-tabix is the tab index - the index of the record in the internal table you are accessing,
    sy-index is the loop counter.
    If you use a condition in LOOP the sy-index will go from 1 to n, but sy-tabix will refer to the line in the internal table.
    Hope this helps u.
    Thanks,
    Ruthra

  • Regarding Field Missing in Dso Transformation

    Hi
    Folks
    I am facing the issue like
    In Datasouce to DSO transformation i can see the 55 objects in DSO table, and in DSO to Cube Transformation i can see 54 fields in DSO table, one field is missing , the object  0TXTSH(short discription) is mapped to field 0TXZ01in DS to DSO transformation.
    so How can i get the field in DSO to Cube transformation.??
    any settings have to be change???
    waiting for yours Valuable answers
    Regards
    Anand

    Hi,
    Please identify the object and check it whether it is an attribute or a characteristic, if it is attribute only disable that option then check it.
    Regards,
    Srinivas

  • I am having an issue regarding a placed order via customer service department

    I recently relocated to Anchorage Alaska as part of a permanent change of station per the United States Air Force. I was initially located on the East Coast in the lower 48 and at the time of activating my contract I had purchased two separate Iphone 4 devices. I also recently went in to a store in February to purchase a Nexus 7 as well.
    Upon arrival in Anchorage I had multiple issues regarding the Iphone 4 devices including being unable to send and receive text messages & imessages, unable to make phone calls, dropped phone calls, unable to utilize GPS, as well as not being able to access general account information and use anything related to web browsing or data usage. It was determined that because the Iphone 4 operates on the 3g network and Verizon does not have a 3g network in Alaska, as a result I was utilizing an extended service network from another carrier. As a result of this I am only able to use my Iphone 4 devices while connected to my wi-fi network while within my home, which is totally unacceptable.
    I was not made aware that I would be dealing with this when I moved to Alaska and inquired as the the use of the devices I currently owned prior to purchasing the tablet. I was assured by three separate store employees one of which being a manager that all devices would function at 100% efficiency including the Iphone 4s. In fact I was recently billed 350$ for roaming charges last month, which prompted me to speak with a representative via the online chat regarding the significant increase she said that she was unable to process any sort of credit to the account regardless of what I had been told at a local Verizon store where I purchased the tablet.
    As a result of all of these mishaps since arriving here in Alaska I determined I was in need of newer devices that utilize the 4G LTE network currently provided by Verizon in Alaska. I know for a fact that the 4G LTE works great up here because my Nexus 7 tablet runs flawlessly and does not incur roaming charges when utilizing the 4G LTE network.
    Yesterday I attempted to contact Verizon through the live chat feature regarding upgrading two of the devices on my account. The live chat representative immediately asked me when my upgrade date was. Upon telling her my upgrade date 9/29/2014 she told me I should contact the customer service department as I might be eligible for an early upgrade. I then proceeded to contact the customer service department using my Iphone 4.
    My attempt to speak to anyone in the customer service department resulted in a merry-go-round of being put on hold 6 separate times by two different employees, both of which had me wait for more than an hour while they attempted to speak to a manager to gain approval for an early upgrade. The first rep seemed almost sure she would be able to have my devices upgraded early especially considering the issues I was having regarding service.
    The second rep seemed newer and was very dodgy about my questions and was very unwilling to help at first. He even mentioned that I had been a Verizon customer for almost two years, had never missed a single payment and had outstanding account history which should have garnered some sort of importance to the level of my request. But I digress, during this time I was disconnected from the call twice from each separate representative.
    Both reps assured me they would call me back, I never did get a call back from either one of those reps and I was becoming very frustrated having waited four hours trying to find some sort of solution to my current predicament.
    After waiting an hour for the second representative to call back I grew impatient and contacted the customer service department, was put on hold again, and finally reached a third customer service representative who was able to provide a solution for me.
    I explained everything I had been dealing with to Cory ID #  V0PAC61, both regarding the phones, the issue of the level of service I was receiving, the dire need for working devices and the multiple times I had been disconnected. I explained to him as a result of these issues I was certainly considering switching to a different provider, a local provider even who could provide me the adequate service that I require for my mobile devices.
    I explained to Cory that I had been with Verizon for almost two years, and I had been on a relatives account prior to owning my own Verizon account and had never received this kind of treatment when trying to work towards a simple solution. Cory proceeded to tell me he needed to put me on hold to see if there was anything that could be done regarding the upgrades of the device considering all of the trouble I had been dealing with.
    After Cory reconnected with me in the phone call he was able to successfully reach a solution by allowing me to upgrade my devices. We conversed about the options available and I eventually decided to upgrade both Iphone 4 devices to Moto X devices as we determined those would be sufficient for my needs while in Alaska. I also proceeded to add two Otter Box Defender cases to the order so that the devices would have sufficient protection. Cory inquired as to whether or not I would like to purchase insurance for the phones as well and I opted for the $5.00 monthly insurance which including damage and water protection.
    Cory explained to me the grand total for the devices which included an activation fee of $35.00 for each device, $49.99 for each Otter Box case, and an additional $50.00 for each device which would be refunded as a rebate upon receipt of the devices and activation, a rebate that I would be required to submit. Cory explained to me that the devices would most likely arrive Tuesday of 6/17 and no later than Wednesday 6/18.
    Cory took my shipping information and told me everything was all set and the only thing left to do was to transfer me to the automated service so that I could accept the 2 year agreement for both devices. I thanked him very much, took his name and ID# so that I might leave positive feedback about his exemplary customer service and was then transferred to the automated service.
    Once transferred to the automated service I was then prompted to enter both telephone numbers for the devices that would be upgraded, I was then required to accept the new 2 year agreement for both devices and after doing so I was required to end the call. I did so in an orderly fashion and expected a confirmation # to arrive in my email regarding the placed order.
    I have never received a confirmation email. I decided to sleep on it and assumed a confirmation email would be sent sometime tomorrow. Nothing has since been received however. I woke up early this morning around 6AM Alaska time to speak to another live chat representative, Bryan, in the billing department who assured me the order was currently processing and verified the order #. I asked him whether or not it was typical for a customer to not receive a confirmation email for an order placed and he said it can sometimes take up to 2-3 business days. He then stated that he had taken note of the issues I was experiencing and told me he would transfer me to the sales department as they would be able to provide more information regarding the shipment of both devices and a confirmation email, as he stated he did not want me to have to wait any longer than necessary to receive said devices.
    I was then transferred to Devon in the sales department via the live chat service where I was then required to repeat everything I had said to both Bryan and the other representatives I had spoken too. After a lengthy discussion and repeating everything I have just wrote he told me the order was indeed processing and that he would send a confirmation email in the next 30 minutes.
    That was 2 hours ago. It is now 8am Alaska time and I still have not received a confirmation email regarding my order. I was sent an email by Verizon an hour ago stating I had a device to "discover". The email contained no information regarding the shipment of my device, the order confirmation number, or anything regarding my account. The email I received was a typical spam email asking an individual to check out the current available phones and sign up for a new contract.
    All I want is a confirmation email to assure that the devices are being sent. I need my phone for work and to communicate with my family in the lower 48. I desperately need to make sure that the device is in fact being sent to the proper address, this is why a confirmation email of the order is so important. I do not care about the shipping speed I just want what I ask to be taken care of for a change. I would hate to sit here unable to determine what the status of my devices are only for the order to be stuck in "processing" limbo and be unable to receive the devices when I was told they would be sent.
    I feel I have been given the run around treatment way more than is typically given with any company when an individual is trying to work towards a solution. I have been patient and cordial with everyone I have spoken with, I have not raised my voice or shown stress or anger towards the situation I have only tried my best to work towards a solution with anyone I have spoken too but I am becoming increasingly frustrated with this situation.
    Any help regarding this matter would be greatly appreciated. This situation has left a sour taste in my mouth and if the devices were indeed not actually processed in an order, or they were not shipped correctly, or in fact if the order had never existed at all it will only deter me from keeping my Verizon account active and affect my decision to switch to another provider.

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

  • Regarding training and event management queries

    hi experts,
    in my company we have ess in which training and event management module is working fine.i need to develop a report in which training booked against employee through tc-psv1 means in sap-r/3 and through ess means tc-pv8i will come.means saggregation for sap r/3 and ess will come.
    please help me regarding this.
    how will i identifie that training has been booked against employees  through sap r/3 or ess on what paramenet we will identifie.
    plz help me....
    is there any function module;....

    solved by own

  • Regarding Exporting and Importing internal table

    Hello Experts,
    I have two programs:
    1) Main program: It create batch jobs through open_job,submit and close job.Giving sub program as SUBMIT.
    I am using Export IT to memory id 'MID' to export internal table data to sap memory in the subprogram.
    The data will be processed in the subprogram and exporting data to sap memory.I need this data in the main program(And using import to get the data,but it is not working).
    Importing IT1 from memory id 'MID' to import the table data in the main program after completing the job(SUBMIT SUBPROGRAM AND RETURN).
    Importing is not getting data to internal table.
    Can you please suggest something to solve this issue.
    Thank you.
    Regards,
    Anand.

    Hi,
    This is the code i am using.
    DO g_f_packets TIMES.
    * Start Immediately
           IF NOT p_imm IS INITIAL .
             g_flg_start = 'X'.
           ENDIF.
           g_f_jobname = 'KZDO_INHERIT'.
           g_f_jobno = g_f_jobno + '001'.
           CONCATENATE g_f_jobname g_f_strtdate g_f_jobno INTO g_f_jobname
                                                  SEPARATED BY '_'.
           CONDENSE g_f_jobname NO-GAPS.
           p_psize1 = p_psize1 + p_psize.
           p_psize2 = p_psize1 - p_psize + 1.
           IF p_psize2 IS INITIAL.
             p_psize2  = 1.
           ENDIF.
           g_f_spname = 'MID'.
           g_f_spid = g_f_spid + '001'.
           CONDENSE g_f_spid NO-GAPS.
           CONCATENATE g_f_spname  g_f_spid INTO g_f_spname.
           CONDENSE g_f_spname NO-GAPS.
    * ... (1) Job creating...
           CALL FUNCTION 'JOB_OPEN'
             EXPORTING
               jobname          = g_f_jobname
             IMPORTING
               jobcount         = g_f_jobcount
             EXCEPTIONS
               cant_create_job  = 1
               invalid_job_data = 2
               jobname_missing  = 3
               OTHERS           = 4.
           IF sy-subrc <> 0.
             MESSAGE e469(9j) WITH g_f_jobname.
           ENDIF.
    * (2)Report start under job name
           SUBMIT (g_c_prog_kzdo)
                  WITH p_lgreg EQ p_lgreg
                  WITH s_grvsy IN s_grvsy
                  WITH s_prvsy IN s_prvsy
                  WITH s_prdat IN s_prdat
                  WITH s_datab IN s_datab
                  WITH p1      EQ p1
                  WITH p3      EQ p3
                  WITH p4      EQ p4
                  WITH p_mailid EQ g_f_mailid
                  WITH p_psize EQ p_psize
                  WITH p_psize1 EQ p_psize1
                  WITH p_psize2 EQ p_psize2
                  WITH spid     EQ g_f_spid
                  TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                  VIA JOB g_f_jobname NUMBER g_f_jobcount AND RETURN.
    *(3)Job closed when starts Immediately
           IF NOT p_imm IS INITIAL.
             IF sy-index LE g_f_nojob.
               CALL FUNCTION 'JOB_CLOSE'
                 EXPORTING
                   jobcount             = g_f_jobcount
                   jobname              = g_f_jobname
                   strtimmed            = g_flg_start
                 EXCEPTIONS
                   cant_start_immediate = 1
                   invalid_startdate    = 2
                   jobname_missing      = 3
                   job_close_failed     = 4
                   job_nosteps          = 5
                   job_notex            = 6
                   lock_failed          = 7
                   OTHERS               = 8.
               gs_jobsts-jobcount = g_f_jobcount.
               gs_jobsts-jobname  = g_f_jobname.
               gs_jobsts-spname   = g_f_spname.
               APPEND gs_jobsts to gt_jobsts.
             ELSEIF sy-index GT g_f_nojob.
               CLEAR g_f_flg.
               DO.                         " Wiating untill any job completion
                 LOOP AT gt_jobsts into gs_jobsts.
                   CLEAR g_f_status.
                   CALL FUNCTION 'BP_JOB_STATUS_GET'
                     EXPORTING
                       JOBCOUNT                         = gs_jobsts-jobcount
                       JOBNAME                          = gs_jobsts-jobname
                    IMPORTING
                       STATUS                           = g_f_status
    *            HAS_CHILD                        =
    *          EXCEPTIONS
    *            JOB_DOESNT_EXIST                 = 1
    *            UNKNOWN_ERROR                    = 2
    *            PARENT_CHILD_INCONSISTENCY       = 3
    *            OTHERS                           = 4
                   g_f_mid = gs_jobsts-spname.
                   IF g_f_status = 'F'.
                     IMPORT gt_final FROM MEMORY ID g_f_mid .
                     FREE MEMORY ID gs_jobsts-spname.
                     APPEND LINES OF gt_final to gt_final1.
                     REFRESH gt_prlist.
                     CALL FUNCTION 'JOB_CLOSE'
                       EXPORTING
                         jobcount             = g_f_jobcount
                         jobname              = g_f_jobname
                         strtimmed            = g_flg_start
                       EXCEPTIONS
                         cant_start_immediate = 1
                         invalid_startdate    = 2
                         jobname_missing      = 3
                         job_close_failed     = 4
                         job_nosteps          = 5
                         job_notex            = 6
                         lock_failed          = 7
                         OTHERS               = 8.
                     IF sy-subrc = 0.
                       g_f_flg = 'X'.
                       gs_jobsts1-jobcount = g_f_jobcount.
                       gs_jobsts1-jobname  = g_f_jobname.
                       gs_jobsts1-spname   = g_f_spname.
                       APPEND gs_jobsts1 TO gt_jobsts.
                       DELETE TABLE gt_jobsts FROM gs_jobsts.
                       EXIT.
                     ENDIF.
                   ENDIF.
                 ENDLOOP.
                 IF g_f_flg = 'X'.
                   CLEAR g_f_flg.
                   EXIT.
                 ENDIF.
               ENDDO.
             ENDIF.
           ENDIF.
           IF sy-subrc <> 0.
             MESSAGE e539(scpr) WITH g_f_jobname.
           ENDIF.
           COMMIT WORK .
         ENDDO.

  • Who do I complain to regarding an Apple iPhone upgrade that has taken my my full screen contact picture and turned it into a tiny circle that is hard to see at a glance!!!

    I'm trying to find an outlet for the frustration I feel regarding the "upgrade" that replaced my full screen picture for my contact numbers to a tiny, little dot in the right hand corner.  Are they going to give us an option to go back or did someone  just need to justify their job by making  changes??

    Apple.com/feedback

  • Is there a major flaw with Iphoto in regards to organizing and backing up?

    Is there a major flaw with Iphoto in regards to organizing and backing up? And how should I proceed??
    Here is my story. I have moved roughly 15,000 photos from 7 computers (4 PCs and 3 Macs - basically everyone's computer in the family) onto one external hard drive. The photos were taken by many different digital cameras, are sparsely labeled, and have the most random names and folders. There are a LOT of duplicates. MY MISSION - label and back them up.
    The way I normally deal with photos/DATA is this: I plug my camera into my Mac and immediately think about organizing and backing them up. With "Preview" I look at photos (and decide which one I like), create a folder called "where-ever I took these photos" and drag them into that folder. The problem with Iphoto is that you have no ability to control folders, unlike many other applications.
    For example, in Itunes you can rename an artist, or even an album, and it will automatically appear in an updated folder. If you alter a photo in Photoshop, it makes you save it is a new file. In Iphoto you cannot make the same "root level" changes without making duplicates. From what I understand, you can place photos into an Album and then export that album (which makes duplicates). Iphoto will rename each duplicate file and then place it in the correct folder. The problem here is I have no idea where the original is to delete it.
    Basically I want to create folders called "Trip to Italy 2003" or "Rachel's Wedding" and place all the photos associated with that event in those folders. The problem I run into is that I have a bunch of duplicates. I have heard of a program called Duplicate Annihilator which has gotten favorable reviews. If I import them into Iphoto all the photos are placed in random named folders. I say random because some of the photos were taken on cameras that didn't have the date set correctly. Hence some of my photos will appear in a labyrinth of folders called "Modified / 2001 / Roll 17 / DCM482 / Image25874654.jpg"
    I am totally willing to wipe my Iphoto library clean and start again if there is a way to organize the photos as described above. Eventually I will take these folders and save them on a data DVD.
    Thanks to anyone who can help.
    Gary

    You do not need to delve into the folders within the iPhoto Library via the finder to access any photo. That is all done within iPhoto itself. If you need a photo for use outside of iPhoto read Terence Devlin's treatise on file access. iPhoto is a DAM application - Digital Asset Management, not a folder manager. There's a big difference. You can use keywords, album and smart albums to organize your photos.
    If you still have the original files you might consider what I do. I rename each file with the date it was taken using the international date format: YYYY-MM-DD-001.jpg. You can download the demo version ofMedia Expression and automatically rename each folder of photos with the EXIF date and a sequential number. This makes chronological searching and sorting much easier both in iPhoto and the Finder.
    If you want to not only manage the photos but the folders then Expression Media will let you do both. It will let you rename files after being imported into a catalog, move them between folders, add ITPC metadata to the files, create virtual albums called Supplemental categories, and much, much more. I use it as my primary DAM and iPhoto for special projects like books, slideshows, calendars, etc.

Maybe you are looking for

  • Once my iBook updated it take a long time to downloaded it

    From iTunes store My free iBook has just 13 mo and it took more than 10 minutes to get it frome iBook store Is there a way to get it faster as it used to be before the update?

  • Mise à jour

    Since a few months, I cannot install the update of products Adobe Creative Suite. Here is the message which it sends me:    Updated Photoshop 12.0.4 for Photoshop CS5   An error occurred during the download of this update. Leave and re-try later. I m

  • Serial number won't work with product installed.

    Why won't the serial number supplied with Acrobat Pro XI work for installed product?

  • Mobile Web Development

    I need to do a mobile web page but i can't find any information or tutorials on how to do i. My question is can i use Java Server Faces for this ? What kind of ide's support this kind of development ? Do i have to use WAP or can i program in HTML ? T

  • Want to find settings used on camcorder in existing iMovie 2009 project

    With an existing iMovie project made last year, how can I determine the settings used on camcorder?  I used iMovie 2009.