Search found 258 matches

by stjacqd
Tue May 01, 2018 4:17 pm
Forum: Logistics MM
Topic: MM17 - numeric ZFIELD initialization
Replies: 0
Views: 1014

MM17 - numeric ZFIELD initialization

Hello Gurus I am facing a strange issue with tcode MM17. (MASS CHANGE) A numeric ZFIELD has been added to the MARA table structure. From MM17, (Fields section) we can select the Zfield and perform a mass change on it as far as we are not trying to put 0 as value. If we are adding any value else than...
by stjacqd
Mon Nov 13, 2017 5:22 pm
Forum: ABAP
Topic: FM CO_SD_SETTLEMENT_RULES_UPDATE
Replies: 2
Views: 757

Re: FM CO_SD_SETTLEMENT_RULES_UPDATE

Regardless of the function that doesnèt respond to my need,

Is anyone know how to update Production Order settlement

I need to update the quantity through a customized program.

Regards
stjacqd
by stjacqd
Wed Nov 01, 2017 2:17 pm
Forum: ABAP
Topic: FM CO_SD_SETTLEMENT_RULES_UPDATE
Replies: 2
Views: 757

Re: FM CO_SD_SETTLEMENT_RULES_UPDATE

I have just noticed the function CO_SD_SETTLEMENT_RULES_UPDATE doesn't contain any parameter to pass the table "RESB" where this one contains the components. The function cannot be used to update settlement rules. Or, other functions have to be ran before it. If anyone has an idea on how we can upda...
by stjacqd
Wed Nov 01, 2017 2:03 pm
Forum: ABAP
Topic: FM CO_SD_SETTLEMENT_RULES_UPDATE
Replies: 2
Views: 757

FM CO_SD_SETTLEMENT_RULES_UPDATE

Hello everyone I am trying to update the Production Order settlement values. I found the following function CO_SD_SETTLEMENT_RULES_UPDATE but have no clue how to fill the parameters. Is anyone already used that function? Can we change the settlement quantity with it? If not, which function/BAPI we s...
by stjacqd
Thu Oct 26, 2017 4:43 pm
Forum: ABAP
Topic: IBAPI_ALM_ORDERSRULE_CHANGE update production order settleme
Replies: 0
Views: 1110

IBAPI_ALM_ORDERSRULE_CHANGE update production order settleme

Hello guys I need to update the quantity of the settlement in the production order. Tcode CO02 - Header - Settlement rule I neeed to update the quantity of the items. The IBAPI_ALM_ORDERSRULE_CHANGE should do it but I continuously failing to use it. DATA: ls_COBL TYPE BAPI_ALM_ORDER_COBL, ls_COBL_UP...
by stjacqd
Fri Oct 20, 2017 3:15 pm
Forum: ABAP
Topic: BAPI / FM to update Production order batch field
Replies: 0
Views: 1158

BAPI / FM to update Production order batch field

Hello everyone Some FM are available to update batch in the component level of a production order. CO_XT_COMPONENT_CHANGE CO_XT_ORDER_PREPARE_COMMIT But none of the BAPI and FM seems to have the field "AFPO-CHARG" available to update at the item level. CO_BI_AFPO_UPD doesn't work. It always returnin...
by stjacqd
Wed Oct 11, 2017 10:00 am
Forum: Logistics SD
Topic: Sales Order item Detail Characteristics - UserExit
Replies: 3
Views: 2556

Re: Sales Order item Detail Characteristics - UserExit

Hello Sharpshooter

Than you for your reply.

Can you please develop your suggestion?

I don't understand your approach.

What do you mean by "create reference characteristics pointing to the vbap fields"?

Regards
by stjacqd
Wed Oct 11, 2017 9:55 am
Forum: ABAP
Topic: WORKORDER_UPDATE AT_RELEASE
Replies: 0
Views: 1036

WORKORDER_UPDATE AT_RELEASE

Hello everyone I am looking to implement the BADI WORKORDER_UPDATE method AT_RELEASE. From the method "AT_RELEASE", I need to update some fields of the Production order header and component. The BADI doesn't contain any information related to the component of the production order. How can I change t...
by stjacqd
Wed Sep 13, 2017 7:52 am
Forum: Logistics SD
Topic: Sales Order item Detail Characteristics - UserExit
Replies: 3
Views: 2556

Sales Order item Detail Characteristics - UserExit

Hello everyone I would like to know which, in VA01/VA02, user-exit and internal tables can be used to change the item detail characteristics values before save. I try to find an internal table containing the characteristics values in the MV45AZZ form userexit_save_document_prepare without success. T...
by stjacqd
Tue Aug 29, 2017 8:04 am
Forum: ABAP
Topic: BAPI_SALESORDER_GETDETAILBOS - ordercfgscurefs table
Replies: 0
Views: 1101

BAPI_SALESORDER_GETDETAILBOS - ordercfgscurefs table

Hello everyone When running the FM BAPI_SALESORDER_GETDETAILBOS, the table ordercfgscurefs field CONFIG_ID doesn't start by 000001. When I am running the function and passing the SO number (vbak-vbeln), the itab, field config_id begin with 000003 or any other number. What happen with the 1 and 2? Wh...
by stjacqd
Tue Aug 29, 2017 7:56 am
Forum: ABAP
Topic: BAPI_SALESORDER_CHANGE : Characteristics
Replies: 3
Views: 2113

Re: BAPI_SALESORDER_CHANGE : Characteristics

Again for the benefits of all The problem was related to 2 facts. BAPI_SALESORDER_CHANGE: 1. The field config_id in Itab order_cfgs_ref, order_cfgs_inst and order_cfgs_value most be unique for the posnr. So, be sure to not assign the same config_id to 2 different posnr. 2. The field po_itm_no of ita...
by stjacqd
Thu Aug 24, 2017 10:50 am
Forum: SAPscript/Smartforms
Topic: AdobeForm Print several records on 1 row
Replies: 1
Views: 2337

Re: AdobeForm Print several records on 1 row

For benefits of all

The serial number should be in a flowed western form left to right.
by stjacqd
Thu Aug 24, 2017 10:47 am
Forum: SAPscript/Smartforms
Topic: Adobe dynamic paper size and margin
Replies: 1
Views: 4177

Re: Adobe dynamic paper size and margin

For the benefits of all. To be able to have several paper size and margin in Adobe, you need to create several master pages. One master page per paper size. When calling the adobe form, you just need to add a parameter to idendify which paper size you want to use. From there a little piece of formca...
by stjacqd
Thu Aug 24, 2017 10:44 am
Forum: ABAP
Topic: BAPI_SALESORDER_CHANGE : Characteristics
Replies: 3
Views: 2113

Re: BAPI_SALESORDER_CHANGE : Characteristics

Now another problem occured. When we are creating a new item, the configuration is not copied. I then try to create a new configuration using FM CUXI_SET_SINGLE_CONFIGURATION and CUKO_CONFIGURATION_TO_DB where that has generated the Ibase number to assign to VBAP-CUOBJ. But the FM BAPI_SALESORDER_CH...
by stjacqd
Wed Aug 23, 2017 3:48 pm
Forum: ABAP
Topic: BAPI_SALESORDER_CHANGE : Characteristics
Replies: 3
Views: 2113

Re: BAPI_SALESORDER_CHANGE : Characteristics

For the benefits of all. The dump is an SAP issue. S4/HANA ======== When a sales order item has been deleted, it is no longer mark as deletion, it is physically deleted from vbap. The dump occured when the same posnr is used by the same item again. So, don't make a mistake by deleting a SO item and ...