Addition of custom fields in trade promotion through AET
Hi ,
I have added a custom field in trade promotion general data ( header) through AET .
its store in table crm_mktpl_attr. but its showing some error related to data base limit.
is their any other table like 'crmd_customer_h' in TPM to add custom fields.
please find the attach error file.
Thanks,
shreeram sahu
Hi Shreeram,
depends at which level of promotion you need those fields.
If they are all needed at header level, you have to do a custom development at component level and use a custom table to save the values of the fields.
Using AET the limit is fixed by standard as the error shows.
Regards,
Giacomo
Similar Messages
-
Getting error while adding a custom field (with input help) through AET
Hi All,
I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
One field is required to have the input search help f4 and autopopulates the second field
I am able to add one field(not requiring help) successfully through AET .
I have created one Zsearch_help in se11 and its successfully running while I am testing it
While adding fsecond field through AET,I need to enter following details as -
field label,search relevant ,serach help etc.
When I type the name of my 'Zsearch_help' against field search help it gives me following error
'Search help is not compatible'.
Please help me out.Kindly be detailed as I am new to SAP CRM.Thanks for very helpful reply. After implementing the suggested SAP note, I am able to see the getter and setter methods.
So one of my problem has got solved with your kind help:)
As per your another suggestion,I have created the enhanced fields without the search help from AET in the node BTAdminI with names Plant(ZZPLANT) and Storage Location(ZZStoarge_Loc).
Now I am facing below problem:
Since Plant needs to autopopulated by Storage Location (search Help ZOFI_SHLP_STORAGE_LOC),So I need to Implement Getter setter method.
I have written below code into Get_V_ZZStorage_Loc Method:
method GET_V_ZZSTORAGE_LOC.
DATA:
ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
ls_map-context_attr = 'ZZSTORAGE_LOC'.
ls_map-f4_attr = 'STORAGE_LOC'. (Storage_loc is the parameter defined in search help)
APPEND ls_map TO: lt_inmap, lt_outmap.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'ZOFI_SHLP_STORAGE_LOC1'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_callback
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
endmethod.
But its not working.Should I write some code in Get_P_XX or some other method also?
Kindly suggest . -
Error while adding a custom field with Input help via AET
Hi All,
I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
One field is required to have the input search help f4 and autopopulates the second field
I am able to add one field(not requiring help) successfully through AET .
I have created one Zsearch_help in se11 and its successfully running and Autopopulating seocnd field while I am testing it
While adding second field through AET,I need to enter following details as -
field label,search relevant ,serach help etc.
When I type the name of my 'Zsearch_help' against field search help it gives me following error
'Search help is not compatible'.
Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
Please help me out.Kindly be detailed as I am new to SAP CRM.
Thanks,
ShivaniThe question is answered in CRM 7.0 forum:
Getting error while adding a custom field (with input help) through AET -
To Update Custom field in mch1 table through MIGO Tcode
Dear champs,
I have added one custom field in mch1 table ( date ).
Now , In MIGO Tcode when i am doing posting, MCH1 table is also updated.
I want to know how to update my custom field in mch1 table at the time of posting.
Please tell me where to write logic to update mch1 table.
Regards,
Satyen TrivediHi Satyen,
what data has to be update in MCH1 table new field, for this did you added any screen or you want to implement your own custom logic.
1) if you implemented the screen , then you have to write logic there itself.
2) If you want to update through custom logic , then you takeup with the Enhancements or BADI.
Regards,
Krishna -
Addition of custom field in shopping cart at item level- SRM 7.0
Hi All
Can someone pls. let me know the step by step procedure for adding a custom field in the shopping cart at item level?
How is the field displayed in the portal screen and the settings for the same??
Also is this field available for manipulation through Business add-ins like other standard fields.
For e.g. I need to use the BADI BBP_CATALOG_TRANSFER to populate this new field.
Will it be available there once created?
Thanks
KedarHi Kedar
Here are the steps....
1. Create a Custom field in SRM and append it to SC table structures in SRM
2. Add this field to the Custom field config for meta data at Item level in IMG>SRM Server> Cross application basic settings> Extensionsand and field control> Configure field control --> Configure control of fields at item level
3. THen find the respective web dynpro application and component for the shopping cart portal UI screen where you want the field to appear. You can do this by right click on the screen area and then select More Field Help
4. Go to SE 80 and enhance the respective webdynpro view by adding the custom field to the Context of the VIew and then adding it to the layout of the view at respective location. After doing this create a binding between the layout field and the context.....
More information around ABAP UI Flexibility can be found at:
http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
Regards
Virender Singh -
Can auto Grouping PRs into RFX and also addition of custom fields of PRs
We are implementing SAP SRM 7 Strategic Sourcing .Our Deployment mode is classic.
PR is created in ERP .PR is having custom field called as expected cost.
We will process PRs in SOCO .
Question 1 :
We would like club PR into Rfx based on criterias.I Would like to know how we can do so .
Consider case I have 3 PR as PR1 , PR2 , PR3 .If criteria is matching then I would like to club them as
PR1 + PR2 = RFX.
Question 2 : While clubbing PR's and forming one Rfx from it , I would also like to add custom field expected cost
so exp cost 1 (PR1) + exp cost 2 (PR2) = target cost (Rfx ).How I can achieve this ?
Where I can write code .Would like to know such BAdi which will be helpful.
Question 3:
Can we Club PRs automatically and form Rfx? or Does SRM support only manual Grouping of PRs ?
If we can automatically club PRs based on criteria and form one Rfx ,How can it be done ?
<< Please do not offer points >>
Edited by: Rob Burbank on Sep 28, 2010 4:18 PMRegarding your Question 1 - if targeting manual grouping of items, you could do so by going through sourcing cockpit, select the proper items and group them together and create one RFx. This requires your own judgement with regard to grouping criteria.
Regarding your question 3, which is automatic grouping, you could configure first via IMG "Define sourcing for product category" by defining a set of product categories as "Auto. Grouping and creation of Bid Invitation item w/out source of supply". This would group SC items automatically for one RFx. However, if you need to restrict the grouping with further criteria, you could implement BADI BBP_TRANSFER_GROUP, which is to split the automatic grouping by the system.
Your question 2 can be achieved by implementing BADI BBP_DOC_CHANGE_BADI for RFX (BUS2200) (by referencing its parent PR information). -
Addition of custom fields in Contract and mapping it with the fields in SRM
Hi all,
A custom field should be added to bid invitation in SRM and mapped to a custom( Z field) field which is present on the contract header screen in R/3 backend. Is it possible to map these custom fields. The custom field which is in the backend contract is a mandatory field for creating a contract in the backend. It is not getting filled so the contract is not getting created in the backend. One solution which we thought of was to create a csutom field on bid invitation and pass the value of the custom field to backend by concatenating it to any of the standard field ehich is getting passed to the backend and then splitting the standard field and retrieving the custom field value and restoring the standard field value. If you think of any solution do let me know.
Regards,
AshaHi
Pls refer to the following thread for more details
Custom fields not display in SRM5.5 Basic Data Frame
Custom fields not display in SRM5.5 Basic Data Frame
Hope it helps.
Pls reward suitable points.
Regards
- Atul -
Adding custom field to BP Adress with AET
Hi experts.
I have to create several custom fields for the BP Adress, and when going through AET it proposes to create them in the BUT000 table, doesn't gives me another option.
As a BP is expected to have several addresses, this values can not be saved in BUT000, which we all know is where resides BP header data, and the BP number is primary key.
I'm not planning to need these fields in the webUI, they are only required for a massive initial load, and I'm using BAPI_BUPA_ADDRESS* function modules to update the address data.
Could you help me with your advice? Should I make an append structure to ADRC? How could that be reflected in the BAPIS structures I'm using to save the data?
Your help will be very appreciated my friends.
Cheers
MarcHI Marc,
I hope you are right and will work aswell.
Also, i have another suggestion: instead of extending the BAPI, you can update the ADRC values outside of Bapi. meaning...once the BP is created/udated, you will get BP number, with the bp number, BUT020, gives you the address numbers, with the address numbers you can udpate ADRC through FM "addr_update" if it is for Org, "addr_person_update" for person, "addr_cont_pers_update" for contact person.
Hope this helps.
Cheers, Satish -
Hello Friends,
To display the field on the View, we can create the field via 3 ways:
1) By creating the model attribute
2) By creating the model node using the GENIL object and using its attributes in view
3) Creating the field in Database structure using AET
But, i am not aware that in exactly what kind of business scenarios we use the above 3 methods to create the field.
Could you help me out to clarify the same.Hi Dev,
1). By creating the model attribute: we will use this option in case of the field is avaibla in stanadrd sap system. It might be in another under child context nodes and we will use BOL relations to access the attribute.
2). By creating the model node using the GENIL object and using its attributes in view: We will use this option incase of there is no standard provision to use. Means you want to create any custom assignment block with custom attributes then you can go for this option. More over we can use AET to create custom genil object. We have an option Create Table in AET.
3).Creating the field in Database structure using AET: We will use this option incase of there is no attribute in database relevant to your requirement then we will go for AET enhancement.
Hope this might give you little clarification..
Best Regards,
Dharmakasi. -
Save custom fields value in EKKO through ME21N
Hello Friends,
putting a new inputfield in the header of ME21N - PO transaction must be inserted within existing tabstrib "Additional Data".
This the new requirement.
I have used the enhancement "MM06E005". I have only implemented and activated the USEREXIT without writing
any code in any Function Module.
Additionally I have added through the screen painter (Function Pool MEGUI) into screen 1229 the customer
ZFIELD (Textinputfield).
I can see this field in the transaction ME21N, ME22N, ME23N but if I enter any value and save it. This Field has only 0000000 in the EKKO instaed of the entered value by me.
In the other transaction like ME21 ME22 ME23 this problem is not existing. I can save the enterd date without any problem.
I have already implemented the structure CI_EKKODB too. There is the zcustom field added.
I need your help for in how to save the data in EKKO with me21n.
Kindly Regards
MarcoDear Marco,
Dont use User Exit for this . Use the BADI's .If uses the USer Exit it will create u some probs at later stage.
There are 2 BADI's available for this.
1) ME_PROCESS_PO_CUST.
2) ME_GUI_PO_CUST.
1) ME_PROCESS_PO_CUST.This BADI is for Validating the PO at various Level. Methods for this BADI is
1.Open.
2.Initialize.
3.Process Header.
4.Process Item.
5.Check.
6.Post.
Etc.
So u can Validate the Entire PO ..
2. ME_GUI_PO_CUST.
Adding the Customer Own Screen to Enjoy Purchase Order.
The Process is that Just Create a Function Group with the Screen with Screen Which u want to Add to the Header Level.
Through this BADI u can add N Number of Screen to PO.
In the First Method of this BADI just Add the Screen. For Better Understanding goto the Sample Coding of Both BADI's.
With Regards,
Sumodh.P -
Cancel a trade promotion through CL_CRM_MKTPL_APPL_BASE
I have a requirement to develop a utility program to set user status of marketing project to cancel .
For setting status to cancel , i am using class CL_CRM_MKTPL_APPL_BASE .
I am passing project guid and user status code (for cancel) to method status_change_extern of above mentioned class .There are no exceptions returned and i am even calling method save_and_commit of the same class after this step .
Still the status is not changed . Any pointers on the issue would be appreciated !Hi Shreeram,
depends at which level of promotion you need those fields.
If they are all needed at header level, you have to do a custom development at component level and use a custom table to save the values of the fields.
Using AET the limit is fixed by standard as the error shows.
Regards,
Giacomo -
Addition of Custom Field in Shopping Cart
Requrement :
In the Item Detail screen on sources of supply tab add country field and inputbox & populate the inputbox with supplier country
when the Item Detail Screen is displayed
Steps I have followed :
1) Created Appende structure in INCL_EEW_PD_ITEM_CSF_SC structure
2) In the WebDynpro Component for corresponding view added the new field in context
3) Created label and inputBox in the view & binded the inputBox from context
4) Implemented the BADI BBP_CATALOG_TRANSFER and populated the field in the method ENRICH_ITEM_DATA
However, on SRM portal for shopping cart I see empty inputBox without the value.
What changes should I make so that I can see the value in inputBox? Please help.in the enrich item data method, which table are you populating?
moreover, are you making the ev_sc_structure_used (or something like that) field as 'X'. if you dont make it as 'X', it wont transfer fields from this BADI to the SC. -
Updating custom fields to MSEG through MIGO
Hi,
I got a requirement to add a tab with custom fields in MIGO transaction, which I did using BADI MB_MIGO_BADI
and requirement also says to extend table MSEG with custom fields and store the values in MSEG.
I have gone through example implimentation and updated MSEG in similar way. IS it a good approach to extend MSEG table? I read one thread says we can't extend MSEG table with custom fields. is it true?
Goods receipt will be done only through MIGO to restrict inconsistensies in material documents.
One more question.
How to restrict the additional custom screen to be displayed for particular action in MIGO?
ThanksHi,
Yes you can do it, i did it with the same BADI method to update to custom fields in MSEG table through MIGO transaction.
Here is the steps you need to follow :-
1. Create a append structure or you can use the CI include to add fields in MSEG table. I did it though append structure only.
2. Create a implementaion of MB_MIGO_BADI through SE18 or SE19 transaction.
3. Inplement the interface IF_EX_MB_MIGO_BADI methods, the details of interface implementaions are described below:-
Attribute
GV_VEND_LOT Instance Attribute Public Type CHAR1 'X' : Purchase order Type NB (Standard PO) found
GIT_MSEG Instance Attribute Public Type TY_T_MSEG Table MSEG
GV_BSART Instance Attribute Public Type ESART Purchasing Document Type
GV_GRMODE Instance Attribute Public Type CHAR1 X: Document is of Type GR with PO and Y : Document with Mat.
GWA_MSEG Instance Attribute Public Type MSEG Document Segment: Material
GC_CLASS_ID Constant Private Type MIGO_CLASS_ID Class ID for MIGO Components (External Detail Screen) 'ZIMP_MB_MIGO_BADI'
GV_LINE_ID Instance Attribute Private Type GOITEM-GLOBAL_COUNTER LINE_ID of Line Displayed in Detail
GIT_LINE_ID Instance Attribute Private Type /KYK/TRG_NUMC6 Range Table: NUMC6
GWA_LINE_ID Instance Attribute Private Type /KYK/SRG_NUMC6 Range Structure: NUMC6
GC_X Constant Private Type CHAR1 'X' : Select 'X'
GC_BSART Constant Private Type ESART Purchasing Document Type 'NB'
IF_EX_MB_MIGO_BADI~INIT
METHOD if_ex_mb_migo_badi~init.
IF gv_grmode = gc_x.
Regristration of BAdI-Implementation:
Append class attribute GF_CLASS_ID (='ZIMP_MB_MIGO_BADI') to
regristration table.
APPEND gc_class_id TO ct_init.
ENDIF.
ENDMETHOD.
IF_EX_MB_MIGO_BADI~PBO_DETAIL
METHOD if_ex_mb_migo_badi~pbo_detail.
Lines added to do display Vendor lot tab in the item level
Only for Purchase order type NB (Standard PO)
Local constants
DATA : lc_cprog TYPE sycprog VALUE 'ZMMM_MIGO_VENDOR_COO',
lc_dynnr TYPE sydynnr VALUE '0100'.
lc_heading TYPE migo_badi_heading VALUE 'Vendor Lot Number'.
Read Line item from buffer table
if sy-subrc =0 then only display vendor lot tab
READ TABLE git_line_id WITH KEY low = i_line_id
BINARY SEARCH TRANSPORTING NO FIELDS.
IF sy-subrc EQ 0 AND ( gv_grmode IS NOT INITIAL
AND gv_vend_lot = gc_x ).
e_cprog = lc_cprog. " Program name
e_dynnr = lc_dynnr. " Screen number
e_heading = text-001. " Tab Heading
gv_line_id = i_line_id. " line Item
ENDIF.
ENDMETHOD.
IF_EX_MB_MIGO_BADI~PAI_DETAIL
METHOD if_ex_mb_migo_badi~pai_detail.
IF gv_grmode IS NOT INITIAL AND gv_vend_lot = gc_x.
'X': The Method LINE_MODIFY Is Processed
e_force_change = gc_x.
Reset the Flag for next line item selection
CLEAR gv_vend_lot.
ENDIF.
ENDMETHOD.
IF_EX_MB_MIGO_BADI~LINE_MODIFY
METHOD if_ex_mb_migo_badi~line_modify.
IF cs_goitem-ebeln IS NOT INITIAL.
Look for Purchase order number from EKKO and get the Order Type.
If the Order type is NB (Standard PO) then set the flag GV_VEND_LOT.
SELECT SINGLE bsart FROM ekko INTO gv_bsart
WHERE ebeln = cs_goitem-ebeln.
IF sy-subrc EQ 0 AND gv_bsart = gc_bsart.
gv_vend_lot = gc_x.
IF NOT i_line_id IS INITIAL.
gwa_line_id-low = i_line_id.
ENDIF.
IF git_line_id IS NOT INITIAL.
SORT git_line_id BY low.
ENDIF.
READ TABLE git_line_id WITH KEY
low = i_line_id BINARY SEARCH
TRANSPORTING NO FIELDS.
IF sy-subrc <> 0 AND gwa_line_id IS NOT INITIAL.
APPEND gwa_line_id TO git_line_id.
ENDIF.
ELSE.
CLEAR gv_vend_lot.
ENDIF.
CLEAR : gv_bsart,
gwa_line_id.
ENDIF.
*************Buffer MSEG table with custom fields **********************
*Item is Adopted in Document
IF NOT cs_goitem-take_it IS INITIAL.
CLEAR gwa_mseg.
MOVE-CORRESPONDING cs_goitem TO gwa_mseg.
APPEND gwa_mseg TO git_mseg.
ENDIF.
ENDMETHOD.
METHOD if_ex_mb_migo_badi~post_document.
Delete duplicate line item if avail in GIT_MSEG table
SORT git_mseg BY zeile.
DELETE ADJACENT DUPLICATES FROM git_mseg COMPARING zeile.
To access these valu in Ennhancement Spot ZENHIMPL_MM_MB_MIGO_BADI_MB
EXPORT : git_mseg FROM git_mseg TO MEMORY ID 'GIT_MSEG',
gv_grmode FROM gv_grmode TO MEMORY ID 'GV_GRMODE'.
Refresh all class content
CLEAR : gv_vend_lot,
gv_bsart,
gv_grmode,
gwa_mseg,
gv_line_id,
gwa_line_id.
REFRESH : git_mseg,
git_line_id.
ENDMETHOD.
METHOD if_ex_mb_migo_badi~mode_set.
Local Constants
DATA : lc_a01 TYPE goaction VALUE 'A01', " Goods Receipt
lc_r01 TYPE refdoc VALUE 'R01', " Purchase order
lc_a04 TYPE goaction VALUE 'A04', " Display
lc_r02 TYPE refdoc VALUE 'R02', " Material Document
lc_y TYPE char1 VALUE 'Y'. " Indicator for Display material document
Set mode variable for Good Receipt with Purchase order
IF i_action = lc_a01 AND i_refdoc = lc_r01.
gv_grmode = gc_x.
ELSEIF i_action = lc_a04 AND i_refdoc = lc_r02.
Set mode variable for Good Receipt with Purchase order
gv_grmode = lc_y.
ELSE.
CLEAR gv_grmode.
ENDIF.
ENDMETHOD.
METHOD if_ex_mb_migo_badi~publish_material_item.
IF ls_goitem-ebeln IS NOT INITIAL.
Look for Purchase order number from EKKO and get the Order Type.
If the Order type is NB (Standard PO) then set the flag GV_VEND_LOT.
This method is used to material document display
SELECT SINGLE bsart FROM ekko INTO gv_bsart
WHERE ebeln = ls_goitem-ebeln.
IF sy-subrc EQ 0 AND gv_bsart = gc_bsart.
gv_vend_lot = gc_x.
IF NOT ls_goitem-zeile IS INITIAL.
gwa_line_id-low = ls_goitem-zeile.
ENDIF.
IF git_line_id IS NOT INITIAL.
SORT git_line_id BY low.
ENDIF.
READ TABLE git_line_id WITH KEY
low = ls_goitem-zeile BINARY SEARCH
TRANSPORTING NO FIELDS.
IF sy-subrc <> 0 AND gwa_line_id IS NOT INITIAL.
APPEND gwa_line_id TO git_line_id.
ENDIF.
ELSE.
CLEAR gv_vend_lot.
ENDIF.
CLEAR : gv_bsart,
gwa_line_id.
ENDIF.
ENDMETHOD.
METHOD modify_mseg.
DATA : lwa_mseg TYPE mseg.
Check if buffer MSEG table is not initial
and mode is GR with PO then only update XMSEG from GIT_MSEG
IMPORT : git_mseg TO git_mseg FROM MEMORY ID 'GIT_MSEG',
gv_grmode TO gv_grmode FROM MEMORY ID 'GV_GRMODE'.
IF git_mseg IS NOT INITIAL
AND gv_grmode = gc_x.
SORT git_mseg BY zeile.
LOOP AT xy_mseg INTO lwa_mseg.
Identify the record and update XMSEG
CLEAR gwa_mseg.
READ TABLE git_mseg
INTO gwa_mseg
WITH KEY zeile = lwa_mseg-zeile BINARY SEARCH.
IF sy-subrc EQ 0.
MODIFY xy_mseg FROM gwa_mseg
TRANSPORTING zvendlot zcoo WHERE zeile = gwa_mseg-zeile.
ENDIF.
CLEAR lwa_mseg.
ENDLOOP.
Reset buffer table and mode
REFRESH git_mseg.
CLEAR gv_grmode.
ENDIF.
Free memory ids
FREE MEMORY ID : 'GIT_MSEG',
'GV_GRMODE'.
ENDMETHOD.
4. Now go to the function module MB_POST_GOODS_MOVEMENT andcall the method modify_msegfrom the implemented class ZCL_IM__MB_MIGO_BADI.
ENHANCEMENT 110 ZENHIMPL_MM_MB_MIGO_BADI_MB. "active version
Data declaration for badi method
Data : lo_ZCL_IM__MB_MIGO_BADI TYPE REF TO ZCL_IM__MB_MIGO_BADI.
CREATE OBJECT lo_ZCL_IM__MB_MIGO_BADI.
if sy-subrc eq 0 and xmseg[] is NOT INITIAL.
CALL METHOD lo_zcl_im__mb_migo_badi->modify_mseg
CHANGING
xy_mseg = xmseg[].
endif.
ENDENHANCEMENT.
Regards,
Dhirendra Pandit -
Update EKKO table for the custom field through BAPI
Hi Experts,
I need to create an Custom field in EKKO table through Include Structure.
Now I have to update that custom field in my program.
I have gone through the following but could not solve my question.
Update EKKO table
User Exit for ME21 PO Creation at the time of saving--Urgent
I don't need to update when I hit the save button or any thing
I have the PO's which needs to be updated with that field...
Any suggestions would be greatly helpful.
Thanks,
Chaithanya...
<removed_by_moderator>
Edited by: Julius Bussche on Jul 7, 2008 10:47 PMHi Patrick,
Sorry Patrick you are right.. The structure is at header level.
I have made the changes still I could not achieve it.
I have made the following
In EKKO table I have append the structure with a custom field ZZBUY.
Now I have also appended BAPI_TE_MEPOHEADER and BAPI_TE_MEPOHEADERX with the custom field
ZZBUY.
Here is my program
Data: wa_bapi_poheader type BAPIMEPOHEADER,
wa_bapi_poheaderx type BAPIMEPOHEADERX.
Data: it1_bapi_poheader like BAPI_TE_MEPOHEADER,
it1_bapi_poheaderx like BAPI_TE_MEPOHEADERX.
CALL FUNCTION 'BAPI_PO_GETDETAIL1'
EXPORTING
PURCHASEORDER = wa_DATA-ebeln
* ACCOUNT_ASSIGNMENT = ' '
* ITEM_TEXT = ' '
* HEADER_TEXT = ' '
* DELIVERY_ADDRESS = ' '
* VERSION = ' '
* SERVICES = ' '
IMPORTING
POHEADER = wa_bapi_poheader
* POEXPIMPHEADER =
TABLES
RETURN = it_bapireturn
it1_bapi_poheader-ZZBUY = 'X'.
it1_bapi_poheaderx-ZZBUY = 'X'.
it_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
it_extensionin-valuepart1 = it1_bapi_poheader.
append it_extensionin.
Clear it_extensionin.
it_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
it_extensionin-valuepart1 = it1_bapi_poheaderx.
append it_extensionin.
Clear it_extensionin.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
PURCHASEORDER = wa_data-ebeln
POHEADER = wa_bapi_poheader
POHEADERX = wa_bapi_poheaderx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* IMPORTING
* EXPHEADER =
* EXPPOEXPIMPHEADER =
TABLES
RETURN = it_bapireturn
* POITEM =
* POITEMX =
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
EXTENSIONIN = it_extensionin
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
* POCOMPONENTS =
* POCOMPONENTSX =
* POSHIPPING =
* POSHIPPINGX =
* POSHIPPINGEXP =
* POHISTORY =
* POHISTORY_TOTALS =
* POCONFIRMATION =
It gives me messages saying that
Please also populate interface parameter POHEADERX
No data changed
Where am I going wrong..
Waiting for your replies....
Thanks,
Chaitanya -
Custom Field in the header of Shopping Cart
Dear all,
We have to add a Custom field on the header of the Shopping Cart which will have three values.
This field has to flow thru the Bid invitation, Contract and the PO ...
Can anybody provide the technical details of the same ?? Which all are the structures to be changed ?
Thanks in Advance ...
Regards,
Vivek KHi
To add custom fields to the shopping cart, please try this process ->
Please refer to these SAP OSS notes ->
<u>Note 458591 - User-defined fields: Preparation and use
Note 672960 - User-defined fields 2
Note 822424 - CUF. Customer fields cannot be changed in the bid
Note 809630 - Customer field in bid invitation and bid - How does it work?
Note 809628 - Table like customer fields from bid invitation in bid
Note 798731 - Bid: Bid Inv. Customer fields not visible
Note 762984 - SRM40-SUS: Implementation of customer enhancement fields</u>
Please go through the documentation of following 3 Business Add-Ins using SE18 transaction.
BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
BBP_CUF_BADI-Customer Fields. Call-up of User-Defined Screen
BBP_CUF_BADI_2-Customer Fields. Use of Standard Table Control
Please refer to these links for details ->
<b>Re: MAP USer SRM defined fields in backend for PO
Re: HI SRM experts...
Custom fields to a Bid Invitation
Addition of custom fields in Contract and mapping it with the fields in SRM
urgent help request - How to add custom fields to header BID.
Re: Add custom fields to Contract Transaction in SRM 4.0
Custom Fields
custom fields in Carry out sourcing screen..
Custom Fields Not Display In Basic Data In SRM 5.5 Server..
Regards
- Atul
Maybe you are looking for
-
External iSight on MacBook Pro - but not in iChat!
Hello all, I'm considering the purchase of an iSight camera on ebay to use on my MacBook pro. Does the Mac fully recognize the camera across all applications? For example, Yahoo Messenger, Skype, QuickTime Pro, etc., etc., etc. Does it recognize it a
-
How to open .db files from a Nokia on PC (Windows ...
Hello, Could you help me with opening/converting .db files from a Nokia. The files look like this: data0.db. I tried Access, Paradox, SQLite Manager, but nothing works. Here is one of the files: http://rapidshare.com/files/447616162/Data2.db Thank yo
-
Getting duplicate emails?
I just started receiving duplicates of the same email? I hope there is a easy solution. thanks.help!
-
Converting video files to mp4 for nano 3rd gen
I'm trying to find a quick, easy, hassle free way of converting video files such as mpg and avi to mp4 so that i can watch them on my new ipod nano. Anyone got any suggestions and ideas?
-
[b]Oracle 8.1.7 corrpted file[/b]
hi there, I have recently downloaded Oracle 8.1.7 Enterprise Edition and the installation stops as soon as it tries to unzip a file called : products.rar( or some name like this). Is there any othere site were I can download Oracle 8.1.7 And as I wil