G/L ACC CREATION
Hi gurus,
When creat the G/L ACC the following error appear
Account XXX does not exist in chart of acc YYYA
for specified co. code YYY.
Pls help me.
Regards,
T.Murugu
Hi santhosh,
YYY is not a year company code.This is for example.
T.Murugu
Similar Messages
-
ITunes 12 - ACC Creation and Get Info
HI
Does anyone know how I can convert MP3's to AAC also how can I add art work without Get Info?
The right click functions before the upgrade did everything I needed it to, now thats lost except for very few options on the ...
In the last few years apple have taken away more functionality than it adds to iTunes, I still miss a link where i could see every new release each week, which I'm sure caused me to spend even more money with apple!
Thanks in advanceWhile this is definitely a workaround, I thought I might suggest something. The fields seem to be type sensitive on iTunes 12.
So, Album, Album Artist, and some others are available for Music/Music Videos. So, if you have your tracks as something other than these, it won't show up. However, iTunes 12 doesn't delete fields, so you could change the type to Music Video and then put info into those fields, then change the type back to whatever you had them as in the first place.
I did this while importing some TV Seasons. The strange thing is that iTunes still lists Album on the unwatched list for TV Seasons. So, for those that are imported, it says unknown album. It's bad enough that Apple took away some useful fields from some types in the standard Get Info window, and then didn't even allow you to add them back again if you wanted, but they actually use these fields in some views and it messes those views up.
Hope this helps. -
While creation of wbs element system show ticks on Acc Asgn & Planning elem
Dear All,
In CJ20N Tcode i am creating Project Defn. & WBS Elements.
I needed such functionality like when i enter TCode CJ20N & creating WBS Elements then, system should show the Ticks on Planning Element & Account Assignment Element which must appear on selecting the main screen of the WBS.
Presently we have done it thru substitution. Thru this we are getting the result, but it is only after saving the WBS.Only way I can see the Planning element checked before saving is going to Edit - Validation/Substitution - Substituion...in CJ20N and the check box gets ticked before saving. Again its using the functionality of Substituion only but you can see the check box ticked before saving.
Hope it helps.
Arya -
Problems in Creation of Limit based PO's
Dear Forum,
As per my req I am creating a limit Based PO with reference to limit based PR using the FM BAPI_PO_CREATE1 in 4.6c.
I encountered so many errors like 'PO contains faulty item data' 'Assign acc data correctly'. I searched max in forums for solution. But I have not come across the limit based PO creation solution. I fcould found so may service based PO creation.
Checked may notes.
request you all to provide the solution of creating Limit Based PO (which structures I need to update)with reference to PR.
Kindly find my code below and provide me the solution.
v_ponum = p_i_eban_banfn.
v_pitem = p_i_eban_bnfpo.
CONCATENATE v_ponum v_pitem INTO v_fnum.
header-po_number = p_i_eban_banfn.
header-comp_code = c_comp.
header-doc_type = p_i_eban_bsart.
header-creat_date = sy-datum.
header-vendor = c_lifnr.
header-purch_org = c_org.
header-pur_group = p_i_eban_ekgrp.
header-vper_start = sy-datum.
header-vper_end = c_date.
*populate header flag.
headerx-po_number = c_x.
headerx-comp_code = c_x.
headerx-doc_type = c_x.
headerx-creat_date = c_x.
headerx-vendor = c_x.
headerx-purch_org = c_x.
headerx-pur_group = c_x.
headerx-vper_start = c_x.
headerx-vper_end = c_x.
*POPULATE ITEM DATA.
item-po_item = p_i_eban_bnfpo.
item-preq_no = p_i_eban_banfn.
item-preq_item = p_i_eban_bnfpo.
item-acctasscat = p_i_eban_knttp.
item-po_unit = c_uom.
item-short_text = p_i_eban_txz01.
item-net_price = p_i_eban_preis.
item-po_unit_iso = c_uom.
item-plant = p_i_eban_werks.
item-quantity = p_i_eban_menge.
item-tax_code = c_a0.
item-vend_mat = p_i_eban_idnlf.
item-item_cat = 'B'.
item-pckg_no = '0000000001'.
APPEND item.
*POPULATE ITEM FLAG TABLE
itemx-po_item = p_i_eban_bnfpo.
itemx-plant = c_x .
itemx-preq_no = c_x.
itemx-preq_item = p_i_eban_bnfpo.
itemx-acctasscat = c_x.
itemx-quantity = c_x .
itemx-vend_mat = c_x.
itemx-tax_code = c_x .
itemx-po_unit = c_x.
itemx-short_text = c_x.
itemx-po_unit_iso = c_x.
item-item_cat = 'X'.
itemx-pckg_no = 'X'.
APPEND itemx.
*POPULATE SCHEDULE TABLE
WRITE sy-datum TO gv_inv_date.
poschedule-po_item = p_i_eban_bnfpo.
poschedule-delivery_date = gv_inv_date.
poschedule-preq_no = p_i_eban_banfn.
poschedule-preq_item = p_i_eban_bnfpo.
APPEND poschedule.
*POPULATE SCHEDULE FLAG TABLE
poschedulex-po_item = p_i_eban_bnfpo.
poschedulex-del_datcat_ext = c_x.
poschedulex-delivery_date = c_x.
poschedulex-preq_no = c_x.
poschedulex-preq_item = c_x.
APPEND poschedulex.
populating Account table
t_acc-po_item = '00010'.
t_acc-serial_no = '01'.
t_acc-gl_account = '0621150001'.
t_acc-costcenter = '0020011813'.
APPEND t_acc.
populating Account flag table
t_accx-po_item = '00010'.
t_accx-serial_no = '01'.
t_accx-po_itemx = 'X'.
t_accx-serial_nox = 'X'.
t_accx-gl_account = 'X'.
t_accx-costcenter = 'X'.
APPEND t_accx.
populating limit table
t_limit-pckg_no = '0000000001'.
t_limit-limit = p_i_eban_preis.
t_limit-no_limit = ' '.
t_limit-exp_value = p_i_eban_preis.
t_limit-no_frlimit = 'X'.
APPEND t_limit.
Populating srvaccessvalues table
t_serv_acc-pckg_no = '0000000001'.
t_serv_acc-line_no = '0000000000'.
t_serv_acc-serno_line = '01'.
t_serv_acc-percentage = '100.0'.
t_serv_acc-serial_no = '01'.
APPEND t_serv_acc.
*POPULATE CONDITION TABLE
pocond-itm_number = p_i_eban_bnfpo.
pocond-cond_type = c_zbpr.
p_i_eban_preis = p_i_eban_preis / 10.
pocond-cond_value = p_i_eban_preis.
pocond-change_id = 'I'.
APPEND pocond.
*POPULATE CONDITION FLAG TABLE
pocondx-cond_type = c_x.
pocondx-itm_number = i_eban-bnfpo.
pocondx-cond_value = c_x.
pocondx-change_id = c_x.
APPEND pocondx.
**bapi create call
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = header
poheaderx = headerx
TABLES
return = return
poitem = item
poitemx = itemx
poschedule = poschedule
poschedulex = poschedulex
poaccount = t_acc
poaccountx = t_accx
pocond = pocond
pocondx = pocondx
polimits = t_limit
posrvaccessvalues = t_serv_acc.Hi Venkat Prasad
As you told that the query is on multi provider and the view is not allowing to declare/define filter value
Just drag the infoprovider info object avilable under packet dimension to rows and right click on it restrict by selecting the name of the info provider when u right click it will show you the option of restrict once u click on it,it will takes to u a pop up where you can able to see the name of info providers and you specify according to it and finally in the display of results if you dont want to to display the info provider name then just right click on the 0infoprovider object under rows go to properties then choose hide option under display.
Hope its clear a little..!
Thanks
K M R
**Assigning points is the only way of saying thanks in SDN***
>
venkata prasad wrote:
> Hi K M R,
>
> Thanks for ur quick response. Most of the Infoobjects are common for both infocubes. I didn't understand this sentense "retrict the value with the infoprovider which values you are trying to view".
> Please explian elaborately how to restrict the values speicfic to infoprovider under rows. -
I'm trying to create a new ichat Acc because for some reason the old one is not working, so I go to Create an Apple ID and start creating a new apple ID, when I submit the Acc it tells me that my Email address is already verified for another Apple ID and thats the only email address I have... What can I do?
There is no way to consolidate iTunes accounts.
Setting up an iPhone has never required creation of a new Apple ID.
You've apparently purchased content with both Apple ID's. Sign into the device with the correct Apple ID and sync the content. -
Hi,
Currently I'm facing an error "In case of account assignment, please enter acc. assignment data for item" when create a Purchase Order using BAPI_PO_CREATE1. The condition of the data that need to pump into the system is that this PO is an open item PO where does not require a metarial code for input, but it will pump in Short Text and Material Group. Other than that, the account assignment category is "K" and the item category is "9".
Below is the coding that I have implemented.
IF wa_temp_upr1-waers IS NOT INITIAL.
MOVE wa_temp_upr1-waers TO wa_header-currency.
wa_headerx-currency = abap_true.
ENDIF.
MOVE: wa_temp_upr1-lifnr TO wa_header-vendor,
wa_temp_upr1-unsez TO wa_header-collect_no,
wa_temp_upr1-bukrs TO wa_header-comp_code,
sy-datum TO wa_header-doc_date,
sy-langu TO wa_header-langu,
'KTN1' TO wa_header-purch_org,
wa_temp_upr1-bkgrp TO wa_header-pur_group,
wa_temp_upr1-zterm TO wa_header-pmnttrms.
wa_headerx-collect_no = abap_true.
wa_headerx-po_number = abap_true.
wa_headerx-comp_code = abap_true.
wa_headerx-vendor = abap_true.
wa_headerx-doc_date = abap_true.
wa_headerx-langu = abap_true.
wa_headerx-purch_org = abap_true.
wa_headerx-pur_group = abap_true.
wa_headerx-pmnttrms = abap_true.
IF wa_temp_upr1-meins IS NOT INITIAL.
MOVE wa_temp_upr1-meins TO zunit_e.
CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
EXPORTING
INPUT = zunit_e
LANGUAGE = 'E'
IMPORTING
OUTPUT = zunit_e.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ELSE.
MOVE zunit_e TO wa_temp_upr1-meins.
ENDIF.
MODIFY it_upr1 FROM wa_temp_upr1.
ENDIF.
ADD 10 TO line_item.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'SERVICE'
IMPORTING
NUMBER = pckg_no.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = wa_temp_upr1-matnr
IMPORTING
OUTPUT = wa_po_item-material.
MOVE: line_item TO wa_po_item-po_item,
wa_temp_upr1-ewerks TO wa_po_item-plant,
wa_temp_upr1-lgort TO wa_po_item-stge_loc,
wa_temp_upr1-matnr TO wa_po_item-material,
wa_temp_upr1-menge TO wa_po_item-quantity,
wa_temp_upr1-peinh TO wa_po_item-price_unit,
wa_temp_upr1-netpr TO wa_po_item-net_price,
wa_temp_upr1-meins TO wa_po_item-po_unit,
wa_temp_upr1-afnam TO wa_po_item-preq_name,
wa_temp_upr1-eeind TO wa_po_item-price_date,
' ' TO wa_po_item-gr_ind,
'X' TO wa_po_item-ir_ind,
'X' TO wa_po_item-prnt_price,
' ' TO wa_po_item-distrib.
wa_po_item-acctasscat = 'K'.
MOVE pckg_no TO wa_po_item-pckg_no.
wa_po_itemx-pckg_no = abap_true.
IF wa_temp_upr1-bismt IS INITIAL.
MOVE: wa_temp_upr1-short_text TO wa_po_item-short_text,
wa_temp_upr1-matl_group TO wa_po_item-matl_group,
'9' TO wa_po_item-item_cat.
wa_po_itemx-short_text = abap_true.
wa_po_itemx-matl_group = abap_true.
wa_po_itemx-item_cat = abap_true.
wa_potext-po_item = wa_po_item-po_item.
wa_potext-text_id = 'F01'.
APPEND wa_potext TO it_potext.
ENDIF.
MOVE wa_po_item-po_item TO wa_po_itemx-po_item.
wa_po_itemx-plant = abap_true.
wa_po_itemx-po_itemx = abap_true.
wa_po_itemx-stge_loc = abap_true.
IF wa_po_item-material IS NOT INITIAL.
wa_po_itemx-material = abap_true.
ENDIF.
wa_po_itemx-quantity = abap_true.
wa_po_itemx-price_unit = abap_true.
wa_po_itemx-net_price = abap_true.
wa_po_itemx-po_unit = abap_true.
wa_po_itemx-preq_name = abap_true.
wa_po_itemx-price_date = abap_true.
wa_po_itemx-acctasscat = abap_true.
wa_po_itemx-gr_ind = abap_true.
wa_po_itemx-distrib = abap_true.
wa_po_itemx-part_inv = abap_true.
APPEND wa_po_item TO it_item.
APPEND wa_po_itemx TO it_itemx.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = wa_temp_upr1-kostl
IMPORTING
OUTPUT = wa_temp_upr1-kostl.
wa_account-costcenter = wa_temp_upr1-kostl.
ADD 1 TO l_acc.
ADD 10 TO v_po_item.
MOVE v_po_item TO wa_account-po_item.
MOVE '01' TO wa_account-serial_no.
APPEND wa_account TO it_account.
wa_accountx-costcenter = abap_true.
MOVE v_po_item TO wa_accountx-po_item.
MOVE '01' TO wa_accountx-serial_no.
wa_accountx-SERIAL_NOX = abap_true.
wa_accountx-po_itemx = abap_true.
APPEND wa_accountx TO it_accountx.
*********** services
wa_services-pckg_no = pckg_no.
wa_services-line_no = '0000000001'.
wa_services-outl_ind = 'X'.
wa_services-subpckg_no = pckg_no + 1.
wa_services-quantity = wa_temp_upr1-menge.
wa_services-base_uom = wa_temp_upr1-meins.
wa_services-price_unit = wa_temp_upr1-peinh.
wa_services-gr_price = wa_temp_upr1-netpr.
IF wa_temp_upr1-short_text IS NOT INITIAL.
wa_services-short_text = wa_temp_upr1-short_text.
ENDIF.
APPEND wa_services TO it_services.
CLEAR: wa_services,
val_lin.
wa_services-pckg_no = pckg_no + 1.
wa_services-line_no = '0000000002'.
wa_services-quantity = wa_temp_upr1-menge.
wa_services-base_uom = wa_temp_upr1-meins.
wa_services-price_unit = wa_temp_upr1-peinh.
wa_services-gr_price = wa_temp_upr1-netpr.
IF wa_temp_upr1-short_text IS NOT INITIAL.
wa_services-short_text = 'SERVICE 1'.
ENDIF.
IF NOT wa_temp_upr1-matl_group IS INITIAL.
wa_services-matl_group = wa_temp_upr1-matl_group.
ENDIF.
APPEND wa_services TO it_services.
************* service account assignment
wa_services_acc-pckg_no = pckg_no + 1.
wa_services_acc-line_no = '0000000002'.
wa_services_acc-serno_line = '01'.
wa_services_acc-quantity = wa_temp_upr1-menge.
wa_services_acc-serial_no = '01'.
wa_services_acc-net_value = wa_temp_upr1-netpr.
APPEND wa_services_acc TO it_services_acc.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = wa_header
POHEADERX = wa_headerx
TESTRUN = pa_test
NO_PRICE_FROM_PO = 'X'
IMPORTING
EXPPURCHASEORDER = va_ebeln
EXPHEADER = wa_expheader
TABLES
RETURN = it_return
POITEM = it_item
POITEMX = it_itemx
POACCOUNT = it_account
POACCOUNTX = it_accountx
POSERVICES = it_services
POSRVACCESSVALUES = it_services_acc
POTEXTITEM = it_potext.
I have done some search regarding this error and try to implemented it, but still does not working.
example website that i found for this error is:
David Klein's Corner: SAP Purchase Order Creation Error via BAPI - "In case of account assignment, please enter acc…
PO Upload through BAPI_PO_CREATE1 - Problem in Service Item
Currently my system is using: SAP_APPL SAPKH60604
I am really stuck on this error. Hope you all can help me on this matter.
Thanks.Hi,
Filling the service line have the problem,
while filling the services we must follow correct order,
Here You entering the new services, first manually create purchase order after that observe the table
'ESLL' and use the FM;-' MS_FETCH_SPEC_FOR_LIST' how the services are inserting after that you also follow the same order.
if service entries are created before the creation of the PO.
then follow as bellow....
SELECT * FROM esll INTO TABLE lt_esll WHERE packno = wa_tmp_spec-packno.
IF sy-subrc = '0'.
LOOP AT lt_esll.
CLEAR : lt_poservices.
lt_poservices-pckg_no = lt_esll-packno .
lt_poservices-line_no = lt_esll-introw .
lt_poservices-ext_line = lt_esll-extrow .
lt_poservices-outl_level = lt_esll-rang .
lt_poservices-outl_no = lt_esll-extgroup .
lt_poservices-outl_ind = lt_esll-del .
lt_poservices-subpckg_no = lt_esll-sub_packno .
lt_poservices-service = lt_esll-srvpos .
lt_poservices-edition = lt_esll-ausgb .
lt_poservices-ssc_item = lt_esll-stlvpos .
lt_poservices-ext_serv = lt_esll-extsrvno.
lt_poservices-quantity = lt_esll-menge .
lt_poservices-base_uom = lt_esll-meins .
lt_poservices-ovf_tol = lt_esll-uebto .
lt_poservices-ovf_unlim = lt_esll-uebtk .
lt_poservices-gr_price = lt_esll-tbtwr .
lt_poservices-from_line = lt_esll-frompos .
lt_poservices-to_line = lt_esll-knt_introw.
lt_poservices-short_text = lt_esll-ktext1 .
lt_poservices-distrib = lt_esll-vrtkz .
lt_poservices-pers_no = lt_esll-pernr .
lt_poservices-wagetype = lt_esll-lgart .
lt_poservices-con_pckg = lt_esll-knt_packno.
lt_poservices-con_line = lt_esll-knt_introw .
lt_poservices-matl_group = lt_esll-matkl .
lt_poservices-taxjurcode = lt_esll-txjcd.
lt_poservices-tax_code = lt_esll-mwskz .
lt_poservices-date = lt_esll-sdate .
APPEND lt_poservices TO lt_poservices[].
CLEAR lt_esll.
ENDLOOP.
ENDIF.
CALL FUNCTION 'MS_FETCH_SPEC_FOR_LIST'
EXPORTING
spec_packno = wa_tmp_spec-packno
* ONLINE_DATA = ' '
* IMPORTING
* LIMIT =
TABLES
servicetab = lt_ml_esll1
* LIMITTAB =
EXCEPTIONS
no_specification_exist = 1
OTHERS = 2.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
LOOP AT lt_ml_esll1 INTO DATA(ls_ml_esll1).
CLEAR : lt_poservices.
lt_poservices-pckg_no = ls_ml_esll1-packno .
lt_poservices-line_no = ls_ml_esll1-introw .
lt_poservices-ext_line = ls_ml_esll1-extrow .
lt_poservices-outl_level = ls_ml_esll1-rang .
lt_poservices-outl_no = ls_ml_esll1-extgroup .
lt_poservices-outl_ind = ls_ml_esll1-del .
lt_poservices-subpckg_no = ls_ml_esll1-sub_packno .
lt_poservices-service = ls_ml_esll1-srvpos .
lt_poservices-edition = ls_ml_esll1-ausgb .
lt_poservices-ssc_item = ls_ml_esll1-stlvpos .
lt_poservices-ext_serv = ls_ml_esll1-extsrvno.
lt_poservices-quantity = ls_ml_esll1-menge .
lt_poservices-base_uom = ls_ml_esll1-meins .
lt_poservices-ovf_tol = ls_ml_esll1-uebto .
lt_poservices-ovf_unlim = ls_ml_esll1-uebtk .
lt_poservices-gr_price = ls_ml_esll1-tbtwr .
lt_poservices-from_line = ls_ml_esll1-frompos .
lt_poservices-to_line = ls_ml_esll1-knt_introw.
lt_poservices-short_text = ls_ml_esll1-ktext1 .
lt_poservices-distrib = ls_ml_esll1-vrtkz .
lt_poservices-pers_no = ls_ml_esll1-pernr .
lt_poservices-wagetype = ls_ml_esll1-lgart .
lt_poservices-con_pckg = ls_ml_esll1-knt_packno.
lt_poservices-con_line = ls_ml_esll1-knt_introw .
lt_poservices-matl_group = ls_ml_esll1-matkl .
lt_poservices-taxjurcode = ls_ml_esll1-txjcd.
lt_poservices-tax_code = ls_ml_esll1-mwskz .
lt_poservices-date = ls_ml_esll1-sdate .
APPEND lt_poservices TO lt_poservices[].
CLEAR ls_ml_esll1.
ENDLOOP.
CLEAR : lt_poservices.
*& Filling the po service values internal table from service internal table
LOOP AT lt_poservices[] INTO lt_poservices WHERE gr_price GT 0.
READ TABLE lt_ml_esll1 INTO wa_msll WITH KEY packno = lt_poservices-pckg_no
introw = lt_poservices-line_no
extrow = lt_poservices-ext_line..
IF sy-subrc EQ 0.
CLEAR lt_posvalues.
lt_posvalues-pckg_no = wa_msll-packno.
lt_posvalues-line_no = wa_msll-introw.
lt_posvalues-quantity = wa_msll-menge.
* lt_posvalues-net_value = wa_msll-netwr.
lt_posvalues-serno_line = '01'.
lt_posvalues-serial_no = '01'.
* lt_posvalues-percentage = '100'.
APPEND lt_posvalues TO lt_posvalues[].
CLEAR : wa_msll.
ENDIF.
ENDLOOP.
note:- if it is correct give points -
Creation of new Excise Condition
I wanted to create a New Condition type for one specific NON CENVATABLE EXCISE duty .....
I am clear about creation of Condition types and addition of that condition at required place in PROCEDURE.
Do i need to make any other settings also ?
Regards
ShreyHI
Check if needed to assign any account key to this new condition type in your procedure if needed, then mantain the GL acc for the same.
If you are adding this condition type in your TAXINN procedure (assuming so) you need to create the condition type for the same by using trax FV11.
If you are adding your condition type in Pricing procedure then no ned to create the condition record.
Regards
Sujoy -
Purchase order creation - Account assignment group C (Sales Order)
Hello Gurus
During the purchase order creation in Me21N, account assignment category C (sales order) is available. In which scenario we will use it. When I assign C system is asking for a GL account. Why system needs a GL account, and how the posting will be at the time of goods receipt. Thanks for your help in advance.Hi,
Creation of Purchase Order with t.code: ME21N with account assignment category C (sales order) is used for Time and Material Expenses with third party scenario and you need to enter sales order number and respective G/L account . In this scenario 1st a sales order is created with a material( material created DIEN material type) & then purchase order created with respect to sales order.
Here you provide service to your customer and this service you procure from your vendor, you just play middle role for providing and getting service.Standard DIEN material type designed for Sales usage only, so you create sales order for service material.Service master is used to get service from vendor with item category D with proper account assignment category as C
Example:
Material type DIEN is used for when you offer "SERVICE" to your customer.( The steps are (VA01,VF01,VF04,F-28), If u used HR module( you can used with sales order with t.codes are: CAT2,CATS_APPR_LITE,CAT7,PR05,PRRW,PRFI)
Service Master records(AC01)ESM is used when you procure "SERVICE" from your vendor.( Steps are: ME21N with Item Cat. "D" with Acc. ***. Cat. "C", ML81N,MIRO & F-53).
Regards,
Biju K -
Creation of cost elements automatically
Hi,
When I selected "manual creation of cost elements" in OB13, Then we can create a group of cost elements in OKB2 followed by OKB3 and SM35.
Even I need to do same thing I when I select " automatic creation of cost elements" ??
I tried selecting " automatic creation of cost elements". and I checked in KA03 whether it had created any cost element automatically. but it didnt created any thing...
Please suggest..Dear Santosh Dharana,
Good Question. i can clarify you. this question
1. when you select in ob13 create cost elements manually
when your are using in obk2 we have to maintain here Acc from no. to Acc to no. ranges for Gl's and cost element categeory.
after we can run batch in put in obk3 & SM 35 it's updated successfully.
Note: After execute, *when you are try create another GL account with cost element we have to give cost element categeory by manually.
2.when you select in ob13 create cost elementsAutomatically
when your are using in obk2 we have to maintain here Acc from no. to Acc to no. ranges for Gl's and cost element categeory.
after we can run batch in put in obk3 & SM 35 it's updated successfully.
Note: After execute, when you are try create another GL account with cost element we don't have to give any cost element categeory here system automatically give .
Please try it. i worked for this one
Thanks & Regards
shankar -
Automatic project creation from sales order
Hi,
I am creating project from the sales order. I have all necessary configuration and maintained master data.
But during the creation of the project, I am getting 2 errors
1. I have to maintain network start date (maintained forward scheduling in customization) and systems prompts for availability check
2. After maintaining start date and confirming the ATP check, when I try to save the sales order, I get error like "Create Network: Project Allocation" where in I can see 2 standard projects, one SAP standard project and another which I created by copying this standard, against which there are 2 black fields for project definition. and below 3 options. COPY, ALLOCATE WBS ELEM and CREATE.
If cancel this, system asks ' Copy project allocation in the network?' if i say yes then i cant leave the above window and if i say no then new window pops up asking me for WBS element acc assgn and billing WBS elem.
Does anybody aware of this issue?
Please help.
ThanksHi,
If you want to have availability check on sales order then customize accordingly using OVZ9 & OVZ0. if you don't want availability check then you remove that customization with reference requirement class.
If you don't want have availability check in project with reference to network type, which I hope has been maintained in the system right now, you can skip that.
Secondly, your business requires where stock to be release (Sale order/ Project). For the same, kindly check in OVZG what has been maintained for special stock and for account assignment cat.
If you want to have through sale order, kindly use sale order stock.
Third, check in CN08, which all values has been defaulted with respect material number, generally if you want to run project through sale order and then header assigned network type is used.
I hope it would be helpful in resolving the issue.
Regards
Avisek Bhardwaj -
hi all,
I am very thankful to all of u.I am able to create a single po using bapi_po_create1 having any no of item .Plz tell me how to get more then one po. My program works fine for one po and n items but It doesn't work when I consider more then one Po Can anybody tell me sol.
My Program is.:
REPORT ZBAPI_CREATE_PO .
*DATA DECLARATION
CONSTANTS : C_X VALUE 'X'.
*Structures to hold PO header data
DATA : HEADER LIKE BAPIMEPOHEADER OCCURS 0 WITH HEADER LINE,
HEADERX LIKE BAPIMEPOHEADERX OCCURS 0 WITH HEADER LINE.
*Internal Tables to hold PO ITEM DATA
DATA : ITEM LIKE BAPIMEPOITEM OCCURS 0 WITH HEADER LINE,
ITEMX LIKE BAPIMEPOITEMX OCCURS 0 WITH HEADER LINE,
CON LIKE BAPIMEPOCOND OCCURS 0 WITH HEADER LINE,
CONX LIKE BAPIMEPOCONDX OCCURS 0 WITH HEADER LINE,
DEL LIKE BAPIMEPOSCHEDULE OCCURS 0 WITH HEADER LINE,
DELX LIKE BAPIMEPOSCHEDULX OCCURS 0 WITH HEADER LINE,
ACC LIKE BAPIMEPOACCOUNT OCCURS 0 WITH HEADER LINE,
ACCX LIKE BAPIMEPOACCOUNTX OCCURS 0 WITH HEADER LINE,
text like bapiMEPOTEXTHEADER OCCURS 0 WITH HEADER LINE,
*Internal table to hold messages from BAPI call
RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
data : w_header(40) value 'PO Header'.
data : ws_langu like sy-langu.
DATA: BEGIN OF ITAB_H OCCURS 0,
doctyp like HEADER-DOC_TYPE ,
vendor like HEADER-VENDOR ,
pur_org like HEADER-PURCH_ORG ,
po_no(10) ,
pur_grp(3) ,
COLL_NO LIKE HEADER-COLLECT_NO ,
SALES LIKE HEADER-SALES_PERS ,
TEL LIKE HEADER-TELEPHONE ,
REF LIKE HEADER-REF_1 ,
OUR_REF LIKE HEADER-OUR_REF ,
CURRENCY LIKE HEADER-CURRENCY ,
DOC_DATE(10) ,
END OF ITAB_H.
DATA : BEGIN OF ITAB_I OCCURS 0,
po_no(10) ,
Item_num like ITEM-PO_ITEM ,
amount(15) ,
d(10) ,
quantity like ITEM-QUANTITY ,
TEXT LIKE ITEM-SHORT_TEXT ,
UNIT LIKE ITEM-PO_UNIT ,
MAKTL LIKE ITEM-MATL_GROUP ,
TRAC LIKE ITEM-TRACKINGNO ,
REQ LIKE ITEM-PREQ_NAME ,
CUSTOMER LIKE ITEM-CUSTOMER ,
GL LIKE ACC-GL_ACCOUNT ,
wbs like acc-wbs_element ,
END OF ITAB_I.
DATA: num(8) TYPE n,
df TYPE d,
ps_posid(8),
e_pr_no LIKE bapiebanc-preq_no.
DATA: lv_filename TYPE string,
lv_fname TYPE string,
lv_path TYPE string,
lv_fpath TYPE string.
DATA: file LIKE rlgrap-filename.
DATA: jtab LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
data: ex_po_number type bapimepoheader-po_number.
CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = 'D:/PO_HEADER.TXT'
FILETYPE = 'DAT'
TABLES
DATA_TAB = ITAB_H
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = 'D:/PO_ITEM.TXT'
FILETYPE = 'DAT'
TABLES
DATA_TAB = ITAB_I
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
START-OF-SELECTION.
*DATA POPULATION
ws_langu = sy-langu. "Language variable
loop at itab_H.
*POPULATE HEADER DATA FOR PO
CALL FUNCTION 'RP_FORMATING_DATE'
EXPORTING
DATE_I = ITAB_H-DOC_DATE
BIRTH_DATE = 'X'
IMPORTING
DATE_O = ITAB_H-DOC_DATE
EXCEPTIONS
DATE_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
HEADER-COMP_CODE = '0020' .
HEADER-DOC_TYPE = itab_H-doctyp .
HEADER-VENDOR = ITAB_H-vendor .
HEADER-LANGU = ws_langu .
HEADER-PURCH_ORG = '0020' .
HEADER-PUR_GROUP = ITAB_H-PUR_GRP .
HEADER-DOC_DATE = ITAB_H-DOC_DATE.
HEADER-COLLECT_NO = itab_H-coll_no.
HEADER-SALES_PERS = ITAB_H-SALES.
HEADER-TELEPHONE = ITAB_H-TEL.
HEADER-REF_1 = ITAB_H-REF.
HEADER-OUR_REF = ITAB_H-OUR_REF.
header-PO_NUMBER = ITAB_H-po_no.
HEADER-CURRENCY = ITAB_H-CURRENCY.
APPEND HEADER.
*POPULATE HEADER FLAG.
HEADERX-comp_code = c_x.
HEADERX-doc_type = c_x.
HEADERX-creat_date = c_x.
HEADERX-vendor = c_x.
HEADERX-langu = c_x.
HEADERX-purch_org = c_x.
HEADERX-pur_group = c_x.
HEADERX-doc_date = c_x.
HEADERX-COLLECT_NO = c_x.
HEADERX-SALES_PERS = c_x.
HEADERX-TELEPHONE = c_x.
HEADERX-REF_1 = c_x.
HEADERX-OUR_REF = c_x.
headerx-po_number = c_x.
HEADERX-CURRENCY = C_X.
APPEND HEADERX.
*POPULATE ITEM DATA.
loop at itab_I WHERE PO_NO = ITAB_H-PO_NO .
ITEM-PO_ITEM = ITAB_I-item_num.
ITEM-ITEM_CAT = 'S'.
ITEM-ACCTASSCAT = 'P'.
ITEM-SHORT_TEXT = ITAB_I-TEXT.
ITEM-QUANTITY = ITAB_I-quantity.
ITEM-PO_UNIT = itab_I-unit.
ITEM-MATL_GROUP = ITAB_I-MAKTL.
ITEM-PLANT = '0020'.
ITEM-TRACKINGNO = ITAB_I-TRAC.
ITEM-PREQ_NAME = ITAB_I-REQ.
ITEM-INFO_UPD = 'X'.
item-NET_PRICE = ITAB_I-amount.
item-CUSTOMER = ITAB_I-CUSTOMER.
APPEND ITEM.
*POPULATE ITEM FLAG TABLE
ITEMX-PO_ITEM = ITAB_I-item_num.
ITEMX-ITEM_CAT = c_x.
ITEMX-ACCTASSCAT = c_x.
ITEMX-SHORT_TEXT = c_x.
ITEMX-QUANTITY = c_x.
ITEMX-PO_UNIT = c_x.
ITEMX-MATL_GROUP = c_x.
ITEMX-PLANT = c_x.
ITEMX-TRACKINGNO = c_x.
ITEMX-PREQ_NAME = c_x.
ITEMx-INFO_UPD = c_x.
itemx-NET_PRICE = c_x.
itemx-CUSTOMER = c_x.
APPEND ITEMX.
*POPULATE DELIVERY TABLE
DEL-DELIVERY_DATE = ITAB_I-d.
DEL-PO_ITEM = ITAB_I-item_num.
APPEND DEL.
*POPULATE CON FLAG TABLE
DELX-DELIVERY_DATE = C_X.
DELX-PO_ITEM = ITAB_I-item_num.
APPEND DELX.
*POPULATE account TABLE
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ITAB_I-GL
IMPORTING
output = ITAB_I-GL.
ACC-PO_ITEM = ITAB_I-item_num.
ACC-GL_ACCOUNT = ITAB_I-GL.
ACC-WBS_ELEMENT = itab_I-WBS.
APPEND ACC.
*POPULATE account FLAG TABLE
ACCX-PO_ITEM = itab_I-item_num.
ACCX-GL_ACCOUNT = C_X.
ACCX-WBS_ELEMENT = C_X.
APPEND ACCX.
endloop.
Endloop.
*BAPI CALL
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = HEADER
POHEADERX = HEADERX
IMPORTING
EXPPURCHASEORDER = ex_po_number
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = RETURN
POITEM = ITEM
POITEMX = ITEMX
POADDRDELIVERY =
POSCHEDULE = DEL
POSCHEDULEX = DELX
POACCOUNT = ACC
POACCOUNTPROFITSEGMENT =
POACCOUNTX = ACCX.
*Confirm the document creation by calling database COMMIT
IF sy-subrc EQ 0.
IF NOT ex_po_number IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
IMPORTING
RETURN =
ENDIF.
WRITE:/ 'Purchase ORDER-', ex_po_number, 'Created'.
ENDIF.
end-of-selection.
*Output the messages returned from BAPI call
LOOP AT RETURN.
WRITE / RETURN-MESSAGE.
ENDLOOP.
I shall be very thankful .I will give points to the helpful answers.
plz tell me as early as possible becauz it's urgent.
regards,
hemlataHere is the Psuedo code for the same.
1. Get the data from file to a internal table.
2. Seggregate your header and items into different tables. I am assuming there is some sort of indicator to identify which items belong to which header.
3.
LOOP AT HEADER
FILL THE HEADER DATA.
LOOP AT ITEAMS WHERE HEADER = HEADER.
FILL THE ITEM DATA
ENDLOOP.
CALL THE BAPI TO CREATE THE PO
CALL BAPI_TRANSACTION_COMMIT.
ENDLOOP.
Regards,
Ravi
Note : Please mark all the helpful answers -
Dear Experts,
We are using std BAPI for creating purchase requisitions i.e. BAPI_REQUISITION_CREATE. It is used to create prs with acc assingment Q for WBS. System is giving error - Not possible to determine any consumption account. With using the same input if we use ME51N then there is no error means no problem in configuration or assignment side.
Please suggest how to overcome this since because of error we have no option than to use manual creation using ME51N.
Regards,
ManojHi,
It could be the problem passing WBS element in the BAPI.
when you see the WBS element in the EBKN table with fileld PS_PSP_PNR has 8 characters, where as generaally WBS element has 24 char length. For that before passing WBS element through the bapi, Use the function module CONVERSION_EXIT_ABPSP_OUTPUT, or input appropriately with the help of developer to change the wbs element from 8 char to 24 char
Thanks
Raheem -
RMS and offline purchase order creation
Hi,
We are currently in CRP for RMS13 and discussing the options for buyers to have something on their laptop for PO creation while at the vendor or factory.
Unfortunately in the far Far East, the buyers tell us that internet bandwidth is scarse and/or unstable, hence remote access to RMS through e.g. Citrix-VPN may be an option, however not sufficient.
How do you approach this?
We are exploring an offline laptop application that has copies of relevant RMS foundation and item data, and when hooked up at RMS can ideally create the PO over RIB.
As we prefer packaged solutions over home built (buy-vs-build), is there anything on the market that you can recommend?
Thanks and regards,
ErikHi,
Creation of Purchase Order with t.code: ME21N with account assignment category C (sales order) is used for Time and Material Expenses with third party scenario and you need to enter sales order number and respective G/L account . In this scenario 1st a sales order is created with a material( material created DIEN material type) & then purchase order created with respect to sales order.
Here you provide service to your customer and this service you procure from your vendor, you just play middle role for providing and getting service.Standard DIEN material type designed for Sales usage only, so you create sales order for service material.Service master is used to get service from vendor with item category D with proper account assignment category as C
Example:
Material type DIEN is used for when you offer "SERVICE" to your customer.( The steps are (VA01,VF01,VF04,F-28), If u used HR module( you can used with sales order with t.codes are: CAT2,CATS_APPR_LITE,CAT7,PR05,PRRW,PRFI)
Service Master records(AC01)ESM is used when you procure "SERVICE" from your vendor.( Steps are: ME21N with Item Cat. "D" with Acc. ***. Cat. "C", ML81N,MIRO & F-53).
Regards,
Biju K -
Parked MM invoice creation time?
Hi,
I've been trying to find the parked MM document entry date but can't see it in any standard transactions or in FI tables.. Does anyone know if there is a specific table where the information is contained? Or if this field is maintained at all?
-MikkoThanks for the info, there I get to see the MM invoice parked document entry date. I saw it earlier from the transactions but just got confused because I thought it was the posted document entry date available also in table BKPF.
My requirement is basically to find out the "lifetime" of a parked document i.e. the time it was in parked status before posting. The data is then later used for process evaluation.
Surviving from the confusion and rephrasing my question, do you know where to find the accounting document creation date or the technical MM invoice posting date?
The posting date field can't be used as such because users can choose any date there. Also the entry date in table BKPF contains the same value as the original parked document creation date.
The scenario is thus the following:
1. MM invoice created/parked => entry date available in RBKP
2. MM invoice posted => Accounting document created (acc doc entry date = parked MM invoice entry date)
So is there any way to either see when the MM invoice was posted or the accounting document technically created?
Any help appreciated,
-Mikko -
Initmate Vendor Creation (MK01 + XK01)
Dear friends,
I want to initimate Acc. dept. after creating vendor using MK01 tcode. MK01 used by Purchase people to create vendor and acc. dept. maintain acc. assignment. I want to initimate Acc. dept after creating vendor automatically.
Our company used 46C version but we are not using workflow. So kindly give me solution.
Thank you,
Regards,
Nilesh SheteHi Nilesh,
If you are not using workflow(the cleanest way), then you have two options.
<u>Option 1.</u>
Find a user exit that is as close to the 'SAVE' as possible. I found only one such user exit. SAPMF02K User exits: Vendor master data
Send an email out of this exit.
The only catch here is that, if the user has the ability to cancel after the call to this exit or the creation fails after the call, you will be sending an invalid message.
<u>Option 2.</u>
Let the purchasing create the vendor and you have another program that constantly monitors the change documents or LFA1 for newly created vendors and if found, sends out an email to the acc. dept.
Hope this helps,
Srinivas
Maybe you are looking for
-
Using null values to change text boxes
Very simple question I believe. I have a form with rows of data. All I want to do is say that if a given field in a row "description1" is not Null, then populate another field with a specified value. jA
-
The above error message, with (6) at its end, appears when I try to download AI CC. There are no fatal errors, just "optional" ones, but the program installation fails and there's no way to complete it without the optionals. I've seen this message
-
How to display the column header in two rows?
Hi Experts, I am using ALV_LIST_DISPLAY i neeed to display the column header in two rows.. How can i do that? Ex: purchase order i need to display "purchase" in one row and "order" in second row. Thanks in advance, Sarath.j
-
Please, someone help. I just need my email passwords. Everything has stopped working. Apple is ZERO help. I get constant dialog boxes asking for passwords. I've tried listing every password I've ever used at least 25-50 times, to no avail. Thank you.
-
[SOLVED] Redis php module ?
Hey everybody I tried to get phpbb and redis to work together. phpBB3 accepts a number of caches, most of them like memcache and apc has a relation to php on a package level. But redis does not seem to have that. So i talked with a guy on #redis and